Skip to content

Commit a99e933

Browse files
Update sentence transformer pretrained model version (opensearch-project#10017)
Signed-off-by: Nathalie Jonathan <[email protected]>
1 parent 759e39c commit a99e933

File tree

9 files changed

+21
-21
lines changed

9 files changed

+21
-21
lines changed

_ml-commons-plugin/agents-tools/agents-tools-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ In this tutorial, you'll use the `huggingface/sentence-transformers/all-MiniLM-L
4242
POST /_plugins/_ml/models/_register?deploy=true
4343
{
4444
"name": "huggingface/sentence-transformers/all-MiniLM-L12-v2",
45-
"version": "1.0.1",
45+
"version": "1.0.2",
4646
"model_format": "TORCH_SCRIPT"
4747
}
4848
```

_ml-commons-plugin/agents-tools/tools/vector-db-tool.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ In this example, you'll use the `huggingface/sentence-transformers/all-MiniLM-L1
2626
POST /_plugins/_ml/models/_register?deploy=true
2727
{
2828
"name": "huggingface/sentence-transformers/all-MiniLM-L12-v2",
29-
"version": "1.0.1",
29+
"version": "1.0.2",
3030
"model_format": "TORCH_SCRIPT"
3131
}
3232
```

_ml-commons-plugin/api/model-apis/register-model.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Field | Data type | Required/Optional | Description
6464
POST /_plugins/_ml/models/_register
6565
{
6666
"name": "huggingface/sentence-transformers/msmarco-distilbert-base-tas-b",
67-
"version": "1.0.1",
67+
"version": "1.0.3",
6868
"model_group_id": "Z1eQf4oB5Vm0Tdw8EIP2",
6969
"model_format": "TORCH_SCRIPT"
7070
}

_ml-commons-plugin/pretrained-models.md

Lines changed: 12 additions & 12 deletions
Large diffs are not rendered by default.

_tutorials/gen-ai/chatbots/rag-conversational-agent.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Register a text embedding model that will translate text into vector embeddings:
5151
POST /_plugins/_ml/models/_register
5252
{
5353
"name": "huggingface/sentence-transformers/all-MiniLM-L12-v2",
54-
"version": "1.0.1",
54+
"version": "1.0.2",
5555
"model_format": "TORCH_SCRIPT"
5656
}
5757
```

_tutorials/vector-search/neural-search-tutorial.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ First, you'll need to choose a language model in order to generate vector embedd
8686
For this tutorial, you'll use the [DistilBERT](https://huggingface.co/docs/transformers/model_doc/distilbert) model from Hugging Face. It is one of the pretrained sentence transformer models available in OpenSearch that has shown some of the best results in benchmarking tests (for more information, see [this blog post](https://opensearch.org/blog/semantic-science-benchmarks/)). You'll need the name, version, and dimension of the model to register it. You can find this information in the [pretrained model table]({{site.url}}{{site.baseurl}}/ml-commons-plugin/pretrained-models/#sentence-transformers) by selecting the `config_url` link corresponding to the model's TorchScript artifact:
8787

8888
- The model name is `huggingface/sentence-transformers/msmarco-distilbert-base-tas-b`.
89-
- The model version is `1.0.1`.
89+
- The model version is `1.0.3`.
9090
- The number of dimensions for this model is `768`.
9191

9292
Take note of the dimensionality of the model because you'll need it when you set up a vector index.
@@ -112,7 +112,7 @@ To register the model, provide the model group ID in the register request:
112112
POST /_plugins/_ml/models/_register
113113
{
114114
"name": "huggingface/sentence-transformers/msmarco-distilbert-base-tas-b",
115-
"version": "1.0.1",
115+
"version": "1.0.3",
116116
"model_format": "TORCH_SCRIPT"
117117
}
118118
```

_tutorials/vector-search/semantic-highlighting-tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ First, register and deploy a text embedding model:
8282
POST /_plugins/_ml/models/_register?deploy=true
8383
{
8484
"name": "huggingface/sentence-transformers/all-MiniLM-L6-v2",
85-
"version": "1.0.1",
85+
"version": "1.0.2",
8686
"model_format": "TORCH_SCRIPT"
8787
}
8888
```

_vector-search/getting-started/auto-generated-embeddings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ To register and deploy the model, send the following request:
5959
POST /_plugins/_ml/models/_register?deploy=true
6060
{
6161
"name": "huggingface/sentence-transformers/msmarco-distilbert-base-tas-b",
62-
"version": "1.0.1",
62+
"version": "1.0.3",
6363
"model_format": "TORCH_SCRIPT"
6464
}
6565
```

_vector-search/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ Register and deploy an ML model provided by OpenSearch:
103103
POST /_plugins/_ml/models/_register?deploy=true
104104
{
105105
"name": "huggingface/sentence-transformers/all-distilroberta-v1",
106-
"version": "1.0.1",
106+
"version": "1.0.2",
107107
"model_format": "TORCH_SCRIPT"
108108
}
109109
```

0 commit comments

Comments
 (0)