Decoding and Sampling
Greedy, beam, temperature, top-k, top-p: how one token actually gets chosen, and how to pick settings you can defend.
Content last verified 2026-09.
Lessons
- Greedy Decoding and the Beam That Faded
- The Sampling Knobs
- Penalties, Stops, and Constraints
- Choosing Settings You Can Defend