-
Notifications
You must be signed in to change notification settings - Fork 26.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
PEGASUS using ONNX #12573
Comments
Hello @karimfayed! We're in the process of switching our approach relative to using the ONNX converter. See the following PR #11786. It has support for BART, so enabling support for Pegasus should be fairly simple. Please let us know if you run into any issues. You can see the docs here: https://235542-155220641-gh.circle-artifacts.com/0/docs/_build/html/serialization.html Please make sure to git checkout the PR first! |
Hello @LysandreJik , thank you for your help. I read both the docs and the issue and I used the command : but I keep getting this error
Even when I replace
|
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
Hello @patrickvonplaten. , I just uploaded my fine-tuned model to the hub and I wanted to use ONNX to convert the pytorch model and be able to use it in a JavaScript back-end.
I used the following command:
!python3 -m transformers.convert_graph_to_onnx --model Karimfayed/pegasus-SAMSum --framework pt pegasus-SAMSum.onnx
I receive the following error message:
Is PEGASUS going to be added to the list soon or is there any way around it?
The text was updated successfully, but these errors were encountered: