Train a tiny language model
Watch a model’s settings change during training, then check whether its generated text improves.
- Starting information
A small corpus and initial parameters
- Relationship or operation
Compute next-token loss and its gradients
- Consequence
Updated parameters change later predictions
Training changes stored parameters. The bounded local model demonstrates that mechanism; it is not a large general-purpose language model.
Your learning goal
Connect simultaneous gradient updates to sequence loss and generated behavior, while separating learned dependencies from failures on held-out combinations.