- Glossary
- Top-p
Glossary term
Top-p
Nucleus sampling: pick the next token only from the smallest set whose probabilities add up to p.
Also called nucleus sampling.
Open lesson 6.2
Top-p and top-k · Chapter 6
In plain words
It trims the unlikely tail of the distribution. Adjust temperature or top-p, not both.