Zenaique
Glossary · Inference

Temperature

Also known as: Sampling temperature

Sampling knob (low = focused, high = diverse), applied to the logits before softmax.

A sampling parameter that controls the randomness of LLM outputs. Low temperature (0.0-0.3) produces deterministic, focused responses; high temperature (0.7-1.0+) produces more creative, diverse outputs.

In practice

First knob to reach for when output is too random or too repetitive. Expect questions on its interaction with top-p and top-k.

Related topics

Practice questions

Questions that mention this term

Related terms