Belajar
Tutor AI
Berita
Alat
Lowongan
Glosarium
Sertifikat
Kuis
Misi
Bantuan
English
Search
⌘K
Kirim alat
Donasi
English
Search
⌘K
Belajar
AI Guides & Foundations
Tutor AI
Ask AI anything, free
Berita
Latest AI Developments
Alat
Top AI Directory
Lowongan
AI Hiring Board
Glosarium
AI Terms Dictionary
Sertifikat
Get Your AI Certificate
Kuis
Interactive AI Assessments
Misi
Why We Exist
Bantuan
Help and Contact
Kirim alat
Donasi
English
Home
/
Glossary
/
Top-p (Nucleus) Sampling
AI Glossary Term
What is Top-p (Nucleus) Sampling?
Definition
A decoding strategy that samples from the smallest token set whose probabilities sum to p.
Related terms
Top-k Sampling
A decoding strategy that samples only from the k most likely next tokens.
Guarded Decoding
A generation strategy that constrains output tokens to valid structures or policy-compliant choices.
Reranker
A model that reorders an initial set of retrieved results to put the most relevant items at the top.
Beam Search
A decoding algorithm that keeps the top several candidate sequences at each step to find higher-probability outputs.
Temperature
A sampling setting controlling randomness in generated outputs.
Token
A chunk of text processed by language models, such as a word piece or symbol.
Learn more in our free guides
Typical Sampling
Speculative Sampling Verification
Entropy-Based Sampling
Early Stopping
Browse the full AI Glossary
Explore all free AI guides