<?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 Madhu Vadhani M on Medium]]></title>
        <description><![CDATA[Stories by Madhu Vadhani M on Medium]]></description>
        <link>https://medium.com/@madhuvadhani?source=rss-b57d6ab0e4dc------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zfn48fvNN5E-zsMkH9-zsA.jpeg</url>
            <title>Stories by Madhu Vadhani M on Medium</title>
            <link>https://medium.com/@madhuvadhani?source=rss-b57d6ab0e4dc------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 11:38:11 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@madhuvadhani/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[Why not unb+elieva+ble?]]></title>
            <link>https://medium.com/towards-explainable-ai/why-not-unb-elieva-ble-f9642816bc99?source=rss-b57d6ab0e4dc------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9642816bc99</guid>
            <category><![CDATA[tokenizer]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[tokenization]]></category>
            <category><![CDATA[large-language-models]]></category>
            <dc:creator><![CDATA[Madhu Vadhani M]]></dc:creator>
            <pubDate>Wed, 25 Nov 2026 20:44:33 GMT</pubDate>
            <atom:updated>2026-11-29T03:44:01.106Z</atom:updated>
            <content:encoded><![CDATA[<h4><strong>​Tokenization ft. prefixes and suffixes,</strong><em> </em>and the surprisingly interesting way AI breaks down words.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2Vn7_7GHndT1l7MgyStMPg.png" /></figure><p>​<br>​We humans might look at the world “<strong>unbelievable”, </strong>and naturally break it down as “<strong>un + believe + able”.</strong></p><p>​A prefix. A root. A suffix.<br>​</p><blockquote>​But here’s the real question: <strong>Who told the tokenizer to cut it that way?</strong></blockquote><p>​​And what stops the AI from cutting it as - <strong>unbe + lieva + ble ?<br></strong>​Let’s go under the hood.<br>​<br>​First, meet the <strong>corpus.<br></strong>​A tokenizer is trained using a large collection of text called a <strong>corpus.</strong><br>​<br>​The text isn’t manually labelled:<br>​un = prefix<br>​believe = root<br>​able = suffix<br>​<br>​For <strong>BPE (Byte Pair Encoding),</strong> the training process builds a vocabulary and learns merge rules by repeatedly combining frequent adjacent units. In a typical BPE pipeline, the text is first normalized and pre-tokenized before the BPE model learns its vocabulary and merges. Depending on the implementation, the base units may be characters or bytes.<br>​<br>​Over time, recurring patterns can become reusable subword tokens.<br>​<br>​But here’s the important part:​<br>​BPE doesn’t understand that “un” is a prefix or “able” is a suffix. It learns statistical patterns from the training data.<br>​<br>​Now, your sentence arrives. ”The result was unbeliveable.”<br>​<br>​The tokenizer has already been trained. It applies its learned vocabulary and merge rules to the input. <br>​<br>​Depending on the tokenizer, unbelievable could be represented as multiple subword tokens or potentially as a single token if the whole word exists in its vocabulary.<br>​<br>​The exact split depends on the tokenizer. The tokenizer isn’t thinking : “Ah! un is a prefix and able is a suffix. Let me split this linguistically.”<br>​<br>​It’s applying the vocabulary and rules it learned during training.<br>​<br>​And that’s the fascinating part. <strong><em>Sometimes, token boundaries happen to align with meaningful linguistic pieces. </em></strong>Sometimes, they don’t. The resulting tokens are mapped to numerical IDs that the model processes. <br>​<br>​So:<br>​<br>​Tokenizer: “How should I represent this text as tokens?”<br>​Language model: “What patterns and relationships can I learn from those representations?”<br>​<br>​And maybe that’s why I find tokenization so fascinating. <br>​<br><strong>​AI is, in many ways, a reflection of us.</strong><br>​<br>​We create language. We repeat patterns. And AI learns from those patterns.<br>​The way we cut a word might seem like a tiny preprocessing step….But those pieces become the building blocks a language model works with.<br>​​The way we cut a word matters.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9642816bc99" width="1" height="1" alt=""><hr><p><a href="https://medium.com/towards-explainable-ai/why-not-unb-elieva-ble-f9642816bc99">Why not unb+elieva+ble?</a> was originally published in <a href="https://medium.com/towards-explainable-ai">Towards Explainable AI</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>