Deterministic Generation
What is Deterministic Generation?
In one sentence: Deterministic generation means the model gives the exact same output every time for the same input.
This usually happens by always choosing the most likely token, often called greedy decoding or temperature 0. In practice, tiny differences in hardware and batching can still cause small changes, so perfect repeatability is harder than it sounds.
What does Deterministic Generation look like?
A test tool that needs the same answer every run uses deterministic generation settings.
Why does Deterministic Generation matter?
Repeatable output matters for testing, debugging and tasks where consistency is important.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/deterministic-generation/">Deterministic Generation, explained simply</a> (The AI Math Dictionary)