Course contentsShow
AI Engineering
Lesson 138 of 1,8864. Prompt Engineering FoundationsPro lesson

Top-p (Nucleus) Sampling

Controlling diversity by sampling from the smallest set of tokens whose cumulative probability exceeds p.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.