Glossary

What is Temperature?

In Turkish: Sıcaklık (temperature) · Topic: Models and training

A setting that controls how random a language model is when choosing the next token. Low values give consistent, predictable replies, while high values give more varied and surprising ones.

How does it work?

At each step the model assigns probabilities to possible tokens. Temperature sharpens or flattens that probability distribution. At a low temperature the most likely token dominates and the model almost always takes the same path. At a high temperature the probabilities move closer together, so less likely tokens get chosen more often. Values near zero amount to always picking the single most likely token. Developers usually adjust this setting through an API.

Why does it matter?

Depending on this setting, the same model can act as a precise data-extraction tool or a creative writing partner. It is one of the main controls balancing repeatability against variety. A low temperature does not remove mistakes, though: a model can repeat a wrong claim consistently.

Example

A customer-support bot typically uses a low temperature, while a tool that suggests slogans or story ideas typically uses a higher one.

FAQ

If I set temperature to zero, will I always get the same answer?

Usually the answers will be very similar, but it is not guaranteed. Hardware and server details can cause small differences.

Does a higher temperature make a model more creative?

It makes output more varied, which is not the same as better creativity. Pushed too high, the text becomes incoherent and may turn nonsensical.

All terms