Skip to content

Commit 1bf57c5

Browse files
authored
change model url to public repo in text embedding model example doc (#713)
Signed-off-by: Yaliang Wu <[email protected]> Signed-off-by: Yaliang Wu <[email protected]>
1 parent f230a15 commit 1bf57c5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/model_serving_framework/text_embedding_model_examples.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ POST /_plugins/_ml/models/_upload
6363
"embedding_dimension": 384,
6464
"framework_type": "sentence_transformers"
6565
},
66-
"url": "https://github.com/ylwu-amzn/ml-commons/blob/2.x_custom_m_helper/ml-algorithms/src/test/resources/org/opensearch/ml/engine/algorithms/text_embedding/all-MiniLM-L6-v2_torchscript_sentence-transformer.zip?raw=true"
66+
"url": "https://github.com/opensearch-project/ml-commons/tree/2.x/ml-algorithms/src/test/resources/org/opensearch/ml/engine/algorithms/text_embedding/all-MiniLM-L6-v2_torchscript_sentence-transformer.zip?raw=true"
6767
}
6868
6969
# Sample response
@@ -262,7 +262,7 @@ POST /_plugins/_ml/models/_upload
262262
"pooling_mode":"mean",
263263
"normalize_result":"true"
264264
},
265-
"url": "https://github.com/ylwu-amzn/ml-commons/blob/2.x_custom_m_helper/ml-algorithms/src/test/resources/org/opensearch/ml/engine/algorithms/text_embedding/all-MiniLM-L6-v2_torchscript_huggingface.zip?raw=true"
265+
"url": "https://github.com/opensearch-project/ml-commons/tree/2.x/ml-algorithms/src/test/resources/org/opensearch/ml/engine/algorithms/text_embedding/all-MiniLM-L6-v2_torchscript_huggingface.zip?raw=true"
266266
}
267267
```
268268

@@ -289,6 +289,6 @@ POST /_plugins/_ml/models/_upload
289289
"pooling_mode":"mean",
290290
"normalize_result":"true"
291291
},
292-
"url": "https://github.com/ylwu-amzn/ml-commons/raw/2.x_custom_m_helper/ml-algorithms/src/test/resources/org/opensearch/ml/engine/algorithms/text_embedding/all-MiniLM-L6-v2_onnx.zip?raw=true"
292+
"url": "https://github.com/opensearch-project/ml-commons/tree/2.x/ml-algorithms/src/test/resources/org/opensearch/ml/engine/algorithms/text_embedding/all-MiniLM-L6-v2_onnx.zip?raw=true"
293293
}
294294
```

0 commit comments

Comments
 (0)