Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

huggingface远程加载模型不稳定 #70

Open
theussong opened this issue Dec 22, 2023 · 2 comments
Open

huggingface远程加载模型不稳定 #70

theussong opened this issue Dec 22, 2023 · 2 comments

Comments

@theussong
Copy link

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 THUDM/chatglm-6b 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'.

@silencewa
Copy link

兄弟你解决了吗

@WillowRw
Copy link

try

import os
os.environ["HF_ENDPOINT"] = "https://hf-mirror.com"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants