AI Glossary
AI FUNDAMENTALS

Top-p (Nucleus Sampling)

AI Fundamentals

Definition

Top-p is a sampling parameter that limits the model's choice to tokens whose cumulative probability does not exceed the value p. With top-p=0.9, the model considers only tokens covering 90% of the total probability, excluding improbable options. Together with temperature, it allows balancing creativity and reliability in AI responses.

EXPLORE

More terms in AI Fundamentals

Want to apply AI in your business?

Talk to us. The first call is free and no commitment.