Uploaded October 2026 | Updated November 2026, 4 hours ago
Top-p sampling keeps the most likely tokens until their cumulative probability reaches a chosen threshold. I walk through an example with p = 0.8, then renormalize the retained probabilities so they sum to one.
An excerpt from my reasoning model series: youtube.com/watch?v=Kh9mqTzjuEQ&list=PLfrHAQCRxtUs&index=1
Top-p sampling keeps the most likely tokens until their cumulative probability reaches a chosen threshold. I walk through an example with p = 0.8, then renormalize the retained probabilities so they sum to one.
An excerpt from my reasoning model series: youtube.com/watch?v=Kh9mqTzjuEQ&list=PLfrHAQCRxtUs&index=1










