Nucleus Sampling ·
Top-p
un
seel
.com · sorted probs · cumulative ≥ p · sample the nucleus
p =
0.90
nucleus
0
tok
cum
0.00
sampling
—
token probability
cumulative curve
nucleus (kept, cum ≥ p)
tail (masked, dropped)
▶ Play
←
→
🔇 Unmute
Reset
Un
seel
.com · Nucleus Sampling