wordfor

tem·per·a·ture

/ˈtɛm.prə.tʃər/ (TEM-pruh-chur) noun

AI & LLMs

  1. A sampling setting that controls how random a model's output is: low values give predictable answers, high values give varied ones. For generating SQL they set the temperature low; for brainstorming names, high.

Origin

Borrowed from statistical mechanics, where temperature sets how evenly a system spreads across its possible states.

In practice

Use low temperature for code, extraction and anything you test against; reserve higher values for ideation. Some models fix it for you.

Say to your AI

Give me five genuinely different approaches to this, not variations on one. Then recommend one.

In plain words

  • make the AI more creative
  • different answer every time
  • make the output consistent
  • the AI is too random

See also eval hallucination

Find similar words