Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ModelZoo
LLaMA_TencentPretrain_pytorch
Commits
4f9ea7f3
Commit
4f9ea7f3
authored
Apr 15, 2025
by
chenzk
Browse files
Update url.md
parent
24bdc980
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
README.md
README.md
+3
-3
No files found.
README.md
View file @
4f9ea7f3
...
...
@@ -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
](
http
s
://
huggingface.co/meta-llama/Llama-2-7b-chat
-hf
)
,转换到TencentPretrain格式:
```
commandline
python3 scripts/convert_llama_from_huggingface_to_tencentpretrain.py --input_model_path $LLaMA_HF_PATH \
--output_model_path models/llama-7b.bin --type 7B
...
...
@@ -245,8 +245,8 @@ TencentPretrain格式模型推理请参考[llama_inference_pytorch](https://deve
项目中的预训练权重可从快速下载通道下载:
*
[
llama-7b-hf
](
http://
113.200.138.88:18080/aimodels/llama-7b
-hf
)
*
[
llama-13b-hf
](
http://
113.200.138.88:18080/aimodels/l
lama-13b-hf
)
*
[
llama-7b-hf
](
http
s
://
huggingface.co/meta-llama/Llama-2-7b-chat
-hf
)
*
[
llama-13b-hf
](
http
s
://
huggingface.co/meta-llama/L
lama-
2-
13b-hf
)
## 源码仓库及问题反馈
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment