Open dhrubo-os opened 11 months ago
I plan to create a similiar script called distilbert model besides Sentence Transformer:
opensearch-py-ml/opensearch_py_ml/ml_models/sentencetransformermodel.py
opensearch-py-ml/opensearch_py_ml/ml_models/distilbertmodel.py
Specifically, I plan to
Should I push directly to feature/summarization_model_conversation/
branch? Since the assignee to issue #303 is also pushing to this branch.
If there is anything I can do, please let me know.
Among the three models, only the "cased" model answered my questions correctly.
Context: I like hot drinks. Tea is hot. Coke is cold.
Question: Which one will I pick?
distilbert-base-cased-distilled-squad -> Tea.
distilbert-base-uncased-distilled-squad -> Coke.
bert-large-uncased-whole-word-masking-finetuned-squad -> Coke.
Context: I live in Beijing, China. People in China speak Chinese. People in U.S. speak English.
Question: What language do I speak?
distilbert-base-cased-distilled-squad -> Chinese.
distilbert-base-uncased-distilled-squad -> english.
bert-large-uncased-whole-word-masking-finetuned-squad -> english.
Sure assigning to you.
May be we can create a question answering model class and work in there? distilbertmodel is one type of model, so I don't think we should create separate classes for distilbertmodel
Yeah, you can raise the PR in feature/summarization_model_conversation/
branch too.
Hi @dhrubo-os,
Got it -- make sense! Will 1) create a question_answering.py model, and 2) raise PR in that branch!
Thanks, Faradawn
We are planning to add more model supports in ML-Commons. https://github.com/opensearch-project/ml-commons/issues/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:
I created a feature branch : feature/summarization_model_conversation/. All the development of this issue should be done in that branch.