The maths — softmax and temperature.
How a single dial sharpens or flattens a set of scores into odds — the formula under all of Lesson 5.
You don't need any of this to use temperature. But the maths is unusually clean — one formula, softmax, with a single extra symbol dropped in (÷ T) — so it's worth seeing once, set down in one place.
Softmax turns the model's raw scores for each candidate note into probabilities. Temperature divides those scores first, which stretches or squeezes the gaps between them. That's the whole mechanism — the daring dial from Page 1 was this, and the other dials from Page 2 were trims applied afterwards.
Nudge the three raw scores for notes C, E and G, then drag the temperature and watch the odds spike or flatten — then read the formula that's doing it.
The formulas, in one place.
Each is written the way you'd meet it in a textbook, with a plain-language line above and where it turned up in this lesson below.
pi / pj = ezi − zj — only the gap matters
gap zi−zj → (zi−zj) / T — every gap scaled by 1/T
T → ∞ : pi → 1/n for every note (uniform)
Where to take it next.
Each idea here is a doorway. If you want to keep going, these are the next words to search — each is the natural step up from what you just saw:
None of it is needed to finish the course — but each deepens the picture of what the daring dial is really doing. This is the exact softmax a real LLM runs to turn its logits into next-token odds, and the same maths, borrowed straight from physics, turns up far beyond music-making models.