Sampling Decoding
A decoding strategy that randomly draws the next token according to a probability distribution. It introduces diversity but must be combined with temperature scaling and TOP P constraints.
Timeline (last 90 days)
Sampling decoding (randomly sampling according to probability distribution) introduces diversity; with the same question, different runs can produce different continuations.
In the video experiment, asking the same question 20 times produced 17 different answers, with the first token always identical but diverging more later.
Greedy decoding always selects the highest-probability token, so after 'The' it necessarily chooses 'moon'; sampling decoding, however, draws randomly according to probability weights and may select low-probability tokens such as 'lunar'.
All Facts (3)
Sampling decoding (randomly sampling according to probability distribution) introduces diversity; with the same question, different runs can produce different continuations.
50%UnverifiedIn the video experiment, asking the same question 20 times produced 17 different answers, with the first token always identical but diverging more later.
50%UnverifiedGreedy decoding always selects the highest-probability token, so after 'The' it necessarily chooses 'moon'; sampling decoding, however, draws randomly according to probability weights and may select low-probability tokens such as 'lunar'.
50%