Aller au contenu
Retour au Glossaire
Techniques

Top-p Sampling (Nucleus Sampling)

Définition

A decoding strategy that restricts the model's next-token choices to the smallest set of tokens whose cumulative probability exceeds a threshold p. Used alongside temperature, top-p sampling balances output diversity and coherence in production LLM deployments.

Besoin d'Aide pour Comprendre l'IA?

Réservez un appel de cadrage Physical AI pour discuter de l'application de ces concepts IA à votre secteur et vos défis métier.

Top-p Sampling (Nucleus Sampling) | Glossaire IA — LLM, RAG, Fine-Tuning & Concepts Clés