Machine Don

What is sampling?

How the model picks the next word from among the most likely candidates, instead of always taking the most obvious one. There are several ways to make that pick.

Also called: token sampling, top_p, top-p, nucleus sampling.

An analogy

A DJ who doesn't always play the number one song: they pick among the top songs, or the night gets too predictable.

Where it shows up in the course

Related terms