AhaBulb: Stuff Everyone Should Know · ahabulb.com/ai-nucleus-top-p-sampling
What does nucleus (top-p) sampling do when picking the next token?
- Always picks the single most likely token
- Picks any token in the vocabulary equally
- Samples from the top tokens, dropping the unlikely tail
🔒 The answer is for AhaBulb members. Members see the answer, why it's right and the official sources for every card of Stuff Every AI Expert Should Know, plus timed practice exams.
The first 50 cards of every test are free to play.
Like this card?
References
- Holtzman et al., The Curious Case of Neural Text Degeneration (arXiv 1904.09751) arxiv.org/abs/1904.09751 Checked 2026-10-10.
Think this answer is wrong? Tap "Challenge this answer" on the card in the game and tell us why.
More stuff everyone should know
That's stuff everyone should know.