SR
Sofia Reyes
2 days ago
Dense but never confusing. Every chapter builds cleanly on the last — you can feel the care in the structure.

Build a GPT-style LLM from an empty file.
From tokenizer to trained transformer: attention, GPT blocks, pretraining, and fine-tuning, built by hand and illustrated.
Download the EPUB and read offline — perfect for the train. Works on Kindle, Kobo, Apple Books & more.
LLM Basics — 6 chapters.
01Course Introductionconceptfree12 min02What are LLMs?conceptfree12 min03Pretraining vs Finetuning LLMs🔒12 min04What are transformers?concept🔒14 min05How does GPT-3 really work?🔒13 min06Stages of building an LLM from scratchcode🔒14 minLLM Attention Mechanism — 6 chapters.
07Introduction to the Attention Mechanismconcept🔒11 min08Simplified Attention Mechanism - Code from Scratchcode🔒11 min09The self attention mechanism with keys, query and values: coded form scratchcode🔒12 min10Causal Self Attention - Coded from scratchcode🔒13 min11Multi-head Attention - Part 1🔒13 min12Multi-head Attention - Part 2🔒13 minDense but never confusing. Every chapter builds cleanly on the last — you can feel the care in the structure.
Practical and rigorous at the same time. I went straight from reading a capsule to shipping it at work.
The hand-drawn diagrams make abstract ideas click instantly. Wish every technical book was written like this.