以下载单文件为例
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="neukg/TechGPT-2.0-QLora-hf",endpoint="https://hf-mirror.com",filename="adapter_model.bin",local_dir="./",local_dir_use_symlinks=False)
也有下载整个项目的方法
site:https://huggingface.co/docs/huggingface_hub/guides/download
本文介绍了如何从HuggingFaceHub下载TechGPT-2.0-QLora-hf项目的adapter_model.bin文件,以及提供了使用HF-Mirror镜像站下载整个项目的链接。
1348

被折叠的 条评论
为什么被折叠?



