Sentence Similarity
Safetensors
sentence-transformers
English
PyLate
modernbert
ColBERT
feature-extraction
Generated from Trainer
dataset_size:100521
loss:CachedContrastive
Eval Results
text-embeddings-inference
Instructions to use lightonai/Reason-ModernColBERT with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use lightonai/Reason-ModernColBERT with sentence-transformers:
from pylate import models queries = [ "Which planet is known as the Red Planet?", "What is the largest planet in our solar system?", ] documents = [ ["Mars is the Red Planet.", "Venus is Earth's twin."], ["Jupiter is the largest planet.", "Saturn has rings."], ] model = models.ColBERT(model_name_or_path="lightonai/Reason-ModernColBERT") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Inference
- Notebooks
- Google Colab
- Kaggle
Add do_query_expansion parameter
Browse files
config_sentence_transformers.json
CHANGED
|
@@ -45,5 +45,6 @@
|
|
| 45 |
"|",
|
| 46 |
"}",
|
| 47 |
"~"
|
| 48 |
-
]
|
|
|
|
| 49 |
}
|
|
|
|
| 45 |
"|",
|
| 46 |
"}",
|
| 47 |
"~"
|
| 48 |
+
],
|
| 49 |
+
"do_query_expansion": false
|
| 50 |
}
|