-
Notifications
You must be signed in to change notification settings - Fork 31.5k
electra is added to onnx supported model #15084
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
lewtun
left a comment
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.
Thank you for this very clean PR @arron1227 🔥 !
Overall it looks great 😃. Could you please:
- add an Electra checkpoint to
test_onnx_v2.pyhere. I would try something likegoogle/electra-base-generator - check the "slow" tests pass by running
RUN_SLOW=1 pytest tests/test_onnx_v2.py -k "electra" -rp
@lewtun Please check if it works. I handled what you commented. Thank you! |
lewtun
left a comment
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 making the changes @arron1227 ! I've left a final nit, but otherwise this looks great.
Before we merge, would you mind rebasing on master so that the merge conflicts are resolved?
Pinging @LysandreJik for his blessing on this PR 😇
LysandreJik
left a comment
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.
This looks good to me!
…ra-onnx-support # Conflicts: # tests/test_onnx_v2.py
|
@lewtun |
|
Hey @arron1227 thanks for the rebase! It seems like we've picked up a lot of extra changes - do you mind if I fix this by making a commit on your branch? |
|
@lewtun |
| "masked-lm", | ||
| "causal-lm", |
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.
FYI I added these additional features that were missing in the PR
* electra is added to onnx supported model * add google/electra-base-generator for test onnx module Co-authored-by: Lewis Tunstall <[email protected]>
What does this PR do?
Fixes # (issue)
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.