YFarmX

Top-k sampling

AI

Top-k sampling: A decoding method that restricts each choice to the k most likely tokens, sampling from those and ignoring the long tail of unlikely options.

Related terms

Browse the full glossary →