AnswerDotAI / AnswerDotAI/byaldi
How to Load Locally Downloaded Models (vidore/colqwen2-v1.0-hf or vidore/colqwen2-v1.0) in byaldi?
- Dominant language
- Python
- Stars
- 851
- Forks
- 91
- PR merge metrics
- No merged PRs in 30d
Description
Thank you for your excellent work on byaldi! 🙏
I’ve manually downloaded the vidore/colqwen2-v1.0-hfand vidore/colqwen2-v1.0models from Hugging Face ([link](https://huggingface.co/vidore/models)) to my server. Could you clarify how to properly integrate these models into byaldi?
When I use: `model_name = "/model_zoo/vidore/colpali-v1.3"
docs_retrieval_model = RAGMultiModalModel.from_pretrained(model_name, verbose=1)`, it will show the error message: ` from colpali_engine.models import ColPali, ColPaliProcessor, ColQwen2, ColQwen2Processor
ImportError: cannot import name 'ColQwen2' from 'colpali_engine.models' (/root/anaconda3/envs/rag/lib/python3.10/site-packages/colpali_engine/models/__init__.py)`
Thanks for your time!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.