7/30
Part 2 of 6 · Loss checksLearn
Read the first loss three ways: healthy, too high or too low
Slide the loss you measured, or pick one of the three inits, and read it:
ln 65 = 4.174.19
below: a leak just above: healthy far above: logits too big
4.19 sits 0.02 above ln 65. That gap means logits with a spread of about √(2 × 0.02) = 0.18. Healthy: move on.
- Within a few hundredths of . Healthy. Move on.
- Far above . The logits are too large, so the model starts confident and wrong. Follow the logit size back through the head and its init. This is usually worse, not wrong: the model still trains. It spends its first steps shrinking the logits, so the curve drops steeply and then runs flat, a shape Karpathy calls a hockey stick.
- Well below . Before learning anything, the model already gives the right answers a high chance. A random model can't know them, so something is handing them over. That's a leak, and the next checks find it.