Sampling
Author: Mehdi Sadriu, independent educator. Last reviewed: 25 November 2026. How we check claims: methodology.
Drawing the next token from the predicted distribution instead of always taking the top logit. Greedy decoding is the T → 0 limit.
In one paragraph. Drawing the next token from the predicted distribution instead of always taking the top logit. Greedy decoding is the T → 0 limit.