GistGarden
Artificial Intelligence Difficulty 35/100

Temperature

Turning up the weirdness dial.

Temperature monster
Turning up the weirdness dial.
⚡ The 5-second answer

Temperature controls how creative or random an AI's responses are.

Explain like I'm five

Imagine you're baking cookies. Low temperature means you follow the recipe exactly, making the same cookies every time. High temperature means you start adding random ingredients like gummy bears or hot sauce, giving you wild, unpredictable cookies.

Why it matters

It lets you tune whether you want safe, predictable answers or fresh, surprising ones. You see it in chatbots like ChatGPT when you adjust the 'creativity' slider.

Common misconception

Many think temperature is about how 'hot' or emotional the AI is. Actually, it's a mathematical setting that controls randomness in word choice, not feelings.

Formal definition

Temperature is a hyperparameter in language models that scales the logits (raw scores) before applying softmax, affecting the probability distribution over tokens. Higher values (e.g., 1.5) make the distribution more uniform, increasing randomness; lower values (e.g., 0.2) sharpen it, making the most likely token dominate.