apply_top_p: keep the smallest set of tokens whose cumulative probability exceeds top_p; others → -inf.
apply_top_p: keep the smallest set of tokens whose cumulative probability exceeds top_p; others → -inf.