We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Describe the bug During a recent language and tokenization refactoring we broke FarmReader ONNX conversion support.
Error message A simple ONNX conversion of a QA model fails; we don't have a test case for it.
onnx_model_path = Path("roberta-onnx-model") FARMReader.convert_to_onnx(model_name="deepset/roberta-base-squad2", output_path=onnx_model_path)
Expected behavior Model is converted to ONNX format, written to a local directory and subsequently used to create an ONNX-based reader.
Additional context None
To Reproduce Invoke the above-mentioned code sample in the Python interpreter
FAQ Check
System:
The text was updated successfully, but these errors were encountered:
vblagoje
Successfully merging a pull request may close this issue.
Describe the bug
During a recent language and tokenization refactoring we broke FarmReader ONNX conversion support.
Error message
A simple ONNX conversion of a QA model fails; we don't have a test case for it.
Expected behavior
Model is converted to ONNX format, written to a local directory and subsequently used to create an ONNX-based reader.
Additional context
None
To Reproduce
Invoke the above-mentioned code sample in the Python interpreter
FAQ Check
System:
The text was updated successfully, but these errors were encountered: