Part I · 5 chapters
Neural Network Foundations
Distinguish fixed computation from trained parameters; see shapes and losses.
5/5 source lessonsFrom your first trainable neuron to a complete tiny language model. Change a number, follow its consequences, and understand every step.
Public beta · 66 chapters · final browser acceptance incomplete
Part I · 5 chapters
Distinguish fixed computation from trained parameters; see shapes and losses.
5/5 source lessonsPart II · 10 chapters
Calculate the full backward pass by hand before using autograd.
10/10 source lessonsPart III · 3 chapters
Treat token IDs as indices and learn distributed vectors from a loss.
3/3 source lessonsPart IV · 3 chapters
Model ordered states and understand recurrent gradient limitations.
3/3 source lessonsPart V · 5 chapters
Compute single-head attention with exact masks and faithful probabilities.
5/5 source lessonsPart VI · 3 chapters
Separate independent heads and reconstruct the projected output.
3/3 source lessonsPart VII · 4 chapters
Assemble residual, normalization and MLP mechanics.
4/4 source lessonsPart VIII · 3 chapters
Describe and compute positional signals and RoPE.
3/3 source lessonsPart IX · 3 chapters
Convert Unicode text to reversible token IDs using deterministic algorithms.
3/3 source lessonsPart X · 4 chapters
Compute causal likelihoods and next-token training losses.
4/4 source lessonsPart XI · 4 chapters
Trace prefill, decoding, probabilities and controlled sampling.
4/4 source lessonsPart XII · 3 chapters
Verify cached decoding and understand costs and invalidation.
3/3 source lessonsPart XIII · 4 chapters
Explain data flow, optimizer steps, checkpoints and limitations.
4/4 source lessonsPart XIV · 4 chapters
Inspect adaptation methods, preference objectives and their limits.
4/4 source lessonsPart XV · 8 chapters
Evaluate architectural variants and integrated systems with explicit caveats.
8/8 source lessons