-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Update PaddleNLP to fix PPO #8618
Update PaddleNLP to fix PPO #8618
Conversation
Thanks for your contribution! |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #8618 +/- ##
===========================================
- Coverage 54.42% 54.41% -0.01%
===========================================
Files 632 632
Lines 99481 99482 +1
===========================================
- Hits 54140 54132 -8
- Misses 45341 45350 +9 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -1687,8 +1687,8 @@ def _load_pretrained_model( | |||
model: PretrainedModel, | |||
state_dict: Dict[str, Tensor], | |||
loaded_keys: List[str], | |||
resolved_archive_file: Union[str, List], | |||
pretrained_model_name_or_path, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里是为什么需要改,需要适配什么情况?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
原本是没有这些参数的,这个主要是为了兼容老的写法。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
PR types
Bug fixes
PR changes
Others
Description
Fix some incompatible updates in PaddleNLP to fix PPO.