Short Answer

Applying the Top-p Sampling Process

A language model has produced the following probability distribution for the next token: {'sky': 0.50, 'ocean': 0.25, 'sea': 0.15, 'water': 0.08, 'blue': 0.02}. If the model is using a sampling strategy with a probability threshold of p = 0.80, identify the tokens that form the 'nucleus' and calculate their new, renormalized probabilities.

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