Also used as: temperature, sampling temperature, model temperature.
Generation temperature is a control parameter that influences randomness in a model's output selection. According to Google's glossary, higher temperatures produce more randomness, while lower temperatures produce less. The appropriate choice depends on the application. This describes variation during generation, rather than measuring knowledge or factual accuracy. Source: Google, temperature.
What the control changes
Language model generation uses probabilities. At a relatively low temperature, selection favors higher-probability outputs. At a relatively high temperature, lower-probability outputs can be selected more often. This mechanism helps explain why the same request can produce formulations with more or less variation. Source: Google, probabilistic.
Temperature also differs from the parameters learned during training, such as a model's weights and biases. Those values result from training; temperature is a configuration supplied to guide generation. Changing it is not equivalent to retraining the model or supplying new facts. Source: Google, parameter.
Hypothetical configuration choice
A training team wants to create alternative wordings for an exercise. It could compare temperature settings while keeping the task the same and examine the variety and suitability of the alternatives. Review would need to check whether each wording still respects the content being taught.
For another activity, such as turning a request into record fields, the team may prefer greater consistency. It must still verify that the fields correspond to the input. Repeated or predictable wording does not establish that the information is correct.
The most important confusion is treating low temperature as sufficient protection against hallucinations. Plausible but factually incorrect output needs to be assessed through its content and supporting evidence, not just a generation setting. Source: Google, hallucination.
Before selecting a value, the organization should check which controls the model and interface allow and test the configuration on the actual task. The choice should balance the variation desired with the criteria of the work, rather than treat a numerical recipe as a universal rule for every request or system.
Sources
- Machine Learning Glossary: Temperature Google for Developers
No universal numerical setting, reproducibility guarantee, or rule that low temperature prevents hallucination is asserted.
- Machine Learning Glossary: Probabilistic Google for Developers
- Machine Learning Glossary: Parameter Google for Developers
- Machine Learning Glossary: Hallucination Google for Developers
A conversation about your organization.
Before recommending any tool, we talk with your teams and map how the work really happens.
Arrange a conversation


