Visual Document Retrieval
Transformers
Safetensors
ColPali
sentence-transformers
English
pretraining
multi-vector
Instructions to use vidore/colpali-v1.3-hf with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use vidore/colpali-v1.3-hf with Transformers:
# Load model directly from transformers import AutoProcessor, AutoModelForPreTraining processor = AutoProcessor.from_pretrained("vidore/colpali-v1.3-hf") model = AutoModelForPreTraining.from_pretrained("vidore/colpali-v1.3-hf", device_map="auto") - ColPali
How to use vidore/colpali-v1.3-hf with ColPali:
# No code snippets available yet for this library. # To use this model, check the repository files and the library's documentation. # Want to help? PRs adding snippets are welcome at: # https://github.com/huggingface/huggingface.js
- sentence-transformers
How to use vidore/colpali-v1.3-hf with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("vidore/colpali-v1.3-hf") 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
HF version for vidore/colqwen2-v1.0
#4
by jjovalle99 - opened
Hello!
First of all, thanks for the amazing work you guys do.
I was wondering if there are plans to make a HF compatible version for vidore/colqwen2-v1.0.
Thanks!
Hi @jjovalle99 ππΌ
Thanks for the kind words! Yes I have planned to merge a PR for adding ColQwen2 to transformers. I'm afraid I don't have a precise schedule for you as I have other tasks that I must prioritize.
tonywu71 changed discussion status to closed