Become an AI engineer
The transformer, plainly
The transformer, plainly is a unit of 24 lessons in Rabbithole's Become an AI engineer course, at level 2.
Lessons
- How a Language Model Writes One Token at a TimeLevel 2
- Long context: what it costs and how to trust itLevel 2
- The TransformerLevel 2
- Attention: How AI Decides What MattersLevel 2
- Beam search: keeping several options openLevel 2
- BERT: the language model that set recordsLevel 2
- Encoder-Decoder ModelsLevel 2
- Feed-Forward (MLP) LayersLevel 2
- Grouped-Query Attention: Sharing Memory to Go FasterLevel 2
- The KV Cache: Why AI Remembers Instead of RecomputingLevel 2
- Latent GeneralizationLevel 2
- Linear Attention: Reading Without RereadingLevel 2
- Masked Language ModellingLevel 2
- Mixture of Experts: Bigger Models Without More ComputeLevel 2
- Multi-head attention: many small looks at onceLevel 2
- Multi-Head Latent Attention (MLA)Level 2
- Multi-Token Prediction: Guessing Two Words at OnceLevel 2
- Positional encoding: how AI knows word orderLevel 2
- The Residual Stream: A Model's Message ChannelLevel 2
- The Reversal CurseLevel 2
- Query, Key, Value: How AI Words Pay AttentionLevel 2
- Sliding Window Attention: reading only the recent partLevel 2
- Sparse Attention: Looking at Fewer TokensLevel 2
- The Vision TransformerLevel 2
Sources
These lessons draw on 27 sources. The most used: