<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Anand Patel: Fine-Tuning at Home</title>
    <link>https://anandpatel.com/series/fine-tuning-at-home/</link>
    <atom:link href="https://anandpatel.com/series/fine-tuning-at-home/rss.xml" rel="self" type="application/rss+xml" />
    <description>Training a small open model to write in a specific voice, from what a language model is made of through to whether the result actually worked. Eleven parts, illustrated, assuming no prior AI knowledge and a machine far smaller than mine.</description>
    <language>en-us</language>
    <lastBuildDate>Tue, 01 Sep 2026 12:10:00 GMT</lastBuildDate>
    <item>
      <title>Part 01: How a Language Model Works</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/01-how-a-language-model-works/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/01-how-a-language-model-works/</guid>
      <pubDate>Tue, 01 Sep 2026 12:00:00 GMT</pubDate>
      <description>The whole machine end to end, in one figure: text becomes tokens, tokens become vectors, a stack of identical blocks transforms them, and the top produces a probability for every possible next word. Start here if any of that is new. Everything after it is one stage of this part, enlarged.</description>
    </item>
    <item>
      <title>Part 02: Matrix Multiplication</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/02-matrix-multiplication/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/02-matrix-multiplication/</guid>
      <pubDate>Tue, 01 Sep 2026 12:01:00 GMT</pubDate>
      <description>A short refresher: how to read a shape like &lt;code&gt;[5, 4096]&lt;/code&gt;, one worked example small enough to check by hand, and how to count a model's parameters yourself. Not a mathematics course and it says so. &lt;b&gt;Skip it&lt;/b&gt; if you write software and remember your linear algebra.</description>
    </item>
    <item>
      <title>Part 03: Tokens and Embeddings</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/03-tokens-and-embeddings/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/03-tokens-and-embeddings/</guid>
      <pubDate>Tue, 01 Sep 2026 12:02:00 GMT</pubDate>
      <description>The stage nobody thinks about, which explains more of the famous stupid failures than anything else in the architecture. Where the vocabulary came from, why rare words shatter into pieces, and the special tokens that a fine-tune gets wrong at its peril.</description>
    </item>
    <item>
      <title>Part 04: Attention</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/04-attention/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/04-attention/</guid>
      <pubDate>Tue, 01 Sep 2026 12:03:00 GMT</pubDate>
      <description>The only place in the entire architecture where one word can affect another, and therefore the mechanism behind everything context does. The part worth slowing down for. Also why long prompts cost what they do, and what that implies for how you write one.</description>
    </item>
    <item>
      <title>Part 05: The Block, and the Stack</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/05-the-block-and-the-stack/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/05-the-block-and-the-stack/</guid>
      <pubDate>Tue, 01 Sep 2026 12:04:00 GMT</pubDate>
      <description>What surrounds attention: the other half of a block, and two pieces of plumbing that look like footnotes and are the reason a model this deep can be trained at all. Then the cache that actually fills your graphics card, and why a model that loaded fine dies an hour later.</description>
    </item>
    <item>
      <title>Part 06: From Logits to Words</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/06-from-logits-to-words/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/06-from-logits-to-words/</guid>
      <pubDate>Tue, 01 Sep 2026 12:05:00 GMT</pubDate>
      <description>The top of the stack, where a vector becomes an actual word. Softmax, the sampling settings that live outside the model and change its character more than people expect, and how generation knows to stop, which is also one of the commonest ways a fine-tune breaks.</description>
    </item>
    <item>
      <title>Part 07: What Fine-Tuning Actually Changes</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/07-what-fine-tuning-changes/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/07-what-fine-tuning-changes/</guid>
      <pubDate>Tue, 01 Sep 2026 12:06:00 GMT</pubDate>
      <description>It is real training and it moves the weights permanently. What it moves reliably is form. What it moves badly is fact, and getting those backwards produces a system that is fluent, confident, and wrong. Also the two free things to try first, one of which may be enough.</description>
    </item>
    <item>
      <title>Part 08: Building the Training Set</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/08-building-the-training-set/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/08-building-the-training-set/</guid>
      <pubDate>Tue, 01 Sep 2026 12:07:00 GMT</pubDate>
      <description>The part that decides the outcome, and the one most likely to be skipped because none of it looks like machine learning. Turning fourteen poems into a training file, why six are held back, and the hardest question here: what to write on the prompt side when your source material is answers with the questions missing.</description>
    </item>
    <item>
      <title>Part 09: Reading the Scripts</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/09-reading-the-scripts/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/09-reading-the-scripts/</guid>
      <pubDate>Tue, 01 Sep 2026 12:08:00 GMT</pubDate>
      <description>The three Python files, read properly: what each block does, which lines decide whether it fits on your card, and which four settings are worth touching. Everything in them is short enough to read, which is the point of not using a framework.</description>
    </item>
    <item>
      <title>Part 10: Running the Training</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/10-running-the-training/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/10-running-the-training/</guid>
      <pubDate>Tue, 01 Sep 2026 12:09:00 GMT</pubDate>
      <description>Every command, from a bare virtual machine to a saved adapter. On a single GPU. What the loss curve is and is not telling you, and the four things that went wrong when I did it. A second track runs on about 6 GB if you do not have a big card.</description>
    </item>
    <item>
      <title>Part 11: Judging the Result</title>
      <link>https://anandpatel.com/series/fine-tuning-at-home/11-judging-the-result/</link>
      <guid isPermaLink="true">https://anandpatel.com/series/fine-tuning-at-home/11-judging-the-result/</guid>
      <pubDate>Tue, 01 Sep 2026 12:10:00 GMT</pubDate>
      <description>Merging the adapter, serving it, and testing it against six poems it was never shown, compared against both the untouched model and a carefully prompted one. That last comparison is the one most write-ups quietly skip because it can make the whole exercise look unnecessary.</description>
    </item>
  </channel>
</rss>
