From 68dfbe643d51f1890e410b6783ca5343620db4fc Mon Sep 17 00:00:00 2001 From: KE programmer Date: Wed, 30 Oct 2024 13:53:10 +0300 Subject: [PATCH] Fix model name typo in example (#3028) The model in the example: `msmarco-distilroberta-base-v3` is missing from huggingface. The existing ones are `msmarco-distilbert-base-v3` and `msmarco-roberta-base-v3`. Changed the model name to the former one since it downloads faster. --- docs/pretrained-models/msmarco-v3.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/pretrained-models/msmarco-v3.md b/docs/pretrained-models/msmarco-v3.md index 98346a069..c8c34343f 100644 --- a/docs/pretrained-models/msmarco-v3.md +++ b/docs/pretrained-models/msmarco-v3.md @@ -7,7 +7,7 @@ The training data consists of over 500k examples, while the complete corpus con ```python from sentence_transformers import SentenceTransformer, util -model = SentenceTransformer("msmarco-distilroberta-base-v3") +model = SentenceTransformer("msmarco-distilbert-base-v3") query_embedding = model.encode("How big is London") passage_embedding = model.encode("London has 9,787,426 inhabitants at the 2011 census")