Glossary › LLM

Top-p (Nucleus Sampling)

Sampling method that only considers tokens within the smallest set whose cumulative probability exceeds p (e.g. 0.9). Filters out unlikely tokens while preserving diversity. Often combined with temperature.

Where this is taught

Related terms

Temperature

More in LLM

Hallucination · Temperature · Token · Context Window · In-Context Learning · System Prompt · Function Calling

Learn this by building

DeVenture Academy teaches AI engineering through projects — every lesson is paired with a hands-on lab you run on your own machine with real tools.

Create a free account — the opening phases of 24 of 30 courses are free, no credit card. Or see Pro pricing.

All courses · Pricing · About · FAQ · Glossary