Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

xtr-replicability
/
modernbert_colbert_contrastive

Sentence Similarity
Safetensors
sentence-transformers
PyLate
modernbert
ColBERT
feature-extraction
Generated from Trainer
dataset_size:10000000
loss:Contrastive
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use xtr-replicability/modernbert_colbert_contrastive with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use xtr-replicability/modernbert_colbert_contrastive 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_contrastive")
    
    queries_emb = model.encode(queries, is_query=True)
    docs_emb = model.encode(documents, is_query=False)
  • Notebooks
  • Google Colab
  • Kaggle
modernbert_colbert_contrastive
600 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
xtr-replicability's picture
xtr-replicability
Upload folder using huggingface_hub
bdf0235 verified 20 days ago
  • 1_Dense
    Upload folder using huggingface_hub 20 days ago
  • .gitattributes
    1.52 kB
    initial commit 20 days ago
  • README.md
    41.4 kB
    Upload folder using huggingface_hub 20 days ago
  • config.json
    1.21 kB
    Upload folder using huggingface_hub 20 days ago
  • config_sentence_transformers.json
    751 Bytes
    Upload folder using huggingface_hub 20 days ago
  • model.safetensors
    596 MB
    xet
    Upload folder using huggingface_hub 20 days ago
  • modules.json
    216 Bytes
    Upload folder using huggingface_hub 20 days ago
  • sentence_bert_config.json
    57 Bytes
    Upload folder using huggingface_hub 20 days ago
  • special_tokens_map.json
    581 Bytes
    Upload folder using huggingface_hub 20 days ago
  • tokenizer.json
    3.58 MB
    Upload folder using huggingface_hub 20 days ago
  • tokenizer_config.json
    20.8 kB
    Upload folder using huggingface_hub 20 days ago