Short Answer

Rationale for Log-Probability Calculation in Generative Models

A developer is using a large language model to evaluate the quality of a generated sentence (the output) in response to a user's prompt (the input). The developer's colleague suggests that to get a complete score, they must calculate both the log-probability of the input and the log-probability of the output. Explain why this suggestion is incorrect for this specific task and what the model actually needs to compute.

0

1

Updated 2025-10-06

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