Zenaique
Glossary · Inference

Greedy Decoding

Also known as: Argmax decoding

At each step, pick the single highest-probability token. Fast and deterministic, but often loops.

The simplest decoding strategy: at each step, pick the single highest-probability next token. Fast and deterministic but prone to repetitive loops and missed globally-better completions.

In practice

The simplest baseline. Knowing why everyone uses temperature/top-p instead is foundational.

How it compares

Greedy picks the argmax; top-p samples from a dynamic nucleus of plausible tokens.

Comparisons that include Greedy Decoding

Related topics

Related terms