Feature Extraction
sentence-transformers
Safetensors
modernbert
multi-vector
colbert
late-interaction
Generated from Trainer
dataset_size:1000000
loss:CachedMultiVectorMultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use multi-vector-encoder/mLateOn-medical with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use multi-vector-encoder/mLateOn-medical with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("multi-vector-encoder/mLateOn-medical") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Remove index portion for the time being
Browse files
README.md
CHANGED
|
@@ -188,10 +188,6 @@ This is a [Multi-Vector Encoder](https://www.sbert.net/docs/multi_vector_encoder
|
|
| 188 |
|
| 189 |

|
| 190 |
|
| 191 |
-
Late interaction stores one vector per token, so its index is larger than a dense one, and these medical passages are long (about 878 stored vectors each). [`HierarchicalTokenPooling`](https://sbert.net/docs/package_reference/multi_vector_encoder/modules.html#hierarchicaltokenpooling) compresses that cheaply: halving the index costs 0.003 NDCG@10, and even a tenth of the index still scores higher than every other model in the benchmark.
|
| 192 |
-
|
| 193 |
-

|
| 194 |
-
|
| 195 |
The full recipe, the evaluation protocol, and the experiments behind each choice are described in [Training and Finetuning Multi-Vector Embedding Models with Sentence Transformers](https://huggingface.co/blog/train-multi-vector-encoder).
|
| 196 |
|
| 197 |
## Model Details
|
|
|
|
| 188 |
|
| 189 |

|
| 190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 191 |
The full recipe, the evaluation protocol, and the experiments behind each choice are described in [Training and Finetuning Multi-Vector Embedding Models with Sentence Transformers](https://huggingface.co/blog/train-multi-vector-encoder).
|
| 192 |
|
| 193 |
## Model Details
|