Back to list
Lv.2

Temperature Parameter

Temperature Parameter

A numeric setting that controls how random an AI's output is when generating text.

In Simple Terms

The temperature parameter is a setting that controls how much freedom an AI has when choosing its words. Set it low, and the AI tends to pick the safest, most probable word every time, giving you nearly identical answers to the same question. Set it high, and the AI starts picking words more randomly, producing more varied and creative writing. People adjust this value depending on what they're trying to achieve.

Behind the Name

The name "temperature parameter" comes from the concept of temperature in physics. It's a nod to how molecules move wildly and chaotically when hot, but settle into a calm, fixed pattern when cold. That same word, "temperature," gets borrowed to describe how random or unpredictable an AI's output can be.

Take a Closer Look!

The temperature parameter is a setting that controls how varied or random the output is when a generative AI creates text.
Its value changes the basis on which the AI picks a word from its list of candidates.

In simple terms, you could call temperature a measure of how much creative freedom the AI has.
Set the value close to 0, and the AI tends to pick the highest-probability word. Set it exactly to 0, and it always picks the single most probable word, so the same question gets nearly the same answer every time.
Because of this, a low temperature suits situations where you want stable, predictable output, like formulaic writing or organizing data.

Raise the value, on the other hand, and the AI becomes more willing to pick words with somewhat lower probability too.
This makes unexpected phrasing and interesting ideas more likely to appear.
People turn the temperature up when they want varied output, like writing fiction or brainstorming ideas.

CategoryAI