What is temperature in AI
Temperature is a setting that changes the chances of the words a model picks next. Low temperature makes answers predictable; high temperature makes them bolder and more random.
The model gives each option a probability and "rolls the dice" weighted by those chances, which is why the same question gets different answers. Low temperature suits tasks with one right answer (a budget, a table, a translation), high temperature suits ideas. Predictable does not mean correct: a model can confidently repeat the same mistake.
Covered in the lessonWhy the answers differ every timeOpen the lesson →
Articles on this topic
- What Is a Neural Network? AI, ML and LLMs Explained Simply
- What Is RAG in AI? Retrieval-Augmented Generation Explained
- System prompt leakage: how chatbots give away their secrets
Free course on this topic: AI basics →
More terms from this course
- What is an AI agent
- What is an AI hallucination
- What is chain of thought
- What is a context window
- What is an embedding
- What is few-shot prompting
- What is a knowledge cutoff
- What is an LLM (large language model)
- What is machine learning
- What is multimodal AI
- What is a neural network
- What is a prompt
- What is RAG
- What is RLHF
- What is a system prompt
- What is a tokenizer
- What is voice cloning