Commit 4f9ea7f3 authored by chenzk's avatar chenzk
Browse files

Update url.md

parent 24bdc980
...@@ -99,7 +99,7 @@ $ tree ./data/ ...@@ -99,7 +99,7 @@ $ tree ./data/
``` ```
### 模型权重下载 ### 模型权重下载
1. 方式一:下载huggingface格式模型。以 7B 模型为例,首先下载预训练[llama-7b-hf](http://113.200.138.88:18080/aimodels/llama-7b-hf),转换到TencentPretrain格式: 1. 方式一:下载huggingface格式模型。以 7B 模型为例,首先下载预训练[llama-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf),转换到TencentPretrain格式:
```commandline ```commandline
python3 scripts/convert_llama_from_huggingface_to_tencentpretrain.py --input_model_path $LLaMA_HF_PATH \ python3 scripts/convert_llama_from_huggingface_to_tencentpretrain.py --input_model_path $LLaMA_HF_PATH \
--output_model_path models/llama-7b.bin --type 7B --output_model_path models/llama-7b.bin --type 7B
...@@ -245,8 +245,8 @@ TencentPretrain格式模型推理请参考[llama_inference_pytorch](https://deve ...@@ -245,8 +245,8 @@ TencentPretrain格式模型推理请参考[llama_inference_pytorch](https://deve
项目中的预训练权重可从快速下载通道下载: 项目中的预训练权重可从快速下载通道下载:
* [llama-7b-hf](http://113.200.138.88:18080/aimodels/llama-7b-hf) * [llama-7b-hf](https://huggingface.co/meta-llama/Llama-2-7b-chat-hf)
* [llama-13b-hf](http://113.200.138.88:18080/aimodels/llama-13b-hf) * [llama-13b-hf](https://huggingface.co/meta-llama/Llama-2-13b-hf)
## 源码仓库及问题反馈 ## 源码仓库及问题反馈
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment