how to load local model files?
I want to load and use this model file that I downloaded locally, is it impossible?
I tried the code below but failed to load the local model.
from byaldi import RAGMultiModalModel
docs_retrieval_model = RAGMultiModalModel.from_pretrained("./my_local_path_colpali-v1.2")
Also, RAGMultiModalModel class did not have 'local_files_only' parameter.
How to load the local file ..
I am also facing the same issue. Not sure if its even possible to run it in local ?
Hello !
Yes it is possible but you got to make sure that you don't only download the adapters locally, but also the base model.
You then have to change the adapter_config.json local file tool point to the local base model file.
I think it's also possible to use the merged colpali_v1.2-merged version if you prefer !