AI Glossary Term

What is Top-k Sampling?

Definition

A decoding strategy that samples only from the k most likely next tokens.

Related terms

Learn more in our free guides