#1
pip install -U huggingface_hub hf_transfer
#2
export HF_ENDPOINT=https://hf-mirror.com
模型下载
huggingface-cli download --resume-download 01-ai/Yi-1.5-34B-Chat --local-dir /data/chenmf/yi
数据集下载要加个类型
huggingface-cli download --repo-type dataset --resume-download sentence-transformers/embedding-training-data --local-dir /data/chenmf/sentence-transformers/embedding-training-data