huggingface.co 加速 上传或下载 ai模型
本帖最后由 pussy写真 于 2025-5-11 14:16 编辑不需要代理从huggingface.co 快速 上传或下载 ai模型
https://github.com/livegoplayer/scripts/tree/main/huggingface_io 把这三个文件下载的一个文件夹里,cmd进入文件夹
输入下面命令
pip 换源,选择一个源输入cmd
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
# 阿里源
pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
# 腾讯源
pip config set global.index-url https://mirrors.cloud.tencent.com/pypi/simple
输入
pip install -r requirements.txt 安装依赖
py huggingface.py
上传文件需要去huggingface.co设置里创建一个access tokens
感谢分享 谢谢分享 感谢分享 感谢分享 感谢分享
页:
[1]