Phase 07

Transformers Deep Dive

The architecture that changed everything. Understand every layer.

Block 07 of twenty — stretch 3 of five in the beginner level. Knows the ML basics. If that is you, everything below is on your road; if it is not, read it anyway — every block stands alone, and the levels suggest an order rather than enforce one.

Work the list top to bottom the first time — 16 readings, one page each. Everything is free to read with no account, and the reader's previous-and-next arrows follow this exact order, so an account lets you stop mid-list and pick the thread back up anywhere. Short quizzes before and after each reading keep the progress honest: they say what to skim and what to reread, and nothing here expires or locks.

Each reading follows the same shape: a two-minute warm-up that shows what you already know, the page itself — explanations with working code, not slides — and a short check afterwards that proves the point landed. Finish one and the next is one click away; the blocks that lean toward portfolio work say so in their taglines, and their final readings end with something you can show rather than a score.

When the list is done, the beginner level page shows where the road goes next, and the routes named below bundle this material into career-shaped arcs if you want the structure. Not sure this is your ground at all? The two-minute placement quiz points you at the block where the challenge starts for you — and if you were right about knowing this material, the quizzes along the way will be the fastest twenty minutes you spend on it.

Lessons (16)

  1. 01Why Transformers — The Problems with RNNs
  2. 02Self-Attention from Scratch
  3. 03Multi-Head Attention
  4. 04Positional Encoding — Sinusoidal, RoPE, ALiBi
  5. 05The Full Transformer — Encoder + Decoder
  6. 06BERT — Masked Language Modeling
  7. 07GPT — Causal Language Modeling
  8. 08T5, BART — Encoder-Decoder Models
  9. 09Vision Transformers (ViT)
  10. 10Audio Transformers — Whisper Architecture
  11. 11Mixture of Experts (MoE)
  12. 12KV Cache, Flash Attention & Inference Optimization
  13. 13Scaling Laws
  14. 14Build a Transformer from Scratch — The Capstone
  15. 15Attention Variants — Sliding Window, Sparse, Differential
  16. 16Speculative Decoding — Draft, Verify, Repeat