Activity (Process)

Expansion Stage in Top-p Sampling

The expansion stage is the initial step (labeled ①) in the Top-p sampling process. Following a given context, the language model generates a vocabulary of all potential subsequent tokens. For example, the provided diagram shows the generation of candidate words such as '.', 'cute', 'on', 'are', and 'sick'.

Image 0

0

1

Updated 2025-10-10

Contributors are:

Who are from:

Tags

Ch.5 Inference - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences