Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hotfix for dpo trainer #919

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

mnoukhov
Copy link
Contributor

addresses #914

DPO trainer logs a wandb.Table which gets added to the trainer's state.log_history and then can't be converted to a json when the trainer is trying to save the state.

This removes the wandb.Table from the log history, in a kind of ugly way.

@lvwerra
Copy link
Member

lvwerra commented Oct 31, 2023

Thanks a lot for the fix. We can merge when tests pass. @kashif for visibility.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

@lvwerra lvwerra merged commit 2bbd594 into huggingface:main Oct 31, 2023
8 checks passed
lapp0 pushed a commit to lapp0/trl that referenced this pull request May 10, 2024
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.

3 participants