What is temperature?
A number that divides the logits before softmax. Low values make the model predictable, and high values make it varied.
Where it is taught
Softmax and temperature. A network outputs raw scores of any size and sign. Softmax converts them into a proper probability distribution, and temperature controls how bold it is.
What the lesson leaves you with
- Logits are raw scores. Softmax turns them into probabilities that sum to 1.
- Softmax depends only on differences between logits and keeps their order.
- Temperature divides the logits first: low is sharp and predictable, high is flat and varied.
Questions
- What is temperature?
- A number that divides the logits before softmax. Low values make the model predictable, and high values make it varied.
- Where is temperature used in AI?
- A network outputs raw scores of any size and sign. Softmax converts them into a proper probability distribution, and temperature controls how bold it is.
- What is the key idea to remember about temperature?
- Logits are raw scores. Softmax turns them into probabilities that sum to 1.
- Where can I learn temperature step by step?
- In the lesson “Softmax and temperature” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.