跳至正文
返回术语表
技术方法

Top-p Sampling (Nucleus Sampling)

定义

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.

了解术语只是第一步,将其落地应用才是第二步。

预约一次 Physical AI 适配性沟通,探讨这些 AI 概念如何转化到您所在的具体行业与业务挑战中。

Top-p Sampling (Nucleus Sampling) | AI 术语表 — 解析 LLM、RAG 及 20+ 关键术语