Sentence Similarity
Safetensors
sentence-transformers
English
PyLate
modernbert
ColBERT
feature-extraction
Generated from Trainer
dataset_size:640000
loss:Distillation
Eval Results (legacy)
text-embeddings-inference
Instructions to use xtr-replicability/modernbert_colbert_kd with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use xtr-replicability/modernbert_colbert_kd 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="xtr-replicability/modernbert_colbert_kd") queries_emb = model.encode(queries, is_query=True) docs_emb = model.encode(documents, is_query=False) - Notebooks
- Google Colab
- Kaggle
File size: 751 Bytes
cac7ab3 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 | {
"model_type": "ColBERT",
"__version__": {
"sentence_transformers": "5.1.1",
"transformers": "4.56.2",
"pytorch": "2.7.1+cu126"
},
"prompts": {
"query": "",
"document": ""
},
"default_prompt_name": null,
"similarity_fn_name": "MaxSim",
"query_prefix": "",
"document_prefix": "",
"query_length": 32,
"document_length": 512,
"attend_to_expansion_tokens": false,
"skiplist_words": [
"!",
"\"",
"#",
"$",
"%",
"&",
"'",
"(",
")",
"*",
"+",
",",
"-",
".",
"/",
":",
";",
"<",
"=",
">",
"?",
"@",
"[",
"\\",
"]",
"^",
"_",
"`",
"{",
"|",
"}",
"~"
],
"do_query_expansion": true
} |