By Team Edtoolkits · AI learning
Check equal scores and temperature effects while distinguishing normalized token probabilities from factual confidence.
Use the guide alongside the working tool.
Open Softmax: Scores to Percentages →Worked example
Scores: 0, 0, 0, 0; temperature: 1
Each probability: 25%; total: 100%
With equal scores, changing temperature keeps them equal.Softmax converts relative scores into a normalized distribution. A displayed probability is not a calibrated claim that an answer is factually correct.
Use the tool
Watch scores become a 100% bar.
Drag the scores and the temperature.
Follow the three steps: exponent, add up, divide.
Keep score and probability distinct
Exponentiate the temperature-scaled scores, sum those exponentials and divide each by the sum. Raising one score increases its relative share. For unequal scores, lower temperature concentrates probability; higher temperature flattens it.
Interpret this as a small teaching example
The lesson has four invented candidate words, unlike the much larger vocabularies of real models. Sampling from a distribution can pick a lower-probability candidate. Neither a favourite word nor a narrow distribution establishes that generated text is truthful.
Privacy and limits
Four made-up candidate words with scores you set. Real models run softmax over tens of thousands of scores. Nothing leaves your browser.
Ready to apply this workflow?
Try Softmax: Scores to Percentages →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.