Bắt đầu ngayBắt đầu miễn phí

Quiz 4 - Question 1

Imagine that you have built a tiny language model with a vocabulary of 5 tokens. This model predicted the following probability distribution over the next token:

the: 0.05
chased: 0.01
a: 0.04
lion: 0.44
zebra: 0.46

If you apply top-k sampling with k=3, what is the modified probability distribution from which the model samples the next token?

Bài tập này là một phần của khóa học

Google DeepMind: Discover The Transformer Architecture

Xem khóa học

Bài tập tương tác thực hành

Biến lý thuyết thành hành động với một trong các bài tập tương tác của chúng tôi

Bắt đầu bài tập