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

[DPO] cDPO loss #1035

Merged
merged 4 commits into from
Nov 30, 2023
Merged

[DPO] cDPO loss #1035

merged 4 commits into from
Nov 30, 2023

Conversation

kashif
Copy link
Collaborator

@kashif kashif commented Nov 26, 2023

Add the cDPO loss.

@HuggingFaceDocBuilderDev

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

Copy link
Member

@lvwerra lvwerra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for adding!

@lvwerra lvwerra merged commit c84e591 into huggingface:main Nov 30, 2023
9 checks passed
@kashif kashif deleted the cDPO branch December 11, 2023 14:58
lapp0 pushed a commit to lapp0/trl that referenced this pull request May 10, 2024
* add cDPO loss

* add comment

* docs

* info about label_smoothing not being used
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