Skip to content

Top-p (nucleus sampling)

No editor has reviewed this definition yet, and search engines are not shown it until it is reviewed.

A setting that limits the choice to the smallest set of tokens whose probabilities add up to a given share, such as 0.9, and ignores the rest, cutting off unlikely tokens. Change it or temperature, not both.

In Arabic

أخذ العينات بالنواة

إعداد يحصر الاختيار في أصغر مجموعة من الرموز يبلغ مجموع احتمالاتها نسبة معينة، مثل 0.9، ويهمل الباقي، فيقطع الرموز البعيدة الاحتمال. غيّره هو أو درجة الحرارة، لا الاثنين معاً.

Also known as: top-p، nucleus sampling

See also

All terms