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="
|
| 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="
|
| 171 |
)
|
| 172 |
|
| 173 |
queries_embeddings = model.encode(
|
|
@@ -236,6 +236,7 @@ You can finetune this model on your own dataset.
|
|
| 236 |
-->
|
| 237 |
|
| 238 |
## Training Details
|
|
|
|
| 239 |
|
| 240 |
### Training Dataset
|
| 241 |
|
|
@@ -465,6 +466,7 @@ url={https://github.com/lightonai/pylate},
|
|
| 465 |
year={2024}
|
| 466 |
}
|
| 467 |
```
|
|
|
|
| 468 |
|
| 469 |
<!--
|
| 470 |
## Glossary
|
|
@@ -482,4 +484,4 @@ year={2024}
|
|
| 482 |
## Model Card Contact
|
| 483 |
|
| 484 |
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 485 |
-
-->
|
|
|
|
| 83 |
|
| 84 |
# Step 1: Load the ColBERT model
|
| 85 |
model = models.ColBERT(
|
| 86 |
+
model_name_or_path="rasyosef/colbert-mini",
|
| 87 |
)
|
| 88 |
|
| 89 |
# Step 2: Initialize the Voyager index
|
|
|
|
| 167 |
]
|
| 168 |
|
| 169 |
model = models.ColBERT(
|
| 170 |
+
model_name_or_path="rasyosef/colbert-mini",
|
| 171 |
)
|
| 172 |
|
| 173 |
queries_embeddings = model.encode(
|
|
|
|
| 236 |
-->
|
| 237 |
|
| 238 |
## Training Details
|
| 239 |
+
<details><summary>Click to expand</summary>
|
| 240 |
|
| 241 |
### Training Dataset
|
| 242 |
|
|
|
|
| 466 |
year={2024}
|
| 467 |
}
|
| 468 |
```
|
| 469 |
+
</details>
|
| 470 |
|
| 471 |
<!--
|
| 472 |
## Glossary
|
|
|
|
| 484 |
## Model Card Contact
|
| 485 |
|
| 486 |
*Provides a way for people who have updates to the Model Card, suggestions, or questions, to contact the Model Card authors.*
|
| 487 |
+
-->
|