Skip to content
LearnAI

PART 10 · REFERENCE

Learning paths

Three routes through the material. Each is just an ordered reading list; follow it, skip around, or mix.

Just curious

No math or code needed · 5 lessons · ≈ 1 h 10 min

About an hour for the big picture: what AI and LLMs are, how text becomes tokens and predictions, how a raw predictor is trained into an assistant, and why it sometimes makes things up. Every lesson links onward if you get hooked.

  1. 1Part 0What are AI, ML, deep learning and LLMs?15 min
  2. 2Part 2Tokenization & BPE13 min
  3. 3Part 2Next-token prediction: the core idea13 min
  4. 4Part 3Post-training I: SFT & instruction tuning13 min
  5. 5Part 9Hallucination: why models make things up16 min

Engineer

Comfortable with code; some math welcome · 26 lessons · ≈ 5 h 59 min

Enough depth to build with and reason about LLMs: the Transformer end to end, training & post-training, inference efficiency, and practical RAG/agents/fine-tuning.

  1. 1Part 0What are AI, ML, deep learning and LLMs?15 min
  2. 2Part 1Probability, softmax & cross-entropy13 min
  3. 3Part 1Loss functions & gradient descent10 min
  4. 4Part 1Neurons, layers & activation functions17 min
  5. 5Part 1Backpropagation & the chain rule15 min
  6. 6Part 2Tokenization & BPE13 min
  7. 7Part 2Embeddings & semantic space13 min
  8. 8Part 2Next-token prediction: the core idea13 min
  9. 9Part 2Self-attention step by step16 min
  10. 10Part 2The full Transformer: follow one token13 min
  11. 11Part 2Sampling: temperature, top-k, top-p13 min
  12. 12Part 3Scaling laws: Kaplan & Chinchilla13 min
  13. 13Part 3Post-training I: SFT & instruction tuning13 min
  14. 14Part 3PPO vs DPO vs GRPO17 min
  15. 15Part 3Reasoning models: CoT, RLVR & test-time compute13 min
  16. 16Part 4The KV cache14 min
  17. 17Part 4Quantization14 min
  18. 18Part 4Mixture of Experts13 min
  19. 19Part 4Serving: batching & PagedAttention15 min
  20. 20Part 5Comparing open models: how they differ and why15 min
  21. 21Part 6Prompting, system prompts & few-shot15 min
  22. 22Part 6Retrieval-augmented generation (RAG)13 min
  23. 23Part 6Tool use, function calling & agents12 min
  24. 24Part 6The Model Context Protocol (MCP)14 min
  25. 25Part 6Fine-tuning: LoRA & QLoRA13 min
  26. 26Part 6Evaluation, benchmarks & their pitfalls14 min

Full deep dive

Everything, in order · 67 lessons · ≈ 15 h 36 min

Every lesson from first principles to frontier open models, multimodal systems and diffusion. Do the Math Corners.

  1. 1Part 0What are AI, ML, deep learning and LLMs?15 min
  2. 2Part 0A short history: from perceptrons to ChatGPT14 min
  3. 3Part 0How to use this site (and a map of everything)10 min
  4. 4Part 1Functions & learning from data13 min
  5. 5Part 1Vectors & dot products13 min
  6. 6Part 1Matrices as transformations12 min
  7. 7Part 1Probability, softmax & cross-entropy13 min
  8. 8Part 1Loss functions & gradient descent10 min
  9. 9Part 1Neurons, layers & activation functions17 min
  10. 10Part 1Backpropagation & the chain rule15 min
  11. 11Part 1Overfitting, regularization & data splits16 min
  12. 12Part 2Tokenization & BPE13 min
  13. 13Part 2Embeddings & semantic space13 min
  14. 14Part 2Next-token prediction: the core idea13 min
  15. 15Part 2From RNNs to attention13 min
  16. 16Part 2Self-attention step by step16 min
  17. 17Part 2Multi-head attention14 min
  18. 18Part 2Positional encoding: sinusoids to RoPE16 min
  19. 19Part 2LayerNorm, RMSNorm & residual connections15 min
  20. 20Part 2The full Transformer: follow one token13 min
  21. 21Part 2Sampling: temperature, top-k, top-p13 min
  22. 22Part 3Pretraining data: collect, clean, dedup, mix16 min
  23. 23Part 3Scaling laws: Kaplan & Chinchilla13 min
  24. 24Part 3Optimizers: SGD → Adam/AdamW → Muon15 min
  25. 25Part 3Distributed training: data, tensor, pipeline & expert parallelism15 min
  26. 26Part 3Mixed precision: FP32, BF16, FP814 min
  27. 27Part 3Post-training I: SFT & instruction tuning13 min
  28. 28Part 3Post-training II: RLHF & reward models13 min
  29. 29Part 3PPO vs DPO vs GRPO17 min
  30. 30Part 3Reasoning models: CoT, RLVR & test-time compute13 min
  31. 31Part 3Distillation15 min
  32. 32Part 4The KV cache14 min
  33. 33Part 4Quantization14 min
  34. 34Part 4Mixture of Experts13 min
  35. 35Part 4MHA vs MQA vs GQA vs MLA15 min
  36. 36Part 4Long context & FlashAttention14 min
  37. 37Part 4Speculative decoding & multi-token prediction13 min
  38. 38Part 4Serving: batching & PagedAttention15 min
  39. 39Part 5The open-weight landscape16 min
  40. 40Part 5DeepSeek: V3, R1 and beyond14 min
  41. 41Part 5Kimi (Moonshot AI): K2 and beyond13 min
  42. 42Part 5Qwen (Alibaba): Qwen2.5, Qwen3 and beyond13 min
  43. 43Part 5Llama, Mistral, Gemma, GLM, gpt-oss & more13 min
  44. 44Part 5Comparing open models: how they differ and why15 min
  45. 45Part 6Prompting, system prompts & few-shot15 min
  46. 46Part 6Embeddings & vector search14 min
  47. 47Part 6Retrieval-augmented generation (RAG)13 min
  48. 48Part 6Tool use, function calling & agents12 min
  49. 49Part 6The Model Context Protocol (MCP)14 min
  50. 50Part 6Fine-tuning: LoRA & QLoRA13 min
  51. 51Part 6Evaluation, benchmarks & their pitfalls14 min
  52. 52Part 7Vision Transformers: images as tokens14 min
  53. 53Part 7CLIP & contrastive learning13 min
  54. 54Part 7Vision-language models14 min
  55. 55Part 7Audio: speech recognition, TTS & audio tokens17 min
  56. 56Part 7Native any-to-any (omni) models14 min
  57. 57Part 8Autoencoders, VAEs & latent space13 min
  58. 58Part 8GANs (a brief history)11 min
  59. 59Part 8Diffusion: noising & denoising17 min
  60. 60Part 8Stable Diffusion & classifier-free guidance16 min
  61. 61Part 8ControlNet, LoRA, img2img & inpainting13 min
  62. 62Part 8Diffusion Transformers & flow matching14 min
  63. 63Part 8Video generation basics13 min
  64. 64Part 9Hallucination: why models make things up16 min
  65. 65Part 9Bias & alignment15 min
  66. 66Part 9Jailbreaks & prompt injection (conceptual)13 min
  67. 67Part 9Interpretability: features, superposition & probing15 min
Type to search across all lessons and glossary terms.