Glossary · Core Concepts
Top-P (Nucleus) Sampling
A sampling method that selects the next token from the smallest set of candidates whose cumulative probability exceeds a threshold, balancing coherence against variety more dynamically than a fixed top-K cutoff.