Top-k and Top-p Sampling for Controlling Output Diversity

AWS Certified AI Practitioner · Applications of Foundation Models · By Super Admin

Top-k and top-p sampling control which tokens a foundation model can choose from during generation, shaping the balance between focused and diverse outputs. Beyond temperature, foundation models offer sampling controls that determine which tokens are even eligible for selection…

This article is for paid accounts

Read it in full in your study workspace
0.0 (0 ratings)

Discussion (0)

No discussion on this article yet — be the first to comment.

Please sign in to join the discussion.

Top-k and Top-p Sampling for Controlling Output Diversity | SecViva