Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

jinaai
/
jina-colbert-v2

sentence-transformers
ONNX
Safetensors
ColBERT
multi-vector
passage-retrieval
custom_code
🇪🇺 Region: EU
Model card Files Files and versions
xet
Community
22

Instructions to use jinaai/jina-colbert-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use jinaai/jina-colbert-v2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("jinaai/jina-colbert-v2", trust_remote_code=True)
    
    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
jina-colbert-v2
3.37 GB
Ctrl+K
Ctrl+K
  • 10 contributors
History: 27 commits
michael-guenther's picture
michael-guenther
tomaarsen's picture
tomaarsen HF Staff
Add Sentence Transformers usage (#22)
a9dc5cd 2 days ago
  • onnx
    fix: onnx linear layer (#11) almost 2 years ago
  • .gitattributes
    1.73 kB
    Update ONNX weights (#10) almost 2 years ago
  • README.md
    13.2 kB
    Add Sentence Transformers usage (#22) 2 days ago
  • artifact.metadata
    1.22 kB
    feat: revert the mask padding default setting almost 2 years ago
  • config.json
    1.58 kB
    initial model upload about 2 years ago
  • model.safetensors
    1.12 GB
    xet
    initial model upload about 2 years ago
  • special_tokens_map.json
    1.3 kB
    initial model upload about 2 years ago
  • tokenizer.json
    17.1 MB
    xet
    initial model upload about 2 years ago
  • tokenizer_config.json
    1.59 kB
    initial model upload about 2 years ago