Simon Verwaal. Glossary

Temperature

A setting affecting variation during text generation

A parameter that changes the distribution of possible next tokens when sampling.

Temperature affects how a model samples from possible next tokens. Lower values generally sharpen the distribution; higher values give less probable options relatively more room. It is not a factual-accuracy control. A response with little variation can still be consistently wrong. Support and behaviour differ across models, and other generation settings also matter. Test on your actual task. For extracting product attributes, source quality, a clear output format and validation are often more useful than repeatedly adjusting one parameter in the hope that factual errors will disappear.

Related terms

Further reading

T ยท Back to all terms