ChartLlama-code
ChartLlama-code copied to clipboard
Is there any typo in the model https://huggingface.co/listen2you002/ChartLlama-13b/tree/main?
Hello. Thank you for releasing all these amazing work. I am encountering a ClipVision issue. When I try to load the Lora weigths from ChartLlama-13b model, the "mm_vision_tower": "/mnt/share_1227775/yandali/multimodal/models/ft_local/clip-vit-large-patch14-336/" was n't accessiable. I changed it to the openai/clip-vit-large-patch14-336, but then it has another problem of generating texts.
I am wondering is there any typo or issues here? Maybe I am wrong. Canyou help to fix it?
Thank you so much
I faced the same issue. Did you resolve it?
How I fixed the issue:
- First, download the
listen2you002/ChartLlama-13model from Hugging Face locally. - Next, download the
liuhaotian/llava-v1.5-13bmodel from Hugging Face locally. - Then, download the
openai/clip-vit-large-patch14-336model from Hugging Face locally. - Navigate to the folder where
ChartLlama-13was downloaded, and in theconfig.json, replace"mm_vision_tower"with the full path ofclip-vit-large-patch14-336. - For inference, pass the local paths of both
liuhaotian/llava-v1.5-13bandlisten2you002/ChartLlama-13.
It was a mismatch of paths. Hope this helps!