Top-K Sampling
A decoding strategy that restricts the next-token choice to only the K most probable tokens, then samples from that truncated distribution.
LLMs
A decoding strategy that restricts the next-token choice to only the K most probable tokens, then samples from that truncated distribution.