What is Temperature?
LLM Engineering
Temperature — A parameter that controls randomness in LLM outputs. Temperature 0 gives deterministic (most likely) outputs. Higher values (0.7-1.0) increase creativity and diversity.
FAQ
What is temperature in LLMs?
A number (0-2) controlling output randomness. 0 = deterministic, 0.7 = balanced, 1.0+ = creative/random.
What temperature should I use?
0 for factual/code tasks. 0.3-0.7 for general use. 0.8-1.0 for creative writing.
Related Terms
Learn Temperature in depth
Free hands-on course with code examples and Google Colab notebooks.
Start Course →