BooleanIQ / Learn

AI from the ground up / Level 400 / LESSON 410

Temperature: why the same question gets different answers

Choosing the next token; settings that change it

Know

Coming soon. This is the lesson outline; the full article is not available yet.

The wrong idea this corrects

"A computer gives the same output for the same input, so a different answer means it is broken."

What you will learn

  1. The model outputs a probability for every possible next token
  2. The app picks one by a weighted draw, not always the top one
  3. Temperature: low makes it predictable, high makes it varied
  4. Two related settings narrow the draw to the likely candidates
  5. Apps hide these, builders set them (602).

The picture to remember

A cook who follows the recipe exactly against one who improvises a little each time.

The honest part

"temperature zero" is not a truth switch; a model can be consistently wrong.