HF
认证
huggingface-cli login --token your_token
下载
官方指引:HF-mirror
model
huggingface-cli download --resume-download meta-llama/Llama-3.1-8B-Instruct --local-dir your_dir
dataset
huggingface-cli download --repo-type dataset --resume-download mengfang/MATH-APS --local-dir your_dir
魔塔
下载
modelscope download --model="LLM-Research/Meta-Llama-3-8B-Instruct" --local_dir your_dir