Study Chapters (7)
Start at Chapter 1 for a ground-up tour from tokens to world models, or jump straight to the topic you are studying today. Every chapter links directly to its underlying glossary cards.
How LLMs Actually Work
From raw text to next-token probabilities: tokenization, embeddings, self-attention, pretraining as flashcards, logits, temperature, and KV caching.
Training, Fine-Tuning & Adaptation
How weights actually change (backprop), when to use RAG vs. SFT vs. LoRA vs. distillation, and how to match compute and data to your real problem size.
Reinforcement Learning Foundations
Separating the author from the player, Environments and POMDPs, discounting, delayed credit assignment, why naive Q-learning fails, Residual RL, and Domain Randomization.
Policy Gradients & Modern RL
The progression from REINFORCE to Actor-Critic, Advantage & GAE, PPO clipping, Entropy bonuses, On-Policy vs. Off-Policy, and Vectorized Environments.
LLM Post-Training (RLHF, RLVR & GRPO)
How Transformers connect to Monte Carlo rollouts, why RLVR scales reasoning without human raters, and how GRPO removes the Critic network.
Evals, Calibration & Alignment
Why long JSON generations drift, how Goodhart's Law breaks naive benchmarks, five defenses for reliable evals, and honest probability calibration.
Optimization, Simulation & World Models
When to use Linear Programming instead of RL, metastability and phase transitions in complex systems, the sim-to-real gap, and latent planning with World Models / JEPA.