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

Top-k Sampling

Limiting token selection to the k most probable next tokens to balance coherence and variety.

This lesson is for subscribers

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