The Extra Code Is Not Another Brain
Flash Attention, mixed precision, DDP, shards, checkpointing, and HellaSwag without pretending I trained GPT-2.
Index / term
Flash Attention, mixed precision, DDP, shards, checkpointing, and HellaSwag without pretending I trained GPT-2.
Tiny Shakespeare ablations for context, depth, and width—and the caveats that matter more than the leaderboard.
The complete Tiny Shakespeare baseline as an instrument: diagnostics, curve, checkpoint, and one revealing broken specimen.
Pre-LN, identity gradients, residual initialization, and why a block is two writes into one persistent stream.
From a loop mean to scaled causal self-attention, following every tensor shape through the implementation.
A shifted batch, 4,096 simultaneous next-character bets, and the first numerical check that tells me whether the model is alive.