Skip to content
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

Does it support converting to ONNX format models? #787

Open
lmxin123 opened this issue Apr 15, 2024 · 4 comments
Open

Does it support converting to ONNX format models? #787

lmxin123 opened this issue Apr 15, 2024 · 4 comments

Comments

@lmxin123
Copy link

I use C#,
Does it support converting to ONNX format models?
Or how to use C # to call this model?

@AmgadHasan
Copy link

Instead of converting from faster-whisper format, you can directly convert the pytorch models to onnx format.
For example, if you want to convert large-v2, you can use the workflow mentioned in this page on https://huggingface.co/openai/whisper-large-v2

https://huggingface.co/docs/transformers/en/serialization#exporting-a--transformers-model-to-onnx-with-cli

@lmxin123
Copy link
Author

lmxin123 commented May 2, 2024

thank you,I try later

@ridwan-salau
Copy link

Hey @lmxin123, did you try? How did it go?

@lmxin123
Copy link
Author

Hey @lmxin123, did you try? How did it go?

Not yet, I haven't found a way yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants