Activity (Process)

Ranking Stage in Beam Search

In beam search, after the expansion stage generates potential next tokens, the ranking stage sorts these candidates based on their assigned probabilities. For example, as shown in the diagram, the tokens 'cute', 'on', 'sick', 'are', and '.' are ranked according to their probabilities of 0.34, 0.32, 0.21, 0.12, and 0.01, respectively.

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