We couldn't connect to 'https://huggingface.co' to load this file

#15
by Jianyu - opened

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 internlm/internlm-xcomposer2d5-7b is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

Could you help me on this? I am not sure how it comes. I am using HF-Mirror to download the models....

Thank you.

You may download the model weights to your local directory, see this blog.

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 internlm/internlm-xcomposer2d5-7b is not the path to a directory containing a file named config.json.
Checkout your internet connection or see how to run the library in offline mode at 'https://huggingface.co/docs/transformers/installation#offline-mode'.

Could you help me on this? I am not sure how it comes. I am using HF-Mirror to download the models....

Thank you.

The font (ixc_utils.py l13) and ViT (build_mlp.py l9) are still required to connect to huggingface. You could download the file separately and modify the script (build_mlp.py l9) to your local directory.

Sign up or log in to comment