How to merge an adapter to the base model

#4
by alielfilali01 - opened

i trained an adapter over the chatty model : https://huggingface.co/Ali-C137/idefics2-8b-yalla-finetuned-cutural

and now would like to merge it to the base model but it is not working, i keep getting this error :

image.png

Any help

hi @Ali-C137
you are encountering an error when loading the model. could you try loading the model with Idefics2ForConditionalGeneration.from_pretrained?

Sign up or log in to comment