-
Notifications
You must be signed in to change notification settings - Fork 27.7k
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
Set pad_token in run_glue_no_trainer.py #28534 #30157
Conversation
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.
Thanks for adding - just a small suggestion
done! @amyeroberts |
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.
Thanks for iterating!
For the failing tests, running make fixup
and pushing the changes should resolve
Exception: Found the following copy inconsistencies:
I get this error but i tried running both commands, still gives the same error, how to resolve this? @amyeroberts |
There's something funny going on with the formatting here - files like src/transformers/models/bigbird_pegasus/modeling_bigbird_pegasus.py shouldn't be modified when calling In your environment, make sure you have all of the necessary formatting libraries with |
@amyeroberts ive recreated my env, can you help me out with undoing the formatting files? |
What does this PR do?
This PR adds the pad tokenizer in the run_glue_no_trainer.py script under examples.
Fixes #28534
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@amyeroberts @ArthurZucker