Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nebhailema
/
afrixir-multivector-mini

Feature Extraction
sentence-transformers
Safetensors
xlm-roberta
colbert
late-interaction
multi-vector
information-retrieval
african-languages
multilingual
Generated from Trainer
dataset_size:112864
loss:CachedMultiVectorMultipleNegativesRankingLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use nebhailema/afrixir-multivector-mini with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use nebhailema/afrixir-multivector-mini with sentence-transformers:

    from sentence_transformers import MultiVectorEncoder
    
    model = MultiVectorEncoder("nebhailema/afrixir-multivector-mini")
    
    queries = ["Which planet is known as the Red Planet?"]
    documents = [
    	"Venus is often called Earth's twin because of its similar size and proximity.",
    	"Mars, known for its reddish appearance, is often referred to as the Red Planet.",
    	"Jupiter, the largest planet in our solar system, has a prominent red spot.",
    ]
    
    query_embeddings = model.encode_query(queries)
    document_embeddings = model.encode_document(documents)
    
    similarities = model.similarity(query_embeddings, document_embeddings)
    print(similarities)
  • Notebooks
  • Google Colab
  • Kaggle
afrixir-multivector-mini
488 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 8 commits
nebhailema's picture
nebhailema
docs: put the comparison under each heading
6a17495 verified about 5 hours ago
  • 1_Dense
    Add new MultiVectorEncoder model 19 days ago
  • 2_MultiVectorMask
    Add new MultiVectorEncoder model 25 days ago
  • 3_Normalize
    Add new MultiVectorEncoder model 25 days ago
  • .gitattributes
    1.57 kB
    Add new MultiVectorEncoder model 25 days ago
  • README.md
    25.2 kB
    docs: put the comparison under each heading about 5 hours ago
  • config.json
    720 Bytes
    Add new MultiVectorEncoder model 19 days ago
  • config_sentence_transformers.json
    283 Bytes
    Add new MultiVectorEncoder model 19 days ago
  • model.safetensors
    471 MB
    xet
    Add new MultiVectorEncoder model 19 days ago
  • modules.json
    563 Bytes
    Add new MultiVectorEncoder model 25 days ago
  • sentence_bert_config.json
    294 Bytes
    Add new MultiVectorEncoder model 19 days ago
  • tokenizer.json
    17.1 MB
    xet
    Add new MultiVectorEncoder model 19 days ago
  • tokenizer_config.json
    533 Bytes
    Add new MultiVectorEncoder model 19 days ago