AI Glossary Term

What is Top-p (Nucleus) Sampling?

Definition

A decoding strategy that samples from the smallest token set whose probabilities sum to p.

Related terms

Learn more in our free guides