Skip to content

Add missing FDivergenceType docstring#4165

Merged
albertvillanova merged 4 commits intohuggingface:mainfrom
albertvillanova:fix-docstring-f-divergence-type
Sep 29, 2025
Merged

Add missing FDivergenceType docstring#4165
albertvillanova merged 4 commits intohuggingface:mainfrom
albertvillanova:fix-docstring-f-divergence-type

Conversation

@albertvillanova
Copy link
Member

Add missing FDivergenceType docstring.

This PR introduces documentation improvements related to the support for f-divergence types in the DPO trainer configuration. The main changes clarify and document the available f-divergence options, making it easier for users to understand and configure regularization in DPO training.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@albertvillanova albertvillanova merged commit 864e593 into huggingface:main Sep 29, 2025
3 of 10 checks passed
kashif pushed a commit that referenced this pull request Sep 30, 2025
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.

4 participants

Comments