WEMAXA.COM Design · Development · AI · Available worldwide
Studio / Wemaxa 01
Status Active Location Worldwide Focus Web + AI Delivery Remote Response < 1 Business Day
AI Reference 055 Large Language Models Wikipedia guided Primary sources linked

Temperature and Sampling

Definition

Temperature changes the probability distribution used during sampling. Lower values concentrate probability more strongly; higher values make less likely alternatives easier to sample.

What is sampling?

An LLM produces a probability distribution over possible next tokens. Sampling is the process of choosing from that distribution rather than always selecting only the single most probable token.

What temperature changes

Temperature rescales token probabilities before sampling. Lower temperature makes the distribution sharper, so high-probability tokens dominate. Higher temperature flattens the distribution, making lower-probability alternatives easier to choose.

What temperature does not do

Temperature affects variability, not factual verification. Setting temperature to zero or near zero can make output more repeatable, but a model can still repeat the same incorrect claim consistently. Grounding and checking sources solve a different problem.

Related terms, defined

Reference guide and primary sources

Wikipedia is used here as a terminology and history reference guide. Current model versions, institutional statistics and product-specific claims are also linked to first-party or institutional sources because those details can change faster than encyclopedia articles.