the.ai

Foundations / Functions

verified

Softmax

Softmax turns a list of arbitrary scores into a list of probabilities: everything comes out positive and the whole thing sums to one. It is how a model converts an opinion of unequal strengths into a distribution it can sample from or average over. The largest score gets the most weight, but not all of it.

Viz primitive · update-spectrumtemperature = 1 · bars = 8

8 values. The left group decays steeply; the right group is 33% of the way to flat, and reads flatter than the left.

The same scores as a distribution, before and after temperature is applied. Drag temperature up to watch a confident distribution flatten toward uniform, and down to watch it collapse onto its argmax.

1

Reviewed by opendroid · 2026-08-04