Case Study

Applying Token-Level Averaging for Text Generation

A language model is using an ensemble of three different prompts (K=3) to generate text. The model has already generated a sequence and is now deciding the next word. The decision is made by selecting the candidate word that maximizes the sum of the log-probabilities across all three prompts. Given the log-probabilities in the table below, which word will be selected next? Show your calculations and explain your reasoning.

0

1

Updated 2025-09-26

Contributors are:

Who are from:

Tags

Ch.3 Prompting - Foundations of Large Language Models

Foundations of Large Language Models

Foundations of Large Language Models Course

Computing Sciences

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science