Run this model with HF Jobs
Run vidore/colqwen2.5-v0.2 on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/vidore/colqwen2.5-v0.2. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/vidore/colqwen2.5-v0.2 on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use vidore/colqwen2.5-v0.2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- ColPali
How to use vidore/colqwen2.5-v0.2 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/colqwen2.5-v0.2 with sentence-transformers:
from sentence_transformers import MultiVectorEncoder model = MultiVectorEncoder("vidore/colqwen2.5-v0.2") 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
Training Hyperparameter for Colqwen2.5-v0.2 reproduce
Hi,
I’m currently working on reproducing the fine-tuning of ColQwen2.5 and evaluating it on the Vidore benchmark. I’ve noticed that there are three different sources specifying hyperparameters for ColQwen2.5: the Hugging Face model card, the adapter_config.json file, and the training_config.yml, as well as the training script from the Colpali GitHub repository.
Could you kindly share the exact hyperparameter settings used for achieving the top results with ColQwen2.5 v0.2 on the Vidore benchmark? It would be incredibly helpful for ensuring reproducibility.
Thanks a lot!
I'm looking for a reproduction tutorial for ColQwen2.5. Could you share one?
The training_config.yaml in this model repository is the config for this model.
Make sure that batches are well shared between GPUs and not individual per GPU if you want good performance (python launch instead of default torch distributed).
Note that this model is super undertrained so you can surely easily do better