Temperature

Domain: LLM Concepts

🎯 Motivation

Temperature controls randomness in LLM output. Low temperature = focused and predictable. High temperature = creative and varied.

πŸ“‹ Concrete Example

Temperature 0: β€˜What color is grass?’ always gives Green. Temperature 1: might give β€˜Green, usually, though some varieties can be yellowish or brown in drought.’ Temperature 2: might give nonsense.

πŸ”— Analogy

A chef’s creativity dial - at 0, they follow the recipe exactly every time. At 0.5, they might add a twist. At 1.0, they improvise freely. At 2.0, they might throw in random ingredients (chaos).