BAAI-DCAI / Bunny

A family of lightweight multimodal models.
Apache License 2.0
874 stars 66 forks source link

Download the model to local inference, but still link to huggingface.co #118

Closed Kyousoso closed 2 weeks ago

Kyousoso commented 1 month ago

I downloaded the model to my own server and imported it like this: image But this error occurred:

File "/home/work/.local/lib/python3.10/site-packages/transformers/utils/hub.py", line 445, in cached_file raise EnvironmentError( OSError: We couldn't connect to ' https://huggingface.co/ ' to load this file, couldn't find it in the cached files and it looks like google/siglip-so400m-patch14-384 is not the path to a directory containing a file named config.json.

Should I modify the config. json file to solve this problem?

Isaachhh commented 1 month ago

https://github.com/BAAI-DCAI/Bunny/issues/55#issuecomment-2078920495

Kyousoso commented 1 month ago

#55 (comment)

It's working, thank you!

Isaachhh commented 2 weeks ago

Close the issue for now if there's no further discussions. Feel free to reopen it if there's any other questions.