您的位置:首页 > 教育 > 培训 > 长春新冠最新情况_企业logo设计要素_发帖推广平台_seo检测

长春新冠最新情况_企业logo设计要素_发帖推广平台_seo检测

2025/2/26 7:26:19 来源:https://blog.csdn.net/weixin_47894469/article/details/142864296  浏览:    关键词:长春新冠最新情况_企业logo设计要素_发帖推广平台_seo检测
长春新冠最新情况_企业logo设计要素_发帖推广平台_seo检测

方法一:在镜像网页中逐个下载放入相应文件夹

镜像网站:https://hf-mirror.com/

方法二:在服务器中使用镜像网站下载

将:

# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs install
# git clone
git clone https://huggingface.co/openai/whisper-large-v3-turbo

huggingface.co改为hf-mirror.com,即:

# Make sure you have git-lfs installed (https://git-lfs.com)
git lfs install
# git clone
git clone https://hf-mirror.com/openai/whisper-large-v3-turbo

方法三:使用huggingface-cli下载模型

  1. 安装依赖
pip install -U huggingface_hub hf_transfer
  1. 设置镜像站
export HF_ENDPOINT=https://hf-mirror.com
  1. 开启hf_transfer加速下载
export HF_HUB_ENABLE_HF_TRANSFER=1
  1. 下载命令
huggingface-cli download --resume-download 模型名称 --local-dir 本地目录
  • 以"openai-community/gpt2-medium"为例:
huggingface-cli download --resume-download openai-community/gpt2-medium

参考

Huggingface镜像站使用及常见报错

版权声明:

本网仅为发布的内容提供存储空间,不对发表、转载的内容提供任何形式的保证。凡本网注明“来源:XXX网络”的作品,均转载自其它媒体,著作权归作者所有,商业转载请联系作者获得授权,非商业转载请注明出处。

我们尊重并感谢每一位作者,均已注明文章来源和作者。如因作品内容、版权或其它问题,请及时与我们联系,联系邮箱:809451989@qq.com,投稿邮箱:809451989@qq.com