Short Answer

Analyzing the Impact of 'k' on Token Pruning

A language model generates the following potential next tokens and their probabilities: {'for': 0.35, 'with': 0.25, 'in': 0.20, 'at': 0.15, 'on': 0.05}. Identify the set of tokens that would be discarded (pruned) if the filtering parameter 'k' is set to 2, and the set that would be discarded if 'k' is set to 4. Explain the relationship between the value of 'k' and the size of the discarded set.

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

Analysis in Bloom's Taxonomy

Cognitive Psychology

Psychology

Social Science

Empirical Science

Science