Short Answer

Debugging a Dialogue Model Training Loop

A data scientist is training a dialogue model by representing conversations as single, concatenated sequences of user inputs and model responses. They observe that the training loss converges very quickly to a low value, but the model's generated responses are generic and unhelpful. Upon reviewing the implementation, you discover that the loss is being calculated based on the model's ability to predict all tokens in the sequence, including the user's inputs. Explain why this approach is incorrect and how it leads to the observed poor model performance.

0

1

Updated 2025-10-04

Contributors are:

Who are from:

Tags

Ch.4 Alignment - 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