How top-p filters tokens
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: https://www.youtube.com/watch?v=Kh9mqTzjuEQ&list=PLfrHAQCRxtUs&index=1
Discussion
Rejoignez la communauté pour réagir et poser vos questions.
Aucun message pour l'instant. Lancez la discussion !