Skip to main content

Top-p (Nucleus Sampling)

Search for glossary terms (regular expression allowed)

Glossaries

Term Definition
Top-p (Nucleus Sampling)
Pick from the cream of the crop Top-p sampling tells the AI to choose from the smallest set of tokens whose combined probability hits p (e.g., 0.9). It’s like selecting ingredients only from the tastiest 90% at the buffet—good quality without starving the creativity.
Synonyms: Nucleus Sampling, Probability Mass