Closed ss2342 closed 1 year ago
Hello, @ssingh1997!
The ONNX conversion part in Haystack is not being actively developed. It is based on the Hugging Face Transformers library.
Doing a quick online search, I found that you can easily convert Transformers models to ONNX using the Hugging Face Optimum library: see this guide.
I hope it helps...
Closing as wont do.
I am trying to convert the deberta model to onnx for faster inference but got the following exception:
Exception: The current ONNX conversion only support 'BERT', 'RoBERTa', and 'XLMRoberta' models.
It would be worthwhile to try to have onnx support for Deberta given how much it outperforms the rest of the models on squad.