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

Move ONNX conversion to transformers #539

Closed
Timoeller opened this issue Sep 14, 2020 · 0 comments
Closed

Move ONNX conversion to transformers #539

Timoeller opened this issue Sep 14, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@Timoeller
Copy link
Contributor

Timoeller commented Sep 14, 2020

Currently FARM onnx conversion does not support all model types.

More specifically FARM does not adjust the naming and amount of input tensors to a model when converting to onnx. Implementing this for each model type can be cumbersome.

Transformers ONNX conversion

Transformers now has a onnx conversion functionality for their pipeline models (example notebook here). I tested the conversion for bert, roberta and xlm-roberta with success.
So lets focus more on FARM <> transformers interoperability like in this FARM example and refer people to their conversion script(s).

We will therefore soon deprecate FARMs ONNX conversion functionality

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

No branches or pull requests

2 participants