Formula

Formula for the Candidate Set in Top-K Decoding

In top-K decoding strategies like beam search, the set of all candidate sequences at step i is denoted by YiY_i. This set is composed of the KK new sequences that were formed by appending each of the top-K next tokens to the shared preceding sequence. The formal definition of this set is: Yi={ytop1,,ytopK}Y_i = \{\mathbf{y}^{\text{top1}}, \dots, \mathbf{y}^{\text{topK}}\}

Image 0

0

1

Updated 2025-10-08

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