Glossary · Term

temperature

← all terms

Definition

Plain language

A knob that controls how creative or how predictable a model's output is.

As stated in the literature

A scalar that scales logits before softmax during sampling; higher values flatten the distribution and produce more diverse outputs, lower values make generation more deterministic.

Why it matters: It is the simplest knob for trading off creativity against reliability, and the right setting depends heavily on whether the task is open-ended or factual.

For example, setting temperature to 0 makes the model pick the single most likely next word every time, while a temperature of 1 lets it sample more freely.

Heard on the show

“Second concern is the temperature confound, and this is the one I think is most worth flagging.”
Episode 011 — When RL Actually Teaches Agents Something New, And When It Doesn't

Related terms