Skip to content

Glossary · Core Concepts

Top-K Sampling

A sampling method that restricts the next-token choice to the K most probable candidates, discarding the long tail of unlikely tokens before sampling.

Related pages

More Core Concepts terms

← Back to the full glossary