LLMs, the whole thing · Part 11
Training GPT from Scratch: Loss, Learning, and the Next Token
Chapter 5 connects next-token loss to real parameter updates, then separates training from decoding. My notes on batches, perplexity, validation, sampling, checkpoints, and pretrained GPT-2 weights.