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的镜像同步 #60

Open
bolongliu opened this issue Sep 26, 2023 · 2 comments
Open

申请加入Huggingface的镜像同步 #60

bolongliu opened this issue Sep 26, 2023 · 2 comments

Comments

@shuguang99
Copy link

赞同!!!!

@bolongliu
Copy link
Author

现在国内有镜像了,具体可以访问https://hf-mirror.com/

使用非常简单,速度一般是带宽速度。一般至少10M/s

1. 下载hfd
wget https://hf-mirror.com/hfd/hfd.sh
chmod a+x hfd.sh

2. 设置环境变量
Linux
export HF_ENDPOINT=https://hf-mirror.com

3.1 下载模型
./hfd.sh gpt2 --tool aria2c -x 4

3.2 下载数据集
./hfd.sh wikitext --dataset --tool aria2c -x 4

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

No branches or pull requests

3 participants