<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dilip R on Medium]]></title>
        <description><![CDATA[Stories by Dilip R on Medium]]></description>
        <link>https://medium.com/@diliprc96?source=rss-bc9b99a2d60------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*HjfZ1TWoISX6hRKF.jpg</url>
            <title>Stories by Dilip R on Medium</title>
            <link>https://medium.com/@diliprc96?source=rss-bc9b99a2d60------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 06:32:23 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@diliprc96/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Getting Started with Google’s Open‑Source Gemma‑4: A Developer’s Guide]]></title>
            <link>https://medium.com/@diliprc96/getting-started-with-googles-open-source-gemma-4-a-developer-s-guide-f1c623c8bb6d?source=rss-bc9b99a2d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1c623c8bb6d</guid>
            <category><![CDATA[gemma-4]]></category>
            <category><![CDATA[developer-tools]]></category>
            <category><![CDATA[generative-ai-tools]]></category>
            <category><![CDATA[open-source]]></category>
            <category><![CDATA[google-ai]]></category>
            <dc:creator><![CDATA[Dilip R]]></dc:creator>
            <pubDate>Fri, 03 Apr 2026 04:11:52 GMT</pubDate>
            <atom:updated>2026-04-03T04:11:52.408Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>Gemma-4 was officially released by <a href="https://deepmind.google/">Google DeepMind</a> on <strong>April 2, 2026 </strong>as its latest open‑source large language model. This marks a significant step forward in making cutting‑edge AI research accessible to developers, researchers, and enterprises worldwide.</p><p>Gemma‑4 builds on the success of earlier Gemma models, offering massive context windows, improved reasoning abilities, and support for structured outputs. With model sizes ranging from 26B to 31B parameters, it’s designed to handle real‑world tasks like document summarization, tool‑augmented workflows, and data extraction at scale.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8RxzqADew-rNRp8V.jpg" /><figcaption>These models were evaluated against a large collection of different datasets and metrics to cover different aspects of text generation.</figcaption></figure><p>See additional benchmarks in our <a href="https://ai.google.dev/gemma/docs/core/model_card_4">model card</a>.</p><p>For developers, the open‑source release means you can now experiment with Gemma‑4 locally or via API, integrate it into your pipelines, and adapt it for production use cases.</p><p>But getting started with a new model can feel overwhelming — from environment setup to understanding its capabilities.<br>That’s where this guide comes in. I’ve prepared a <a href="https://github.com/diliprc96/gemma4-getting-started.git">Gemma‑4 Getting Started repository</a> with scripts and notebooks that walk you through:<br>• QuickStart examples (API + local inference)<br>• Reasoning and tool‑use demos<br>• Long‑context analysis<br>• Structured output with Pydantic validation</p><p>Whether you’re an AI engineer, data scientist, or just curious about the latest in open‑source LLMs, this article will help you set up Gemma‑4 and start building with confidence.</p><h3>What is Gemma‑4?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*l8HRUXeOzryYnkdF.png" /><figcaption>Open model performance vs size on <a href="http://arena.ai/">Arena.ai</a>’s chat arena as of 4/1.</figcaption></figure><p><strong>Gemma‑4</strong> is Google’s latest open‑source large language model, released in 2026 as part of the Gemma family. It comes in multiple sizes — including <strong>26B</strong> and <strong>31B parameter variants</strong> — and is designed to deliver strong reasoning, tool‑use, and long‑context capabilities while remaining lightweight enough for developers to experiment with locally or via API.</p><p>What makes Gemma‑4 stand out is its <strong>efficiency at smaller scales</strong>. As the performance vs. size benchmarks show, Gemma‑4 achieves Elo scores comparable to much larger models, proving that you don’t always need hundreds of billions of parameters to get state‑of‑the‑art results. This balance of performance and accessibility makes it ideal for real‑world applications like:</p><ul><li>Document summarization</li><li>Data extraction and structuring</li><li>Agentic workflows with external tools</li><li>Educational and enterprise content generation</li></ul><p>For a deeper dive into the release, benchmarks, and technical details, check out Google’s official announcement: <a href="https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/?utm_campaign=gemma4&amp;utm_medium=email&amp;utm_source=newsletter">Gemma‑4 on Google Blog</a>.</p><h3>Setting Up Your Environment</h3><p>Before you start experimenting with Gemma‑4, you’ll need to set up a simple Python environment. The process is lightweight and takes only a few minutes.</p><h3>1. Install Dependencies</h3><p>Run the following in your terminal:</p><pre>pip install google-genai python-dotenv pydantic</pre><ul><li>google-genai → official client for interacting with Gemma‑4</li><li>python-dotenv → loads your API key securely from a .env file</li><li>pydantic → validates structured outputs (optional but recommended for production)</li></ul><h3>2. Configure Your API Key</h3><p>Create a .env file in your project root and add:</p><pre>GOOGLE_API_KEY=your_api_key_here</pre><p>This keeps your credentials safe and separate from code.</p><h3>3. Initialize the Client</h3><p>In your notebook or script, load the environment and create a client:</p><pre>from google import genai<br>from dotenv import load_dotenv<br><br>load_dotenv()<br>client = genai.Client()</pre><p>With this setup complete, you’re ready to explore Gemma‑4’s capabilities — from reasoning and tool‑use to long‑context analysis and structured outputs.</p><h3>Reasoning with Gemma‑4</h3><p>One of the standout features of Gemma‑4 is its ability to <strong>reason step by step</strong>. Instead of simply outputting an answer, the model can break down problems into logical stages, making its thought process transparent. This is especially useful for tasks like math, logic puzzles, or structured decision‑making where you want to see <em>how</em> the answer was derived.</p><h3>Example: Step‑by‑Step Math</h3><pre># Reasoning demo: step-by-step math<br>prompt = &quot;&quot;&quot;Solve this step by step:<br>If a train travels 90 km in 1.5 hours, what is its average speed in km/h?&quot;&quot;&quot;<br><br>response = client.models.generate_content(<br>    model=&quot;models/gemma-4-26b-a4b-it&quot;,<br>    contents=prompt<br>)<br><br>print(response.text)</pre><h3>What to Expect</h3><p>Gemma‑4 doesn’t just return 60 km/h. Instead, it explains:</p><ul><li>Distance = 90 km</li><li>Time = 1.5 hours</li><li>Speed = Distance ÷ Time = 90 ÷ 1.5 = 60 km/h</li></ul><p>This kind of <strong>transparent reasoning</strong> makes it easier to trust the model’s outputs and adapt them for real‑world applications.</p><h3>Tool‑Use with Gemma‑4</h3><p>Beyond reasoning, Gemma‑4 can also <strong>signal when external tools should be invoked</strong>. This makes it more “agentic” — instead of trying to solve everything internally, the model knows when to call a helper function like a calculator, database lookup, or API.</p><h3>Example: Calculator Integration</h3><pre># Tool-use demo: instruct model to call calculator<br>import re<br><br>def calculator(expression: str) -&gt; float:<br>    return eval(expression)<br><br>prompt = &quot;&quot;&quot;You can use a calculator tool.<br>Solve: If a car travels 150 km in 3 hours, output &lt;calc&gt;150/3&lt;/calc&gt;.&quot;&quot;&quot;<br><br><br>response = client.models.generate_content(<br>    model=&quot;models/gemma-4-26b-a4b-it&quot;,<br>    contents=prompt<br>)<br><br><br>print(&quot;Model output:&quot;, response.text)<br>match = re.search(r&quot;&lt;calc&gt;(.*?)&lt;/calc&gt;&quot;, response.text)<br><br>if match:<br>    expr = match.group(1)<br>    print(&quot;Calculator result:&quot;, calculator(expr))</pre><h3>What to Expect</h3><ul><li>The model outputs a tag like &lt;calc&gt;150/3&lt;/calc&gt; instead of just the answer.</li><li>Your code intercepts this tag, evaluates the expression, and returns the correct result (50 km/h).</li><li>This pattern can be extended to other tools — for example, calling APIs, databases, or custom functions.</li></ul><p>By combining Gemma‑4’s reasoning with tool‑use, you can build <strong>hybrid workflows</strong> where the model orchestrates logic but relies on external systems for precise calculations or data retrieval.</p><h3>Long‑Context Analysis with Gemma‑4</h3><p>A major upgrade in Gemma‑4 is its ability to handle <strong>very large context windows</strong>. This means you can feed the model entire documents — dozens or even hundreds of pages — and still get coherent summaries, insights, or structured outputs.</p><p>For developers, this unlocks use cases like:</p><ul><li>Summarizing research papers or technical manuals</li><li>Extracting key facts from long reports</li><li>Analyzing logs or transcripts without chunking everything manually</li></ul><h3>Example: Summarizing a Long Passage</h3><pre># Long-context demo: analyze a long passage<br>long_text = &quot;&quot;&quot;Artificial intelligence is transforming industries...<br>(you can paste a few paragraphs or a document excerpt here)&quot;&quot;&quot;<br><br>prompt = f&quot;&quot;&quot;Analyze the following text:<br>1. Summarize in 3 sentences<br>2. List domains of application<br>3. Mention challenges<br>4. Give one recommendation<br>Text:<br>{long_text}&quot;&quot;&quot;<br><br><br>response = client.models.generate_content(<br>    model=&quot;models/gemma-4-26b-a4b-it&quot;,<br>    contents=prompt<br>)<br><br>print(response.text)</pre><h3>What to Expect</h3><p>Gemma‑4 will:</p><ul><li>Condense the long text into a short summary</li><li>Identify domains where the content applies</li><li>Highlight challenges or limitations</li><li>Suggest actionable recommendations</li></ul><p>This ability to <strong>retain and reason over long inputs</strong> makes Gemma‑4 especially powerful for enterprise and research workflows where context matters.</p><h3>Structured Output with Pydantic</h3><p>While free‑form text is useful, many real‑world applications require <strong>structured data</strong> — for example, JSON objects that can be inserted into databases, APIs, or downstream pipelines. Gemma‑4 can generate JSON directly, but raw outputs may include formatting quirks (like Markdown fences or extra text). That’s where <strong>Pydantic</strong> comes in: it validates and cleans the model’s output, ensuring production‑ready reliability.</p><h3>Example: Product Extraction</h3><pre># Structured output demo: enforce schema with Pydantic<br>import json, re<br>from pydantic import BaseModel, field_validator<br>from typing import List<br><br>class Product(BaseModel):<br>    product_name: str<br>    price: float<br>    features: List[str]<br>    warranty: str<br>    @field_validator(&quot;price&quot;, mode=&quot;before&quot;)<br>        @classmethod<br>        def parse_price(cls, v):<br>            if isinstance(v, str):<br>                match = re.search(r&quot;[\d\.]+&quot;, v)<br>                if match:<br>                    return float(match.group(0))<br>            return v<br><br><br>product_text = &quot;&quot;&quot;Introducing the UltraClean Vacuum 3000...<br>Currently priced at $249.99 USD with a 2-year warranty included.&quot;&quot;&quot;<br>prompt = f&quot;&quot;&quot;Extract product_name, price, features, warranty from this text.<br>Return ONLY valid JSON.<br>Text:<br>{product_text}&quot;&quot;&quot;<br><br><br>response = client.models.generate_content(<br>    model=&quot;models/gemma-4-26b-a4b-it&quot;,<br>    contents=prompt<br>)<br><br># Strip markdown fences if present<br>clean_output = re.sub(r&quot;^```json\s*|\s*```$&quot;, &quot;&quot;, response.text.strip(), flags=re.MULTILINE)<br>structured_data = json.loads(clean_output)<br>product = Product(**structured_data)<br>print(product)</pre><h3>What to Expect</h3><ul><li>Gemma‑4 outputs JSON with product details.</li><li>Regex cleanup removes Markdown fences (```json ... ```).</li><li>Pydantic validates the schema, ensuring price is a float and all fields are present.</li></ul><p>This workflow transforms Gemma‑4 from a text generator into a <strong>data pipeline component</strong>, capable of producing safe, validated outputs for enterprise use.</p><h3>Notebooks Showcase</h3><p>All of the demos you’ve seen — reasoning, tool‑use, long‑context analysis, and structured output — are available in a single <strong>Gemma‑4 Showcase Notebook</strong> within the repository.</p><p>The notebook is designed to:</p><ul><li>Provide a guided, step‑by‑step walkthrough of Gemma‑4’s capabilities</li><li>Make it easy for developers to run cells interactively without juggling multiple files</li><li>Serve as a quick reference when adapting these examples into real projects</li></ul><p>This way, you can explore Gemma‑4 hands‑on, experiment with the code, and immediately see how each feature works in practice.</p><h3>Real‑World Applications of Gemma‑4</h3><p>Gemma‑4 isn’t just a research model — its capabilities translate directly into practical workflows across industries. Here are a few examples where developers can put it to work:</p><ul><li><strong>E‑commerce</strong><br>Extract product details from descriptions, validate structured data with Pydantic, and feed clean JSON into catalogs or recommendation engines.</li><li><strong>Engineering &amp; Operations</strong><br>Analyze long technical logs or maintenance reports, summarize key issues, and highlight actionable insights without manual parsing.</li><li><strong>Education</strong><br>Generate adaptive learning materials, explain concepts step by step, and provide structured outputs for quizzes or flashcards.</li><li><strong>Enterprise Knowledge Management</strong><br>Summarize lengthy policy documents, extract compliance requirements, and create structured datasets for internal tools.</li></ul><p>By combining <strong>reasoning</strong>, <strong>tool‑use</strong>, <strong>long‑context analysis</strong>, and <strong>structured outputs</strong>, Gemma‑4 becomes more than a text generator — it’s a versatile component for building reliable, developer‑facing AI solutions.</p><h3>Conclusion &amp; Next Steps</h3><p>With the release of <strong>Gemma‑4</strong>, Google has made state‑of‑the‑art reasoning, tool‑use, long‑context analysis, and structured output capabilities accessible to developers everywhere. What sets Gemma‑4 apart is its balance of <strong>performance and efficiency</strong> — delivering results comparable to much larger models while remaining lightweight enough to experiment with locally or via API.</p><p>In this guide, we walked through:</p><ul><li>Setting up your environment</li><li>Running QuickStart examples</li><li>Exploring reasoning, tool‑use, long‑context, and structured outputs</li><li>Seeing how these demos translate into real‑world applications</li></ul><p>All of these examples are available in the <strong>Gemma‑4 Showcase Notebook</strong> within the repository, so you can run them interactively and adapt them to your own projects.</p><h3>🔗 Explore More</h3><ul><li><strong>GitHub Repository</strong>: gemma4-getting-started (<a href="https://github.com/diliprc96/gemma4-getting-started.git">gemma4-getting-started</a>)</li><li><strong>Google Blog Announcement</strong>: <a href="https://blog.google/innovation-and-ai/technology/developers-tools/gemma-4/?utm_campaign=gemma4&amp;utm_medium=email&amp;utm_source=newsletter">Gemma‑4 Release</a></li><li><strong>Medium Article Series</strong>: Stay tuned for deeper dives into production workflows and advanced integrations.</li><li><strong>LinkedIn Post</strong>: Join the discussion and share how you’re using Gemma‑4 in your projects.</li></ul><p>💡 <em>Tip</em>: Start small — run the QuickStart demo, then expand into reasoning and structured outputs. Once you’re comfortable, experiment with long‑context analysis and tool‑use to build hybrid workflows. Gemma‑4 is open‑source, powerful, and ready to be part of your next AI solution.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1c623c8bb6d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dissecting Large Language Models — Part 2.1: The Intuition of Vectors]]></title>
            <link>https://medium.com/@diliprc96/dissecting-large-language-models-part-2-1-the-intuition-of-vectors-7c28c697aaf7?source=rss-bc9b99a2d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/7c28c697aaf7</guid>
            <category><![CDATA[word-embeddings]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[transformers]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Dilip R]]></dc:creator>
            <pubDate>Thu, 15 Jan 2026 18:45:38 GMT</pubDate>
            <atom:updated>2026-01-15T18:51:49.334Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dissecting Large Language Models — Part 2.1: <strong>The Intuition of Vectors</strong></h3><p>In <a href="https://medium.com/@diliprc96/dissecting-large-language-models-part-1-tokens-5980352cd2eb"><strong><em>Part 1 of this series</em></strong></a>, we saw how raw text is broken into tokens using different tokenization strategies. Now that you’ve mastered how text is broken down, the next logical question is <strong><em>“how does the model know what the “tokens” actually mean?”</em></strong><em>. </em>To answer that, we have to look at the heart of every embedding: the <strong>Vector.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*y7yos9ophHFj0Dm1blazZQ.png" /></figure><h4>From Tokens to Meaning</h4><p>Most of you likely learned about vectors in school, perhaps solving physics problems or geometry proofs. But have you ever truly understood what they <em>mean</em> ?</p><p>To understand a vector, we will start with a simple understanding of the <strong>Scalar</strong>. A scalar is just a <strong>quantity </strong>— a single number with <strong>magnitude</strong> but no direction. Think of “5 apples,” “70 kilograms,” or a speed of “20 km/hr.”</p><p>A <strong>Vector</strong>, however, is an object that possesses both <strong>magnitude and direction</strong>. In physics, a force of 5 Nm(vector) by drawing an arrow. The length of the arrow tells you how strong the force is (magnitude), and the arrow’s head tells you exactly where that force is being applied (direction).</p><p>But how does an arrow or direction relate to a word (Token)? In AI, <strong>direction is meaning.</strong> The<strong> relative positions</strong> and <strong>directions </strong>between vectors encode the <strong>semantic relationships</strong>.</p><h4>ID card analogy to understand vectors</h4><p>Tokens are just like your <strong>regular ID</strong>. It tells who you are but it doesn’t describe you. To describe you need <strong>qualities, properties</strong> or in programming sense <strong>attributes</strong>. A person’s ID has name, but to understand the persons personality, we need descriptions like smart, tall, fun-loving etc.</p><p>An <strong>Embedding vector</strong> is simply a long list of these attributes (qualities) that <strong>describe a <em>Token</em></strong>. If you use 500 attributes to describe a word, the vector’s <strong>dimension </strong>is 500. Imagine two dimensional number line and words king and queen on the opposite sides. We could assume that the number line is the dimension for gender. In Practice, the model learns <strong>abstract features</strong> rather than <strong>human-named attributes</strong>.</p><h4>An intuitive example — Simple Vector Space.</h4><p>Imagine we describe animals using few “features”: Size, weight and habitat (Domesticated = 0, wild = 1).</p><ul><li>House cat: [Size:2, Weight:2, habitat:0]</li><li>Tiger: [Size:8, Weight:9, Habitat:1]</li><li>Dogs: [Size:4, Weight:5, Habitat:0]</li></ul><p>Just by doing this simple exercise, We have moved from simple words to numerical vectors. [2,2,0] is a cat; [8,9,1] is a tiger. This is 3D vector, where each dimension represents different properties of the animal. The space that encloses all the vectors is called vector space.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*loQMhbW0AyL1qlKvQdRn4A.png" /><figcaption>vector space for the example given (not accurate — only for understanding).</figcaption></figure><p>To see this in action, let’s calculate the distance between the vectors of each animal, the computer can mathematically “see” which animals are similar.</p><p>Distance between Cat (𝑣1) and Tiger (𝑣2):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/564/0*7xsLy1H-MA0nYMrN.png" /></figure><p>Distance between Cat (𝑣1) and Dog (𝑣3):</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/543/0*npyqqXxG49tljfIQ.png" /></figure><p>Based on these three specific parameters — <strong>Size</strong>, <strong>Weight</strong>, and <strong>Habitat</strong> — the math tells us that <strong>cats are closer to dogs</strong> (3.61) than they are to tigers (9.27). While we know that’s not exactly true, this is a perfect example of why dimensionality is important in LLMs. If we start adding more descriptions of these animals like “sounds made” or “hunting style” or “retractable claws” and so on the coordinates shift, eventually placing the cats and tigers closer. This is exactly how LLMs work; By looking at thousands of different attributes at once, they can spot deep relationships.</p><h4><strong>Why this intuition matters for “Encodings”?</strong></h4><p>When we move into <strong>Encodings</strong>, we are essentially asking the model to learn the perfect “coordinates” for every token.</p><p>Instead of us manually choosing features like “Size” , “Weight or “Habitat”, the model looks at billions of sentences and figures out its own features (like “is it a verb?”, “is it plural?”).</p><p>By the time the model is done learning by recognizing the patterns, it has built a world where <strong>“King - Man + Woman”</strong> lands you almost exactly at the coordinates for <strong>“Queen”</strong>. Beauty of Math!</p><p><em>In this part, we built an intuition for vectors, vector spaces, and distances as the foundation of meaning in LLMs.</em></p><p><em>In Part 2.2, we will dive deeper into embedding algorithms themselves: how models learn these vectors (e.g., word2vec‑style objectives, modern Transformer embeddings) and how those learned coordinates get used during training and inference.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7c28c697aaf7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Is the NVIDIA Monopoly Dying?]]></title>
            <link>https://medium.com/@diliprc96/is-the-nvidia-monopoly-dying-193820cc52af?source=rss-bc9b99a2d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/193820cc52af</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[fine-tuning]]></category>
            <category><![CDATA[edge-ai-hardware]]></category>
            <category><![CDATA[sustainable-ai]]></category>
            <category><![CDATA[mlops]]></category>
            <dc:creator><![CDATA[Dilip R]]></dc:creator>
            <pubDate>Thu, 08 Jan 2026 15:02:20 GMT</pubDate>
            <atom:updated>2026-01-08T15:02:20.316Z</atom:updated>
            <content:encoded><![CDATA[<h3>Is the NVIDIA Monopoly Dying? 💀 80GB Unified Memory, 65W, and Total Privacy. Could this be the Future?</h3><p><strong>Local inference just hit a breaking point. From Guinness World Records to 12-core ARM architectures — why this pocket-sized workbench is a game-changer for the private LLM era.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IyQ8wPvDpIDx0qHONSdk5Q.jpeg" /><figcaption><em>The Tiiny AI Pocket Lab: 80GB of unified memory in a 300g form factor.</em></figcaption></figure><p><strong>The “Hidden Tax” of Cloud-Based Fine-Tuning</strong></p><p>Last week, I was deep in the trenches of fine-tuning a <strong>Mistral 7B</strong> model on a highly specific, custom dataset. Like most engineers today, I defaulted to a cloud-based workflow using RunPod containers.</p><p>On paper, it’s the logical choice: high-end GPUs, scalable compute, and pay-as-you-go pricing. But in practice, the “engineering taxes” started piling up:</p><ul><li><strong>The Disconnection Loop:</strong> There is nothing quite as frustrating as being 80% through a critical epoch only for a network hiccup to drop the container connection.</li><li><strong>State Management Nightmares:</strong> Even with robust checkpointing, managing data persistence between local environments and remote S3 buckets adds a layer of friction that slows down the iterative loop.</li><li><strong>The Accuracy Wall:</strong> When your infrastructure is unstable, your focus shifts from hyperparameter tuning to “infrastructure firefighting.” This distraction makes it significantly harder to achieve the model accuracy your project demands.</li></ul><p>I found myself asking: <em>Do I really need a massive remote cluster for a 7B or 70B parameter model, or is there a way to bring this entire “workbench” back to my desk?</em></p><p><strong>Enter the Tiiny AI Pocket Lab: Spec Sheet or Pipe Dream?</strong></p><p>While I was wrestling with my cloud setup, the news broke about the <strong>Tiiny AI Pocket Lab</strong>. It recently made headlines by securing a <strong>Guinness World Record</strong> for the smallest mini-PC to run a 100B+ parameter LLM locally.</p><p>As a Senior Engineer, I’ve learned to be skeptical of “world records” and marketing hype. However, looking past the PR, the technical architecture of this device — which measures just 14.2cm x 8cm — presents a fascinating solution to the exact bottlenecks I faced last week.</p><p><strong>The Game Changer: 80GB of Unified Memory</strong></p><p>In the world of LLMs, <strong>Memory is King</strong>.</p><p>We have plenty of devices with fast CPUs, but we are constantly hitting the VRAM wall. Most high-end consumer GPUs cap out at 24GB. To run (let alone fine-tune) a 70B or 120B parameter model, you usually need a multi-GPU rig that pulls 600W of power and costs a small fortune.</p><p>The Pocket Lab bypasses this with <strong>80GB of LPDDR5X Unified Memory</strong>.</p><p>This isn’t just about “fitting” the model. From a practitioner’s standpoint, 80GB of addressable memory means we can perform <strong>local LoRA or QLoRA fine-tuning</strong> entirely on-device. The stability of having your model, your weights, and your dataset in one physical location eliminates the “connection lost” anxiety that plagues cloud workflows.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FnYS_FfTyYZc%3Fstart%3D35%26feature%3Doembed%26start%3D35&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DnYS_FfTyYZc&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FnYS_FfTyYZc%2Fhqdefault.jpg&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c1e425e9b5f68b011b1bc95b1801bda1/href">https://medium.com/media/c1e425e9b5f68b011b1bc95b1801bda1/href</a></iframe><p><strong>Architecture Over Raw Horsepower</strong></p><p>The most polarizing aspect of the <strong>Tiiny AI Pocket Lab</strong> is the lack of a discrete NVIDIA GPU. To a traditionalist, “No CUDA” sounds like a dealbreaker. But as we move into 2026, the software stack is finally catching up to the hardware.</p><p>The device runs on a <strong>12-core ARM v9.2 CPU</strong>. On its own, this wouldn’t be enough for high-speed inference. However, the secret sauce is the integration of <strong>TurboSparse</strong> and <strong>PowerInfer</strong> technologies.</p><p><em>Though I myself have not fully understood these technologies yet, I will try my best to explain them based on my current understanding from the technical papers. If any of you know this better or could correct me if I am wrong, you are more than welcome to jump into the comments!</em></p><p>Here is the simple breakdown:</p><ul><li><strong>TurboSparse:</strong> This is a model-level approach where the LLM (like their TurboSparse-Mistral-7B model) has been pre-trained to be inherently “sparse.” In simple terms, for any given input, it ensures that up to <strong>90% of the neurons are inactive (zeroed out)</strong>, meaning the computer doesn’t need to waste power calculating them. It’s like only activating specific parts of your brain needed for a task, rather than the whole thing.</li><li><strong>PowerInfer:</strong> This is the inference <em>engine</em> (the software) that makes the most of the sparsity. It uses a <strong>hybrid CPU-NPU approach</strong>, identifying which neurons are “hot” (frequently used) and “cold” (rarely used). The engine cleverly loads the hot neurons into fast memory and uses the NPU for quick, dense calculations, while offloading the sparse, cold neurons to the CPU as needed. This overlapping of tasks gives a significant speed boost — up to 2–5x faster generation speed for the end-user.</li></ul><p>By combining a model built for sparsity (TurboSparse) with an engine optimized to exploit that sparsity (PowerInfer), the Pocket Lab achieves server-grade speeds on a highly efficient, low-power chip.</p><p><strong>The 65W Power Revolution</strong></p><p>Efficiency is often the “boring” stat, but for anyone running a home lab, it’s the most important one.</p><p>My current cloud instances or local dev-rigs pull significant power. Transitioning to a <strong>65W typical power envelope</strong> is a paradigm shift.</p><ul><li><strong>Sustainability:</strong> You can run fine-tuning jobs 24/7 without worrying about your thermal footprint or electricity bill.</li><li><strong>Stability:</strong> A 65W device generates significantly less heat, meaning less thermal throttling and more consistent performance during long training runs.</li></ul><p>Achieving server-grade intelligence at the power cost of a standard laptop is a massive win for the “Local AI” movement.</p><p><strong>Data Privacy and the “Stable Workbench”</strong></p><p>Beyond the specs, there is the issue of <strong>Data Sovereignty</strong>. When I was working on my Mistral 7B project, the custom dataset contained sensitive information. Moving that data to a third-party cloud provider — even a secure one — always carries a sliver of risk.</p><p>With <strong>1TB of onboard storage</strong> and a 100% offline capability, the Pocket Lab acts as an air-gapped vault. Keeping your checkpoints, datasets, and proprietary weights in a physical device that sits on your desk isn’t just about convenience — it’s about security.</p><p><strong>The Final Verdict: Is Local the New Standard?</strong></p><p>The cloud will always have its place for massive-scale training and global deployments. But for the <strong>iterative, data-sensitive work</strong> of the modern AI Engineer, the tide is turning.</p><p>At a reported price point of <strong>$1,399</strong>, the Tiiny AI Pocket Lab represents a strategic investment. When you factor in the cost of cloud GPU credits, the “engineering tax” of disconnections, and the sheer freedom of 80GB of unified memory, the ROI becomes clear very quickly.</p><p>If the real-world performance holds up to the 2026 benchmarks, we are looking at the end of the VRAM bottleneck for the individual developer.</p><p><em>Are you still reliant on cloud containers, or have you found a local setup that actually handles your 70B+ models? Let’s talk in the responses below.</em><strong> 👇</strong></p><p><strong>References for the Deep Dive:</strong></p><ul><li><strong>[1] The Hardware Reveal:</strong> <a href="https://www.techpowerup.com/343905/tiiny-ai-reveals-ai-pocket-lab-mini-pc-powered-by-12-core-arm-cpu">Tiiny AI Pocket Lab specs and Guinness World Record details via TechPowerUp</a>.</li><li><strong>[2] The Sparse Logic:</strong> <a href="https://arxiv.org/html/2406.05955v1#:~:text=Remarkably%2C%20in%20the%20TurboSparse%2DMistral,FLOPs%20during%20the%20inference%20process.">An overview of TurboSparse-Mistral technology and 90% activation reduction</a>.</li><li><strong>[3] High-Speed Inference:</strong> <a href="https://arxiv.org/html/2312.12456v2">The PowerInfer Research Paper: Fast LLM Inference on Consumer-Grade CPUs.</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=193820cc52af" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Dissecting Large Language Models — Part 1: Tokens]]></title>
            <link>https://medium.com/@diliprc96/dissecting-large-language-models-part-1-tokens-5980352cd2eb?source=rss-bc9b99a2d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/5980352cd2eb</guid>
            <category><![CDATA[tokenization]]></category>
            <category><![CDATA[genai]]></category>
            <category><![CDATA[transformer-architecture]]></category>
            <category><![CDATA[naturallanguageprocessing]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Dilip R]]></dc:creator>
            <pubDate>Wed, 07 Jan 2026 08:45:22 GMT</pubDate>
            <atom:updated>2026-01-15T18:54:48.882Z</atom:updated>
            <content:encoded><![CDATA[<h3>Dissecting Large Language Models — Part 1: Tokens</h3><p>Large Language Models (LLMs) represent a specialised subset of <strong>Generative AI (GenAI)</strong>, fundamentally rooted in the <strong>Transformer architecture</strong>.</p><p>While GenAI encompasses any probabilistic model capable of synthesising novel data distributions — including Variational Autoencoders (VAEs) and Diffusion Models for imagery — LLMs focus specifically on modeling the joint probability distribution of linguistic sequences. LLMs are a part of GenAI, not the whole GenAI.</p><p>It is impossible to understand LLMs without understanding the core architecture: <strong>Self-Attention.</strong></p><p>At the heart of an LLM is the <strong>Scaled Dot-Product Attention</strong> mechanism. Unlike previous Recurrent Neural Networks (RNNs) that processed data sequentially, Transformers utilise <strong>self-attention</strong> to compute global dependencies in parallel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n313HijIEWc7rM4QcbVkHw.png" /><figcaption>AI Generated. Only for representation.</figcaption></figure><p>I know, it is difficult to understand the jargons <strong>Scaled Dot-Product Attention, self-attention </strong>what do those even mean.</p><p>Let us try to understand the terms here. Let us start with “what is a Token?”.</p><h4>What Are Tokens?</h4><p><strong>Tokens</strong> are the <strong>fundamental units</strong> that the models can process numerically. They are not necessarily equivalent to single word, they could be words, sub-words, characters, punctuation etc. <strong>Tokenization</strong> is the process of converting input text into a sequence of tokens. <strong>Vocabulary </strong>is the collection of all unique tokens an LLM knows, just like all the unique words we humans know in a language forms our vocabulary of that particular language.</p><p>Converting text to tokens allows the models to understand, analyse and generate human language by breaking down text into countable pieces for computation. These vocabulary of tokens forms the translation of natural language to the numerical language the model can understand, learn patterns to predict responses, essentially “thinking” in these numerical tokens before converting them back to text for the user.</p><p>Let us dive deep into what happens at the process of Tokenization.</p><p>Once text is broken into tokens, each unique token is assigned a <strong>Token ID </strong>(a number). The LLM performs all its complex mathematical operations on these numbers rather than the original letters.</p><h4>Tokenization vs Encoding</h4><p>Before getting deeper into tokenization, I would like clear a common confusion among the beginners: “Are Tokenization and Encoding same process?”. Though, they are mostly used together while describing the working of LLMs, they both are fundamentally a different process. <strong>Tokenization</strong> is the process of breaking raw text into smaller pieces (tokens) like words, subwords, or characters, while, <strong>Encoding</strong> is the process of converting those tokens into <strong>numerical values</strong> (vectors or integers) that a machine can actually compute.</p><p><strong>Example: </strong><em>Input:</em> “I love NLP” → <em>Tokens:</em> [“I”, “love”, “NLP”] → E<em>ncoding:</em> [42, 108, 552]. We will discuss how encodings are generated in later parts.</p><h4>Methods of Tokenization</h4><p>Now, tokenization is not a one single method that is followed universally by all LLMs. Most modern LLMs like GPT-4o, Llama 3 and Gemini use Subword Tokenization. But there are word-based and character-based methods that are preliminary and has its own cons. We will quickly cover the word-level and character-level methods and dive deeper into the Subword method (more relavant to today’s models).</p><h4><strong>Word-based </strong>Tokenization</h4><p><strong>Word-based </strong>as the name suggests, each word is its own token. This is simple but struggles with typos and rare words. <br><strong>Example:</strong> “I love NLP!” <strong>Tokens:</strong> [“I”, “love”, “NLP”, “!”].</p><h4><strong>Character-based </strong>Tokenization</h4><p>Similarly, In <strong>Character-based </strong>method, each character is its own token. It breaks the text into individual letters. This creates a very long sequences that are computationally expensive. <br><strong>Example:</strong> “I love NLP!” <strong>Tokens: </strong>[“I”, “ “, “l”, “o”, “v”, “e”, “ “, “N”, “L”, “P”, “!”]</p><h4><strong>Subword Tokenization</strong></h4><p><strong>Subword Tokenization</strong> balances word-level and character-level methods. There are multiple algorithms that performs this. Let’s look at them one by one.</p><ol><li><strong>Byte-Pair Encoding (BPE)</strong></li></ol><p>BPE is the standard algorithms used for GPT family and many open-source models.</p><ul><li>It starts with individual characters as the base vocabulary.</li><li>it identifies the most frequent pair of adjacent tokens in training dataset.</li><li>it merges those tokens into a single new token and adds it to the vocabulary.</li><li>This process repeats until a target vocabulary size is reached (eg., 50K — 100K tokens).</li></ul><p>The common words are single tokens, while rare words are broken into chunks. “happiest” → gets broken into “happi” + “est”. this prevents the “unknown word” error.</p><p>Let’s take an example. Suppose your training data has the words <strong>“low”</strong> (appearing 5 times) and <strong>“lowest”</strong> (appearing 2 times).</p><p><strong>Step-1: </strong>Split everything into individual characters and add an end-of-word marker (&lt;/w&gt;).</p><ul><li>l o w &lt;/w&gt; (5 occurrences)</li><li>l o w e s t &lt;/w&gt; (2 occurrences)</li></ul><p><strong>Step-2:</strong> Find the most frequent adjacent pair across all words.</p><ul><li>l o appears 7 times (5 in &quot;low&quot;, 2 in &quot;lowest&quot;).</li><li>o w appears 7 times.</li></ul><p><strong>Step-3: </strong>Pick the most frequent pair (e.g., l + o) and merge them into a new token: lo.</p><ul><li>Updated: lo w &lt;/w&gt; and lo w e s t &lt;/w&gt;</li></ul><p><strong>Step-4:</strong> Now the most frequent pair is lo + w, which appears 7 times. Merge it into low.</p><ul><li>Updated: low &lt;/w&gt; and low e s t &lt;/w&gt;</li></ul><pre>while vocab_size &lt; target:<br>   pairs = count_adjacent_pairs(corpus)<br>   best_pair = most_frequent(pairs)<br>   merge(best_pair)</pre><p>Your final vocabulary now includes the sub-word low. If the model later sees an unknown word like &quot;lower,&quot; it can recognise low and then handle er separately.</p><p>2. <strong>Word-piece Tokenization</strong></p><p>Word-piece doesn’t just look for what appears <em>most often</em>; it looks for what is <em>least expected</em>. It’s mostly commonly used in models like BERT. While BPE merges based only on frequency, WordPiece adds a probabilistic twist by measuring how surprising a merge is.</p><p>It merges a pair only if the pair’s frequency is much higher than the individual parts would suggest. This ensures we don’t merge common characters (like “t” and “h”) just because they are frequent, but rather because they create a meaningful unit (like “th”). Which means “t” and “h” will only get merged when the “th” frequency is higher than “t” and “h”.</p><p><strong>Step-1: </strong>Word-piece uses a special marker (usually ##) to show a token is a suffix.</p><ul><li>l o w &lt;/w&gt; (5 occurrences)</li><li>l o w e s t &lt;/w&gt; (2 occurrences)</li></ul><p><strong>Step-2: </strong>Instead of just counting pairs, it calculates a score:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/400/1*KaozFpLA1j-DSG7T6-RRXQ.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/331/1*ic7GIwIo_yoPV31lQ_8wiw.png" /></figure><p>If “e” and “s” appear together almost every time “s” appears, they get a massive score and are merged into ##es.</p><p><strong>Step-3: </strong>It merges the pair with the <strong>highest score</strong>.</p><ul><li>Updated: low &lt;/w&gt; and low ##e ##s ##t &lt;/w&gt;</li><li>If ##e and ##s are statistically inseparable, they become ##es.</li></ul><p>It is better at keeping meaningful roots together and is less likely to create “junk” tokens that just happen to appear frequently.</p><p>3. <strong>SentencePiece Tokenization</strong></p><p>SentencePiece (used by Llama 3 and Gemini) is a language-agnostic (works universally across different languages) method. Its main innovation is treating the <strong>space</strong> as a character.</p><p>BPE and WordPiece usually splits the text by spaces (Pre-tokenization). But in languages like Japanese or Chinese, there are no spaces. SentencePiece addresses this.</p><p><strong>Step-1: </strong>Spaces are replaced with a special character, such as _.</p><ul><li>_low (5 occurrences)</li><li>_lowest (2 occurrences)</li></ul><p><strong>Step-2: </strong>It does not consider “words” and instead sees a long string of characters: _low_lowest_low...</p><p><strong>Step-3: </strong>This is The “Pruning” Step using <strong>Unigram</strong> Probability. Don’t let the name “unigram” intimidate you; it’s just a more flexible way of choosing the best subwords for a model. <strong>SentencePiece</strong> often uses a <strong>Unigram</strong> approach, although it can also use <strong>BPE</strong>.</p><ol><li>Start with a <strong>large</strong> vocabulary of every possible subword.</li><li>Calculate the probability of the training data using this list.</li><li>“Prune” (remove) the tokens that, if deleted, would have the least impact on the overall probability.</li><li>Repeat until the target size is reached (e.g., 50k tokens).</li></ol><p><strong>Unigram</strong> is a probabilistic approach that starts with everything and <strong>removes</strong>(Prune) what it doesn’t need.</p><p><strong>Step-4: </strong>Reverse it to human readable format. Because the space (_) is a token, the text can be decoded back to a human-readable form by replacing _ with a space and joining everything. This is called <strong>Lossless Tokenization</strong>.</p><p><strong><em>Now that we understand how raw text becomes tokens, in the next part, we’ll explore how these </em></strong><a href="https://medium.com/@diliprc96/dissecting-large-language-models-part-2-1-the-intuition-of-vectors-7c28c697aaf7"><strong><em>tokens are converted into vectors </em></strong></a><strong><em>— the numerical brain of an LLM.</em></strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5980352cd2eb" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Thinking in Terms of Algorithms]]></title>
            <link>https://medium.com/@diliprc96/thinking-in-terms-of-algorithms-f0511755b9a0?source=rss-bc9b99a2d60------2</link>
            <guid isPermaLink="false">https://medium.com/p/f0511755b9a0</guid>
            <category><![CDATA[design-thinking]]></category>
            <category><![CDATA[impact-of-ai-on-jobs]]></category>
            <category><![CDATA[vibe-coding]]></category>
            <category><![CDATA[algorithmic-thinking]]></category>
            <category><![CDATA[ai-coding]]></category>
            <dc:creator><![CDATA[Dilip R]]></dc:creator>
            <pubDate>Tue, 25 Nov 2025 22:58:46 GMT</pubDate>
            <atom:updated>2025-11-25T22:58:46.038Z</atom:updated>
            <content:encoded><![CDATA[<h3>AI as an Enabler, Not a Replacement</h3><p>My intention with this article is to really emphasize why learning algorithms is important in this era of vibe-coding. I know AI’s capability in generating code has grown rapidly in the past few years. Modern AI can design complete PoC’s or MVP in a matter of minutes or hours. While this is great, it is also easy to lose sight on why it is really important to learn algorithms and the basics of programming, now more than ever.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*3t_ulF_vPlWpy4gH.jpg" /><figcaption>Source: <a href="https://www.geeksforgeeks.org/blogs/top-algorithms-and-data-structures-for-competitive-programming/">https://www.geeksforgeeks.org/blogs/top-algorithms-and-data-structures-for-competitive-programming/</a></figcaption></figure><p>At our core, we are all engineers. We are meant to solve problems, not just write code for requirements given. Learning to code has always been for that same reason. Every piece of code is written to solve a problem. AI is often seen as the replacement to coding, but the reality is quite the opposite. AI, like coding, is just another enabler that helps us to solve problems — something we should now be doing at accelerated pace.</p><h3>Algorithms as Building Blocks</h3><p>With my intentions clear, let me move on to why learning algorithms is important for software developers. I am not going to dive into explaining any algorithm in detail, as there are sources available that do a better job than I could, but only to convey the importance of algorithms in general.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BA5lcwF3ompDdyRj7IXDzw.png" /><figcaption>Source: AI generated.</figcaption></figure><p>Every algorithm does not necessarily solve just one problem. They are basic building blocks that we can apply to problems with similar patterns. It is more like using a formula that was derived but loosely applied everywhere. Without actually understanding the derivation or completely knowing the assumptions, you end up using the wrong formula in wrong instance.</p><h3>Newton’s Law Analogy</h3><p>One interesting example I would like to give is Newton’s second law of motion. We all quickly relate Newton’s second law to the neat little formula `<em>F=ma`</em>. But, what is often forgotten here is — Newton’s second law of motion in general form state that the net force on a body equals the rate of change of its momentum:</p><p>`F=dp/dt`</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*6g8wjFvmgXVUzHEx" /><figcaption>Source: https://www.dreamstime.com/newtons-second-law-example-newton-s-law-nd-science-illustration-vector-newtons-second-law-newton-s-law-example-science-image279336030</figcaption></figure><p>when the mass of the body is constant, this simplifies to the familiar `<em>F=ma`</em>. The important assumption is that mass does not change. In everyday problems this works fine, but in systems like rockets, where mass decreases as fuel is burnt or boosters are ejected, applying `F=ma` directly would give misleading results. The point is — formulas are powerful, but only if you understand the assumptions and concepts behind them. Otherwise, you risk using the right formula in the wrong situation.</p><p>Problems may seem convoluted, but when you try to break it down, it most often comes down to some basic algorithms. The difference between a PoC and a product lies in the robust system design.</p><blockquote>“Design is not just what it looks like and feels like. Design is how it works.” — Steve Jobs</blockquote><h3>Practical Insights</h3><p>Let me give an example more inline with the topic, when I ask AI to help me write a code for searching for a UserID in a list, The AI might just generate a straightforward linear search. For a PoC with a few dozen list elements this is fine, but it quickly becomes a bottleneck as the list grows which is commonly seen in the real world.</p><p>The linear search has `O(n)` complexity (this means the time grows linearly with input size), while the binary search runs in `O(log n)`. The additional sorting overhead required for binary search is justified when dealing with large data.</p><p>For those who get discouraged with time complexities, here’s all you need to know for now: (I got you! 😉)</p><p>`O(1)` &lt; `O(log n)` &lt; `O(n)` &lt; `O(n log n)`.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/745/0*F5z1SqxBuo_WSXc7.png" /><figcaption>Source: <a href="https://www.freecodecamp.org/news/big-o-cheat-sheet-time-complexity-chart/">https://www.freecodecamp.org/news/big-o-cheat-sheet-time-complexity-chart/</a></figcaption></figure><p>Standard library sorts (e.g., Python’s sorted) are not magic; they implement hybrid algorithms like Timsort that detect runs and exploit existing order to approach linear time on nearly sorted data. For instance, in a log-processing tasks where logs are mostly ordered, Timsort yields huge speedups compared with generic sorts—understanding this lets you pick or tune algorithms rather than blindly trusting generated code.</p><p>knowing these failure modes is design thinking, not trivia.</p><h3>Closing Thoughts</h3><p>My goal is for readers to reach the end without feeling overwhelmed, so I’m keeping this article short and light on examples. If time allows and the feedback is positive, I’ll follow up with part 2 that dives into detailed, practical cases showing why it makes sense to think in terms of algorithms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f0511755b9a0" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>