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

support ktotrainer #9376

Merged
merged 1 commit into from
Nov 6, 2024
Merged

support ktotrainer #9376

merged 1 commit into from
Nov 6, 2024

Conversation

lugimzzz
Copy link
Contributor

@lugimzzz lugimzzz commented Nov 6, 2024

PR types

New features

PR changes

APIs

Description

新增KTO Trainer支持

Copy link

paddle-bot bot commented Nov 6, 2024

Thanks for your contribution!

Copy link

codecov bot commented Nov 6, 2024

Codecov Report

Attention: Patch coverage is 10.79812% with 380 lines in your changes missing coverage. Please review.

Project coverage is 52.75%. Comparing base (e5cc07b) to head (7b7b6d3).
Report is 3 commits behind head on release/3.0-beta2.

Files with missing lines Patch % Lines
paddlenlp/trl/kto_trainer.py 9.96% 262 Missing ⚠️
paddlenlp/trl/kto_criterion.py 12.71% 103 Missing ⚠️
paddlenlp/transformers/tensor_parallel_utils.py 0.00% 15 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##           release/3.0-beta2    #9376      +/-   ##
=====================================================
- Coverage              52.90%   52.75%   -0.16%     
=====================================================
  Files                    664      666       +2     
  Lines                 106627   107016     +389     
=====================================================
+ Hits                   56411    56454      +43     
- Misses                 50216    50562     +346     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@wawltor wawltor left a comment

Choose a reason for hiding this comment

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

LGTM

@lugimzzz lugimzzz merged commit fb7dedc into PaddlePaddle:release/3.0-beta2 Nov 6, 2024
5 of 7 checks passed
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