Multiple Choice

A developer is implementing the selection mechanism for a text generation model based on the formal definition: Vi=argTopKyiVPr(yix,y<i)V_i = \underset{y_i \in V}{\text{argTopK}} \, \text{Pr}(y_i|\mathbf{x}, \mathbf{y}_{<i}) For a vocabulary V = {'cat', 'dog', 'ran', 'sat'} and K=2, the model computes the next-token probabilities as: Pr('cat'|...) = 0.1, Pr('dog'|...) = 0.5, Pr('ran'|...) = 0.3, Pr('sat'|...) = 0.1. The developer's code returns the set {0.5, 0.3} as the selection pool ViV_i. What is the fundamental error in this output when compared to the formal definition?

0

1

Updated 2025-10-04

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

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science