Case Study

Calculating Output Risk in a Generation Task

A language model is given an input sentence and generates a set of three possible output sentences. Your task is to calculate the total risk for the candidate output 'The cat sat on the mat' using the provided data and the general formula for risk. The formula is:
Risk(y) = Σ [R(y, yr) * Pr(yr|x)] over all yr in the set of possibilities.

0

1

Updated 2025-09-28

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