📖 The AI Tool Bible
sampling

Top-k Sampling

A sampling constraint that considers only the k highest-probability tokens at each step. Often combined with top-p or temperature.

Related terms