Inference parameters · Question 10 of 12

What does the top-k parameter with the value 1 do?

1 answer is correct. Medium

Show answer

Answer

  • A The model always picks the most likely token

Explanation

Top-k restricts the choice to the k most likely tokens. With k = 1 only the most likely one remains, making the output largely deterministic. Larger values allow more variety.

Certifications & exams

Which exam comes next?

You can already practise for 19 exams, and 21 are up for a vote. See all certifications with their official information, cast your vote or suggest your exam.

See all certifications