We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
当你添加以下代码的时候可以使用镜像站下载模型 我们需要你在模型模型自动下载的时候添加这个功能 下面的代码可以支持中国大陆用户直接下载模型不需要vpn 其他国家的我没试过,你可以添加一个选项来增加以下功能
mirror_url = "https://hf-mirror.com" os.environ['HF_ENDPOINT'] = mirror_url os.environ['NO_PROXY'] = 'hf-mirror.com, lfs.huggingface.co, .s3-accelerate.amazonaws.com, .hf-mirror.com'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
当你添加以下代码的时候可以使用镜像站下载模型
我们需要你在模型模型自动下载的时候添加这个功能
下面的代码可以支持中国大陆用户直接下载模型不需要vpn
其他国家的我没试过,你可以添加一个选项来增加以下功能
mirror_url = "https://hf-mirror.com"
os.environ['HF_ENDPOINT'] = mirror_url
os.environ['NO_PROXY'] = 'hf-mirror.com, lfs.huggingface.co, .s3-accelerate.amazonaws.com, .hf-mirror.com'
The text was updated successfully, but these errors were encountered: