AI Glossary

Top-p Sampling

Coverage in development

Top-p (nucleus) sampling restricts next-token choices to the smallest set of tokens whose cumulative probability exceeds a threshold p.

Definition

Top-p (nucleus) sampling restricts next-token choices to the smallest set of tokens whose cumulative probability exceeds a threshold p.

Plain English explanation

The model only samples from the “likely enough” slice of the vocabulary, cutting off the long tail.

Last reviewed

Sources

Correction request

If a technology assignment or hub description is inaccurate, submit a correction via the Corrections Policy.

All technologies → · AI Models → · APIs & SDKs → · Integrations → · Compliance → · Browse all companies → · Explore industries → · Compare →