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).