huggingface官网meta-llama/Meta-Llama-3.1-8B-Instruct · Hugging Face(最好挂梯子)
huggingface下载太慢,大模型文件太大。用huggingface_hub镜像。
pip install -U huggingface_hub
pip install huggingface-cli
export HF_ENDPOINT=https://hf-mirror.com
huggingface-cli download --resume-download shenzhi-wang/Llama3-8B-Chinese-Chat --local-dir /root/autodl-tmp/models/Llama3-8B-Chinese-Chat1
代码来源(cgft-llm/llama-factory/README.md at master · echonoshy/cgft-llm · GitHub)