Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
OpenSearch 2.7
Describe the issue: I want to upload the model pritamdeka/S-PubMedBert-MS-MARCO to OpenSearch using the following API:
POST /_plugins/_ml/models/_upload
{
"name": "huggingface/pritamdeka/S-PubMedBert-MS-MARCO",
"version": "1.0.1",
"model_format": "TORCH_SCRIPT"
}
I get an error: Model is not in the list of pre-trained models.
My use case is related to semantic search on medical terminologies. Though huggingface/sentence-transformers/all-MiniLM-L12-v2 works to some extent, I wanted to upload a domain specific sentence transformer model for vector index search.
Can anybody guide me how to upload such a model to Opensearch, which is not in the list of presently supported pre-trained models(section 5 of Pretrained models - OpenSearch documentation)
Configuration:
Relevant Logs or Screenshots: