Skip to content
ml-recall

#top-k-sampling

2 questions from Language Modeling, LLM Fundamentals & Prompting

Timed test

2 questions · 2 min · score and explanations at the end

Take a test
Q 1 / 2Score 0 / 0

Question 1: Short answer

mediumAI-checkedLanguage Modeling

The next-token distribution over five tokens is (0.5,0.2,0.15,0.1,0.05)(0.5, 0.2, 0.15, 0.1, 0.05). With top-kk sampling and k=3k = 3, what is the probability of sampling the third token (originally 0.15)? Give 3 decimals.

a number between 0 and 1, 3 decimals