the.ai

Inference / Decoding

verified

Autoregressive Decoding

A language model does not write a sentence, it writes a token and then reads what it wrote. Each step produces a distribution over the vocabulary, one token is chosen from it, and the choice becomes part of the input for the next step. The whole output is that loop, run until something stops 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 distribution over candidate tokens at one step, before and after temperature. Drag it up to watch the choice spread out toward uniform — the collapse onto one token is the same knob turned the other way, past the left edge of this figure.

1

Reviewed by opendroid · 2026-08-17