Exercises — Probabilities and softmax
Self-check questions, exercises, and worked answers
← Back to the lesson: Probabilities and softmax
Check the essential idea
Softmax and NLL practice in Mathematical foundations.
- Why are logits not probabilities?
- Why does \(p_\theta(x_t\mid x_{<t})\) depend on the prefix?
- What does temperature change, and what can it not guarantee?
- What is the difference between normalization, calibration, and factual truth?
Show answers
- Logits are unnormalized scores; softmax turns them into positive values that sum to one.
- The model conditions the next token on preceding tokens. The same token can therefore have different probabilities in different contexts.
- Temperature changes distribution concentration and sampling, but guarantees neither truth nor correct calibration.
- Normalization is mathematical, calibration is empirical, and truth depends on facts and evidence.
To practise temperature and decoding filters, see decoding strategies and the Temperature and distribution concentration exercise in the Generation collection.