Example

Using Beam Search to Generate Multiple Outputs

A practical example of sampling from the hypothesis space involves using the beam search decoding algorithm. Instead of selecting only the top-scoring hypothesis, multiple outputs can be generated by collecting all the complete hypotheses that are maintained within the beam during the search process.

0

1

Updated 2026-04-30

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Computing Sciences

Foundations of Large Language Models Course