What is temperature?
Scales the randomness of sampling; 0 is greedy.
Learn it properly in the lesson →
Where it comes up
Lessons that use this term, most mentions first.
- Sampling parameters that matter · 12 min · free
- Lab: build an eval harness · 60 min · Pro
- Speculative decoding · 22 min · Pro
- The host side: CPU overhead, tokenisation, sampling and streaming · 14 min · Pro
- Generation: sampling strategies and the KV cache · 16 min · Pro
- Lab: train a tiny GPT in pure Python · 60 min · Pro
- Non-determinism and batch invariance: why temperature 0 is not repeatable · 15 min · Pro
- Platform tuning: Apple Silicon, NVIDIA, AMD and CPU-only machines · 15 min · Pro