Aamir
commited on
Commit
•
3cf3f78
1
Parent(s):
ab8f3f7
Update README.md
Browse files
README.md
CHANGED
@@ -35,7 +35,7 @@ Currently, the best way to use our models is with the most recent version of sen
|
|
35 |
Let's say you have a query, and you want to rerank a set of documents. You can do that with only one line of code:
|
36 |
|
37 |
```python
|
38 |
-
from
|
39 |
|
40 |
# Load the model, here we use our base sized model
|
41 |
model = CrossEncoder("mixedbread-ai/mxbai-rerank-xsmall-v1")
|
|
|
35 |
Let's say you have a query, and you want to rerank a set of documents. You can do that with only one line of code:
|
36 |
|
37 |
```python
|
38 |
+
from sentence_transformers import CrossEncoder
|
39 |
|
40 |
# Load the model, here we use our base sized model
|
41 |
model = CrossEncoder("mixedbread-ai/mxbai-rerank-xsmall-v1")
|