Skip to content

examples: add dataset stats logging for DPO preprocessing#541

Open
rohansachinpatil wants to merge 1 commit intogoogle-deepmind:mainfrom
rohansachinpatil:fix/add-dpo-dataset-stats
Open

examples: add dataset stats logging for DPO preprocessing#541
rohansachinpatil wants to merge 1 commit intogoogle-deepmind:mainfrom
rohansachinpatil:fix/add-dpo-dataset-stats

Conversation

@rohansachinpatil
Copy link

Summary

Adds dataset statistics logging to the DPO example pipeline to surface
how many samples are dropped during preprocessing.

Details

  • Wraps the dataset pipeline with kd.data.WithStats
  • Improves observability without changing model or training behavior
  • Addresses the existing TODO regarding dropped example visibility

No functional or behavioral changes.

@google-cla
Copy link

google-cla bot commented Feb 7, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@rohansachinpatil
Copy link
Author

CLA signed.

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.

1 participant