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

[SPARKNLP-863 SPARKNLP-864 SPARKNLP-865 SPARKNLP-866] ONNX Export Notebooks #13889

Conversation

DevinTDHa
Copy link
Member

Description

This PR contains notebooks to export models from the transformers to ONNX and import it to Spark NLP.

The models are:

  • BERT
  • DistilBERT
  • RoBERTa
  • DeBERTa

Motivation and Context

This will enable users to import their own models, after ONNX support was introduced in Spark NLP 5.0

How Has This Been Tested?

Ran in colab, no issues.

SPARKNLP-863 BERT
SPARKNLP-864 DistilBERT
SPARKNLP-865 RoBERTa
SPARKNLP-866 DeBERTa
@DevinTDHa DevinTDHa added the DON'T MERGE Do not merge this PR label Jul 11, 2023
@DevinTDHa DevinTDHa self-assigned this Jul 11, 2023
@maziyarpanahi maziyarpanahi changed the base branch from master to release/501-release-candidate July 18, 2023 10:43
@maziyarpanahi maziyarpanahi merged commit 20d9f37 into JohnSnowLabs:release/501-release-candidate Jul 18, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
DON'T MERGE Do not merge this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants