[FEATURE] Trace Question Answering models to TorchScript and Onnx format #304
Open
Description
We are planning to add more model supports in ML-Commons. opensearch-project/ml-commons#1164
The target of this issue is to trace 3 popular pre-trained Question answering models to TorchScript and Onnx format. In this repo we traced pre-trained sentence embedding models into torchscript and onnx
We need to build the similar method to trace summarization models. Primarily we can target these models:
- distilbert-base-cased-distilled-squad
- distilbert-base-uncased-distilled-squad
- bert-large-uncased-whole-word-masking-finetuned-squad
I created a feature branch : feature/summarization_model_conversation/. All the development of this issue should be done in that branch.