AI From Scratch/Phase 19/Lesson 47/~90 minutes

Checkpoint Save and Resume

BuildPython

Train interrupts kill runs; checkpoints let them continue. Save model, optimizer, scheduler, loss history, step counter, and RNG state, atomically, so a kill at any moment leaves a valid file on disk.

Loading lesson page...