YFarmX

Nucleus sampling (top-p)

AI

Nucleus sampling (top-p): A decoding method that keeps only the smallest set of top tokens whose probabilities add up to a chosen threshold, then samples from that set.

Related terms

Browse the full glossary →