-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Add cosine scheduler, datacollator, update clip #4826
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
Conversation
…rWholeWordMask, Update CLIPVisionTransformer
|
Thanks for your contribution! |
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.
collator这块的逻辑较为复杂,参考https://github.com/huggingface/transformers/blob/main/tests/trainer/test_data_collator.py 补上单测吧
已添加 |
Codecov Report
@@ Coverage Diff @@
## develop #4826 +/- ##
===========================================
- Coverage 44.52% 44.36% -0.17%
===========================================
Files 445 446 +1
Lines 64042 64332 +290
===========================================
+ Hits 28515 28540 +25
- Misses 35527 35792 +265
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
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.
PR没问题,就一个小改动,tests/trainer/test_data_collator.py应该放到tests/data/test_data_collator.py, 和paddlenlp以下对应
…rWholeWordMask, Update CLIPVisionTransformer
PR types
PR changes
Description