Top-P (Nucleus Sampling)

Sampling from the smallest set of tokens whose cumulative probability exceeds P.