Formula

Formula for Step-wise Expansion of the Hypothesis Set

In language model inference, the set of candidate sequences, or hypotheses, is expanded at each step. The set of sequences at step i, denoted as YiY_i, is formed by taking every sequence from the previous step's set, Yi1Y_{i-1}, and appending each possible token from the entire vocabulary, VV. This expansion process is formally expressed as the Cartesian product: Yi=Yi1×VY_i = Y_{i-1} \times V

Image 0

0

1

Updated 2026-05-03

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