Short Answer

Applying Selection and Pruning in Text Generation

In a text generation model, after evaluating potential next words for the sequence 'The cat sat on the', the following candidates and their probabilities are produced: {'mat': 0.55, 'couch': 0.25, 'floor': 0.12, 'table': 0.06, 'rug': 0.02}. If the model is configured with a selection width of K=3, which words are discarded (pruned) in this step? Briefly explain your reasoning.

0

1

Updated 2025-10-10

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

Application in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science