Skip to content

Conversation

@copybara-service
Copy link

@copybara-service copybara-service bot commented Oct 16, 2025

Fix metric logging for DPO

Metric logging for DPO is incorrect right now. We should use MetricBuffer to log
metrics.

The way I figured this out is that when I ran DPOTrainer, the eval accuracy went to 100% after the very first train step, which did not make sense at all.

Metric logging for DPO is incorrect right now. We should use MetricBuffer to log
metrics.

The way I figured this out is that when I ran DPOTrainer, the eval accuracy went to 100% after the very first train step, which did not make sense at all.

PiperOrigin-RevId: 820400295
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants