A ai coolAId

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.

Chapter 1

How LLMs Actually Work

From raw text to next-token probabilities: tokenization, embeddings, self-attention, pretraining as flashcards, logits, temperature, and KV caching.

Chapter 2

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.

Chapter 3

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.

Chapter 4

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.

Chapter 5

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.

Chapter 6

Evals, Calibration & Alignment

Why long JSON generations drift, how Goodhart's Law breaks naive benchmarks, five defenses for reliable evals, and honest probability calibration.

Chapter 7

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.