From a training corpus to a checkpoint
hard 6 minLanguage-model pretraining repeatedly predicts held-out target tokens from their prefixes.
Trace the example
Follow the evidence through each stage, then test a change in the case.
Learn from a missed next token
Data pipeline
Shift and mask the target
Two real target tokens remain after padding positions are excluded. The dataset manifest fixes the sampling mix.