juliuslipp
commited on
Commit
•
8eb1294
1
Parent(s):
6e4fca3
Update README.md
Browse files
README.md
CHANGED
@@ -2617,7 +2617,7 @@ pipeline_tag: feature-extraction
|
|
2617 |
|
2618 |
# mxbai-embed-large-v1
|
2619 |
|
2620 |
-
Here, we provide several ways to produce sentence embeddings. Please note that you have to provide the prompt `Represent this sentence for searching relevant passages:` for query if you want to use it for retrieval. Besides that you don't need any prompt. Our model also supports Matryoshka Representation Learning and binary
|
2621 |
|
2622 |
## Quickstart
|
2623 |
|
@@ -2633,7 +2633,7 @@ python -m pip install -U sentence-transformers
|
|
2633 |
from sentence_transformers import SentenceTransformer
|
2634 |
from sentence_transformers.util import cos_sim, quantize_embeddings
|
2635 |
|
2636 |
-
# 1. Specify preffered dimensions
|
2637 |
dimensions = 512
|
2638 |
|
2639 |
# 2. load model
|
|
|
2617 |
|
2618 |
# mxbai-embed-large-v1
|
2619 |
|
2620 |
+
Here, we provide several ways to produce sentence embeddings. Please note that you have to provide the prompt `Represent this sentence for searching relevant passages:` for query if you want to use it for retrieval. Besides that you don't need any prompt. Our model also supports [Matryoshka Representation Learning and binary quantization](https://www.mixedbread.ai/blog/binary-mrl)
|
2621 |
|
2622 |
## Quickstart
|
2623 |
|
|
|
2633 |
from sentence_transformers import SentenceTransformer
|
2634 |
from sentence_transformers.util import cos_sim, quantize_embeddings
|
2635 |
|
2636 |
+
# 1. Specify preffered dimensions
|
2637 |
dimensions = 512
|
2638 |
|
2639 |
# 2. load model
|