Definition
Temperature is a sampling parameter that controls the randomness of a language model's output, where lower values make responses more focused and deterministic and higher values make them more varied and creative, letting users tune the balance between predictability and diversity.
« Back to Glossary Index
- Tunes output between deterministic precision and creative variety
- Low temperature improves consistency for factual or structured tasks
- High temperature encourages diverse, creative generation
- Gives fine control over model behaviour without changing the model