AI
83 lessons and 573 connections between them, based on the cross-references in each lesson. Point at a lesson to see its own links. For reading order, seethe AI track page.
TrackAllFrom ScratchSystem DesignDSAAIMind BlownDevOpsFinanceNetworkingHow Computers WorkSecurityPsychologyDatabase InternalsPhilosophyGame TheoryHow Things WorkData SystemsPersonal DevelopmentPortfolio Projects
- What a Neural Network Is22 lessons link here
- How It Learns (loss, gradient descent, backprop)23 lessons link here
- Tokens & Embeddings25 lessons link here
- Attention & the Transformer24 lessons link here
- From Transformer to LLM15 lessons link here
- Inference (sampling, context, KV cache, hallucination)21 lessons link here
- Fine-tuning & Alignment21 lessons link here
- RAG (Retrieval-Augmented Generation)11 lessons link here
- Agents & Tool Use12 lessons link here
- Capstone: Anatomy of an LLM App6 lessons link here
- Inference at Scale (why an LLM is fast, and cheap)18 lessons link here
- Reasoning & Test-Time Compute (why "thinking longer" works)11 lessons link here
- Evaluating Models (how do you *know* it's good?)13 lessons link here
- Diffusion & Image Generation (sculpting from noise)5 lessons link here
- Multimodality (teaching an LLM to see)4 lessons link here
- Mixture of Experts (a big brain with a cheap forward pass)5 lessons link here
- Inference Engineering (serving an LLM is a systems problem)11 lessons link here
- The Two Clocks (TTFT, TPOT, and why goodput is the number)22 lessons link here
- Prefix Caching (the same start, computed once)17 lessons link here
- Chunked Prefill (one long prompt must not freeze the room)7 lessons link here
- Prefill / Decode Split (two pools, one KV in flight)6 lessons link here
- Constrained Decoding (the grammar holds the pen)9 lessons link here
- Routing and Cascades (not every request needs the big model)9 lessons link here
- What the Model Sees (one string, every turn, from the top)13 lessons link here
- Prompt Engineering (shaping the next-token distribution)8 lessons link here
- Context Engineering (what goes in the window, and who decides)15 lessons link here
- Structured Output and Tool Schemas (the contract between model and code)12 lessons link here
- The Loop (an agent is a while loop around one model call)12 lessons link here
- The Harness (everything around the loop that the model never touches)13 lessons link here
- Memory (four places a fact can live, and only one of them is the model)6 lessons link here
- Graphs and State Machines (when the shape of the task is known, draw it)7 lessons link here
- Multi-Agent (a second loop is a second window, not a second mind)6 lessons link here
- Evals for Apps (the test suite for a program that is a string)19 lessons link here
- Guardrails, Cost and Latency (the three budgets the harness enforces)9 lessons link here
- One Knob, One Slope3 lessons link here
- Sycophancy (the desk that agrees with whoever spoke last)1 lesson links here
- Vectors, Dot Products and Matrix Multiply11 lessons link here
- The Maths Floor, Part 2: Probability, Softmax and Temperature9 lessons link here
- Precision and Recall (where to set the spam filter's bar)7 lessons link here
- Why the Loss Won't Go Down7 lessons link here
- Convolutional Networks1 lesson links here
- RNNs and LSTMs2 lessons link here
- A LoRA Run3 lessons link here
- The GPU (thousands of cores, and the memory that feeds them)7 lessons link here
- Four Ways to Split a Model6 lessons link here
- Looking Inside the Model1 lesson links here
- Red-Teaming (breaking your own model before a customer does)2 lessons link here
- Autograd by Hand7 lessons link here
- The Bigram Model6 lessons link here
- The MLP Language Model3 lessons link here
- Attention by Hand4 lessons link here
- The GPT Block4 lessons link here
- Sampling and What Scale Buys6 lessons link here
- RAG Over Your Own Notes1 lesson links here
- The Returns Desk, For Real (a real model, a real harness, and a dress rehearsal that fails)0 lessons link here
- Build Your Own Inference Engine6 lessons link here
- Serve 01: The KV Cache7 lessons link here
- Batching: A Slot That Frees Early5 lessons link here
- Paged Attention: The Cache in Blocks5 lessons link here
- The Prefix Cache: Computed Once3 lessons link here
- Speculative Decoding: The Bigram Drafts, the GPT Checks2 lessons link here
- The Engine, Whole3 lessons link here
- Stop and Resume (the button that has to reach the card, and the stream that has to come back)0 lessons link here
- Trees, forests and boosting2 lessons link here
- Groups nobody labelled: k-means and PCA2 lessons link here
- Honest scores: cross-validation, leakage and bias-variance2 lessons link here
- Where the field stands now, November 20260 lessons link here
- Learning from a score: policy gradients, PPO and GRPO2 lessons link here
- One plug for every tool: MCP and agent protocols0 lessons link here
- The library layer: PyTorch, Hugging Face and a free GPU0 lessons link here
- What the model ate: pretraining data and the recipe1 lesson links here
- Agents that use a computer: coding agents and long horizons1 lesson links here
- Keeping it honest and safe: alignment and responsible AI0 lessons link here
- Odds and surprise: probability and information for ML1 lesson links here
- Rank, SVD and the shape of data1 lesson links here
- Retrieval that finds the right page: advanced RAG1 lesson links here
- Attention, grown up: RoPE, GQA, FlashAttention and Mamba0 lessons link here
- Sound and moving pictures: speech, TTS and video1 lesson links here
- The small model that learned from the big one: distillation and on-device0 lessons link here
- Borrowed eyes: transfer learning, autoencoders, VAEs and GANs0 lessons link here
- Build the tokenizer: BPE by hand0 lessons link here
- When the long run breaks: training diagnostics at scale0 lessons link here
- People who bought this: recommenders and time series0 lessons link here