下载llama2-7b并转llama2-7b-hf
1. llama2-7b
1.1 Huggingface请求下载权限
Hugging Face链接: https://huggingface.co/meta-llama/Llama-2-7b-hf
- 进入网页后下拉页面,找到如图所示的website,点击进入
- 填写基本信息,邮箱要和Hugging Face账号邮箱一致
- 在Select your models处展开Previous language & safety models,选择llama2,点击Next
- 邮箱收到名为“Get started with Meta Llama 2”的邮件,即为申请成功
1.2 下载llama2-7b至终端
- 下载llama
链接: https://github.com/meta-llama/llama/tree/main
远程服务器可以使用git下载
git clone https://github