Update README.md
Browse files
README.md
CHANGED
|
@@ -83,7 +83,7 @@ from pylate import indexes, models, retrieve
|
|
| 83 |
|
| 84 |
# Step 1: Load the ColBERT model
|
| 85 |
model = models.ColBERT(
|
| 86 |
-
model_name_or_path=yosefw/colbert-bert-mini,
|
| 87 |
)
|
| 88 |
|
| 89 |
# Step 2: Initialize the Voyager index
|
|
@@ -167,7 +167,7 @@ documents_ids = [
|
|
| 167 |
]
|
| 168 |
|
| 169 |
model = models.ColBERT(
|
| 170 |
-
model_name_or_path=yosefw/colbert-bert-mini,
|
| 171 |
)
|
| 172 |
|
| 173 |
queries_embeddings = model.encode(
|
|
|
|
| 83 |
|
| 84 |
# Step 1: Load the ColBERT model
|
| 85 |
model = models.ColBERT(
|
| 86 |
+
model_name_or_path="yosefw/colbert-bert-mini",
|
| 87 |
)
|
| 88 |
|
| 89 |
# Step 2: Initialize the Voyager index
|
|
|
|
| 167 |
]
|
| 168 |
|
| 169 |
model = models.ColBERT(
|
| 170 |
+
model_name_or_path="yosefw/colbert-bert-mini",
|
| 171 |
)
|
| 172 |
|
| 173 |
queries_embeddings = model.encode(
|