Skip to content

How to Load Locally Downloaded Models (vidore/colqwen2-v1.0-hf or vidore/colqwen2-v1.0) in byaldi?#94

Description

@Sammy42779

Thank you for your excellent work on byaldi! 馃檹
I鈥檝e manually downloaded the vidore/colqwen2-v1.0-hfand vidore/colqwen2-v1.0models from Hugging Face (link) 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!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions