Update README.md
Browse files
README.md
CHANGED
@@ -40,8 +40,7 @@ passages = [
|
|
40 |
]
|
41 |
|
42 |
# load model with tokenizer
|
43 |
-
|
44 |
-
model = AutoModel.from_pretrained(model_path, trust_remote_code=True)
|
45 |
|
46 |
# get the embeddings
|
47 |
query_embeddings = model.encode(queries, instruction=query_prefix)
|
|
|
40 |
]
|
41 |
|
42 |
# load model with tokenizer
|
43 |
+
model = AutoModel.from_pretrained('ai-sage/Giga-Embeddings-instruct', trust_remote_code=True)
|
|
|
44 |
|
45 |
# get the embeddings
|
46 |
query_embeddings = model.encode(queries, instruction=query_prefix)
|