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
New discussion
Resources
  • PR & discussions documentation
  • Code of Conduct
  • Hub documentation

better behavior when query_prefix or document_prefix delete

#21 opened 12 months ago by
chenxiaobin

How to fine-tuned this model

#20 opened about 1 year ago by
kimleang123

add AIBOM

#18 opened about 1 year ago by
sabato-nocera

how to use onnx

#17 opened about 1 year ago by
qnguyen3

Official API does not automaticly truncate long doc but returns 400 Client Error

1
#16 opened about 1 year ago by
ocean11

Is it possible to filter out irrelevant documents based on sum of the score?

#13 opened almost 2 years ago by
nyust-eb210

Help. Load model failed using pylate

2
#12 opened almost 2 years ago by
iheycc

This probably means that you are not using fork to start your child processes and you have forgotten to use the proper idiom in the main module

#7 opened almost 2 years ago by
Guangchao007

Errors on The state dictionary

5
#4 opened almost 2 years ago by
baconnier
Company
TOS Privacy About Careers
Website
Models Datasets Spaces Pricing Docs