Top-k sampling
AITop-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.
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.