Like I'm 5™

Lesson60 seconds

What is Top-p?

Another creativity control that keeps only the most likely next words.

Step 1 of 9

Simple Definition

Top-p (nucleus sampling) limits generation to the smallest set of tokens whose cumulative probability exceeds p, then samples from that set.

Explanation level

Tap a persona to hear the same idea in a totally different voice.

Try “Like I'm 5™” for a picture-book version - not the grown-up wording above.

Notebook

Your notes

Notes save automatically on this device

Knowledge graph

Top-p
Done Here Next