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

Add ONNX conversion & Inference #557

Merged
merged 9 commits into from
Sep 25, 2020
Merged

Add ONNX conversion & Inference #557

merged 9 commits into from
Sep 25, 2020

Conversation

tanaysoni
Copy link
Contributor

@tanaysoni tanaysoni commented Sep 24, 2020

This PR extends supports for ONNX model conversion & inference using the transformers package. (Issue: #539)

Currently, BERT, RoBERTa, and XLM-RoBERTa models are supported.

Copy link
Member

@tholor tholor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good. Only minor comments.

farm/data_handler/processor.py Outdated Show resolved Hide resolved
farm/modeling/adaptive_model.py Show resolved Hide resolved
farm/modeling/adaptive_model.py Show resolved Hide resolved
@tanaysoni tanaysoni changed the title WIP: Add ONNX conversion & Inference Add ONNX conversion & Inference Sep 25, 2020
@tanaysoni tanaysoni merged commit 3c9d320 into master Sep 25, 2020
@tanaysoni tanaysoni deleted the onnx-conversion branch September 25, 2020 11:34
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

Successfully merging this pull request may close these issues.

2 participants