Temperature
ParametersA parameter (0 to 2) that controls how random or deterministic an AI model's outputs are.
Full Explanation
At temperature 0, the model always picks the most likely next token — highly deterministic and repetitive. At higher temperatures (1-2), lower-probability tokens are sampled more often — producing more varied, creative outputs but potentially less coherent. For factual tasks, use low temperature. For creative writing or brainstorming, use higher temperature.
Temperature 0 for consistent, repeatable outputs. Temperature 0.7-1.0 for creative tasks.
Related Terms
A sampling parameter that limits token selection to the smallest set of tokens whose cumulative probability exceeds P.
A type of AI model trained on vast amounts of text data that can generate, summarize, translate, and reason about language.
The practice of crafting inputs to AI models to reliably get better, more accurate, or more specific outputs.