Skip to content

Temperature & Top-p, Visually Explained

Two dials control model randomness — temperature spreads the odds, top-p cuts the tail.

Animated diagrams · 2 flows

Compare all 2

Sort by any column to find the right fit. Click a name to open its details.

Temperature Spreads the Oddsone-wayper tokensampling stepin-modelsoftmax scalingtuning determinism
Top-p Cuts the Tailone-wayper tokensampling stepin-modelsort + prefix sumcapping outliers