sentence-transformers
ONNX
Safetensors
ColBERT
multi-vector
passage-retrieval
custom_code
🇪🇺 Region: EU
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 MultiVectorEncoder model = MultiVectorEncoder("jinaai/jina-colbert-v2", trust_remote_code=True) 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
Help. Load model failed using pylate
#12
by iheycc - opened
When using pylate as official example, it failed to load model. The error is
No sentence-transformers model found with name jinaai/jina-colbert-v2.
This model card is not tagged with 'sentence-transformers'.
Any idea?
I am having the same issue.
any solution for this issue? really appreciate it!