AI & ML — LAB
Softmax Lab
Enter any logits, adjust temperature, and watch the resulting probability distribution update live as a bar chart. This is the same formula covered in Probability & Softmax, built as a free-form workspace instead of fixed presets.
How to Use This Lab
- Use +/− to add or remove tokens (2 to 6 of them).
- Type any logit value for each token — positive, negative, or zero.
- Drag the temperature slider to see the distribution flatten (above 1) or sharpen (below 1), with the exact numbers updating alongside the bar chart.
The Lab
Want the full explanation — numerical stability, cross-entropy loss, perplexity, and how nucleus sampling adapts to distribution confidence? Read Probability & Softmax →