<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>LLMs on Signal &amp; Syntax: Practical AI Coding with Tom Archer</title>
    <link>http://localhost:1313/tags/llms/</link>
    <description>Recent content in LLMs on Signal &amp; Syntax: Practical AI Coding with Tom Archer</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Tue, 11 Nov 2025 06:00:00 -0700</lastBuildDate>
    <atom:link href="http://localhost:1313/tags/llms/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>How Large Language Models (LLMs) Tokenize Text: Why Words Aren&#39;t What You Think</title>
      <link>http://localhost:1313/posts/how-large-language-models-tokenize-text/</link>
      <pubDate>Tue, 11 Nov 2025 06:00:00 -0700</pubDate>
      <guid>http://localhost:1313/posts/how-large-language-models-tokenize-text/</guid>
      <description>&lt;figure style=&#34;float: right; margin: 0 20px 10px 20px; width: 250px; text-align: center;&#34;&gt;&#xA;  &lt;img src=&#34;./how-large-language-models-tokenize-text.png&#34;&#xA;       alt=&#34;Digital artwork showing text being broken into irregular puzzle pieces, with some pieces glowing to indicate tokens&#34;&#xA;       width=&#34;250&#34;&#xA;       style=&#34;display: block; margin: 0 auto;&#34;&gt;&#xA;  &lt;figcaption style=&#34;font-size: 0.9em; color: #555; margin-top: 5px;&#34;&gt;&#xA;    &lt;em&gt;LLMs read tokens. Not words. A distinction with a technical—and potentially financial—difference.&lt;/em&gt;&#xA;  &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&lt;p&gt;When you type &amp;ldquo;I love programming&amp;rdquo; into ChatGPT, you might assume the model reads three words. It doesn&amp;rsquo;t. It reads somewhere between three and seven tokens, depending on how the text is split.&lt;/p&gt;&#xA;&lt;p&gt;When you ask Claude to count the letters in the word &amp;ldquo;strawberry,&amp;rdquo; it often gets it wrong. The reason is simple. Claude never saw the word &amp;ldquo;strawberry&amp;rdquo; as a complete unit. It saw tokens like &lt;code&gt;&amp;quot;str&amp;quot;&lt;/code&gt;, &lt;code&gt;&amp;quot;aw&amp;quot;&lt;/code&gt;, &lt;code&gt;&amp;quot;berry&amp;quot;&lt;/code&gt; and tried to reason about letters it couldn&amp;rsquo;t directly access.&lt;/p&gt;&#xA;&lt;p&gt;And when early GPT-3 users discovered that typing &amp;ldquo;SolidGoldMagikarp&amp;rdquo; caused the model to behave erratically - generating nonsense, refusing requests, or producing bizarre outputs - the culprit wasn&amp;rsquo;t the model&amp;rsquo;s training. It was a &lt;strong&gt;glitch token&lt;/strong&gt;: a tokenization artifact that never appeared in training data, leaving the model with no learned representation for how to handle it (&lt;a href=&#34;#rumbelow2023&#34;&gt;&#xD;&#xA;  Rumbelow &amp;amp; Watkins, 2023&#xD;&#xA;&lt;/a&gt;&#xD;&#xA;).&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;em&gt;&amp;ldquo;To a language model, text isn&amp;rsquo;t a stream of words. It&amp;rsquo;s a sequence of tokens. The way those tokens are created determines what the model can and cannot understand.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;hr&gt;</description>
    </item>
    <item>
      <title>How Large Language Models (LLMs) Handle Context Windows: The Memory That Isn&#39;t Memory</title>
      <link>http://localhost:1313/posts/how-large-language-models-handle-context-windows/</link>
      <pubDate>Mon, 10 Nov 2025 06:00:00 -0700</pubDate>
      <guid>http://localhost:1313/posts/how-large-language-models-handle-context-windows/</guid>
      <description>&lt;figure style=&#34;float: right; margin: 0 20px 10px 20px; width: 250px; text-align: center;&#34;&gt;&#xA;  &lt;img src=&#34;./how-llms-handle-context-windows.png&#34;&#xA;       alt=&#34;Digital artwork showing a conversation thread fading into the distance, with attention weights visualized as glowing connections between tokens&#34;&#xA;       width=&#34;250&#34;&#xA;       style=&#34;display: block; margin: 0 auto;&#34;&gt;&#xA;  &lt;figcaption style=&#34;font-size: 0.9em; color: #555; margin-top: 5px;&#34;&gt;&#xA;    &lt;em&gt;Context windows create the illusion of memory through mathematical attention, not storage.&lt;/em&gt;&#xA;  &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&lt;p&gt;When you have a long conversation with a large language model (LLM) such as &lt;a href=&#34;https://chatgpt.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xD;&#xA;  ChatGPT&#xD;&#xA;&lt;/a&gt;&#xD;&#xA; or &lt;a href=&#34;https://claude.ai/new&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xD;&#xA;  Claude&#xD;&#xA;&lt;/a&gt;&#xD;&#xA;, it feels like the model remembers everything you&amp;rsquo;ve discussed. It references earlier points, maintains consistent context, and seems to &amp;ldquo;know&amp;rdquo; what you talked about pages ago.&lt;/p&gt;&#xA;&lt;p&gt;But here&amp;rsquo;s the uncomfortable truth: the model doesn&amp;rsquo;t remember anything. It&amp;rsquo;s not storing your conversation in memory the way a database would. Instead, it&amp;rsquo;s &lt;strong&gt;rereading the entire conversation from the beginning every single time you send a message.&lt;/strong&gt;&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;em&gt;&amp;ldquo;A context window isn&amp;rsquo;t memory. It&amp;rsquo;s a performance where the model rereads its lines before every response.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;hr&gt;</description>
    </item>
    <item>
      <title>How Large Language Models (LLMs) Learn: Calculus and the Search for Understanding</title>
      <link>http://localhost:1313/posts/how-large-language-models-learn/</link>
      <pubDate>Wed, 08 Oct 2025 06:00:00 -0700</pubDate>
      <guid>http://localhost:1313/posts/how-large-language-models-learn/</guid>
      <description>&lt;figure style=&#34;float: right; margin: 0 20px 10px 20px; width: 250px; text-align: center;&#34;&gt;&#xA;  &lt;img src=&#34;./how-large-language-models-learn3.png&#34;&#xA;       alt=&#34;Digital artwork depicting a glowing mathematical landscape with ridges and valleys overlaid with calculus formulas, illustrating how gradients guide AI learning as it descends toward understanding.&#34;&#xA;       width=&#34;250&#34;&#xA;       style=&#34;display: block; margin: 0 auto;&#34;&gt;&#xA;  &lt;figcaption style=&#34;font-size: 0.9em; color: #555; margin-top: 5px;&#34;&gt;&#xA;    &lt;em&gt;Meaning takes shape as the model learns to descend its own mathematical terrain.&lt;/em&gt;&#xA;  &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&lt;p&gt;When you interact with a large language model (LLM) such as &lt;a href=&#34;https://chatgpt.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xD;&#xA;  ChatGPT&#xD;&#xA;&lt;/a&gt;&#xD;&#xA; or &lt;a href=&#34;https://claude.ai/new&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xD;&#xA;  Claude&#xD;&#xA;&lt;/a&gt;&#xD;&#xA;, the model seems to respond instantly relative to the question&amp;rsquo;s degree of difficulty. What&amp;rsquo;s easy to forget is that every word it predicts comes from a long history of learning where billions of gradient steps have slowly sculpted its understanding of language.&lt;/p&gt;&#xA;&lt;p&gt;Large language models don&amp;rsquo;t memorize text. They &lt;em&gt;optimize&lt;/em&gt; it. Behind that optimization lies calculus. I&amp;rsquo;m not referring to the calculus you did with pencil and paper. I&amp;rsquo;m talking about a sprawling, automated version that computes millions of derivatives per second.&lt;/p&gt;&#xA;&lt;p&gt;At its heart, every LLM is a feedback system. It starts with random guesses, measures how wrong it was, and then adjusts itself to be &lt;em&gt;slightly less wrong.&lt;/em&gt; The word &amp;ldquo;slightly&amp;rdquo; in this context is the essence of calculus.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;em&gt;&amp;ldquo;Each gradient step represents a measurable reduction in error, guiding the model toward a more stable understanding of language.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;hr&gt;</description>
    </item>
    <item>
      <title>How Large Language Models (LLMs) Think: Turning Meaning into Math</title>
      <link>http://localhost:1313/posts/how-large-language-models-think/</link>
      <pubDate>Tue, 07 Oct 2025 06:00:00 -0700</pubDate>
      <guid>http://localhost:1313/posts/how-large-language-models-think/</guid>
      <description>&lt;figure style=&#34;float: right; margin: 0 20px 10px 20px; width: 250px; text-align: center;&#34;&gt;&#xA;    &lt;img src=&#34;./how-large-language-models-read-code.png&#34; &#xA;    alt=&#34;Digital artwork showing vector/matrix math with the output being words, symbolizing that AI generates words from linear algebra operations.&#34; &#xA;    width=&#34;250&#34; &#xA;    style=&#34;display: block; margin: 0 auto;&#34;&gt;&#xA;    &lt;figcaption style=&#34;font-size: 0.9em; color: #555; margin-top: 5px;&#34;&gt;&#xA;        &lt;em&gt;Meaning takes shape in mathematics long before it reaches words.&lt;/em&gt;&#xA;    &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&lt;p&gt;When you enter a sentence into a Large Language Model (LLM) such as &lt;a href=&#34;https://chatgpt.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xD;&#xA;  ChatGPT&#xD;&#xA;&lt;/a&gt;&#xD;&#xA; or &lt;a href=&#34;https://claude.ai/new&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&#xD;&#xA;  Claude&#xD;&#xA;&lt;/a&gt;&#xD;&#xA;, the model does not process words as language. It represents them as numbers.&lt;/p&gt;&#xA;&lt;p&gt;Each word, phrase, and code token becomes a vector — a list of real-valued coordinates within a high-dimensional space. Relationships between meanings are captured not by grammar or logic but by geometry. The closer two vectors lie, the more similar their semantic roles appear to the model.&lt;/p&gt;&#xA;&lt;p&gt;This is the mathematical foundation of large language models: linear algebra. Matrix multiplication, vector projection, cosine similarity, and normalization define how the model navigates this vast space of meaning. What feels like understanding is actually the alignment of high-dimensional vectors governed by probability and geometry.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;em&gt;&amp;ldquo;Linear algebra and geometry do more than support AI; they create its language of meaning.&amp;rdquo;&lt;/em&gt;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;hr&gt;</description>
    </item>
    <item>
      <title>How Large Language Models (LLMs) Read Code: Seeing Patterns Instead of Logic</title>
      <link>http://localhost:1313/posts/how-large-language-models-read-code/</link>
      <pubDate>Mon, 06 Oct 2025 09:00:00 -0700</pubDate>
      <guid>http://localhost:1313/posts/how-large-language-models-read-code/</guid>
      <description>&lt;figure style=&#34;float: right; margin: 0 20px 10px 20px; width: 250px; text-align: center;&#34;&gt;&#xA;    &lt;img src=&#34;./how-large-language-models-read-code.png&#34; &#xA;    alt=&#34;Digital artwork showing a small piece of code outsidee an AI silhouette with circuit lines and a glowing probability curve inside its head, symbolizing machine learning interpreting code through statistical modeling rather than logic.&#34; &#xA;    width=&#34;250&#34; &#xA;    style=&#34;display: block; margin: 0 auto;&#34;&gt;&#xA;    &lt;figcaption style=&#34;font-size: 0.9em; color: #555; margin-top: 5px;&#34;&gt;&#xA;        &lt;em&gt;AI reads code as patterns, not instructions.&lt;/em&gt;&#xA;    &lt;/figcaption&gt;&#xA;&lt;/figure&gt;&#xA;&lt;p&gt;Developers are accustomed to thinking about code in terms of syntax and semantics, the how and the why. Syntax defines what is legal; semantics defines what it means. A compiler enforces syntax with ruthless precision and interprets semantics through symbol tables and execution logic. But a Large Language Model (LLM), reads code the way a seasoned engineer reads poetry, recognizing rhythm, pattern, and context more than explicit rules.&lt;/p&gt;&#xA;&lt;hr&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;&lt;em&gt;&amp;ldquo;When an AI system &amp;lsquo;understands&amp;rsquo; code, it is not executing logic; it is modeling probability.&lt;/em&gt;&amp;rdquo;&lt;/p&gt;&lt;/blockquote&gt;&#xA;&lt;hr&gt;</description>
    </item>
  </channel>
</rss>
