📖 The AI Tool Bible
sampling

Top-p (Nucleus Sampling)

A sampling constraint that considers only the smallest set of tokens whose cumulative probability exceeds p (e.g. 0.9). Reduces low-probability outliers.

Related terms