Skip to content

Temperature

A parameter that controls the randomness of a language model's output. Lower values (e.g., 0.1) produce more deterministic, focused responses; higher values (e.g., 1.0) produce more creative, varied outputs. A temperature of 0 always picks the most likely next token.

Related terms

Top-K SamplingTop-P Sampling (Nucleus Sampling)Logits
← Back to glossary