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
Llama1and2_lmdeploy
Commits
bd3521b0
Commit
bd3521b0
authored
Aug 22, 2024
by
xuxzh1
🎱
Browse files
update readme
parent
077720a0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
0 deletions
+10
-0
README.md
README.md
+10
-0
No files found.
README.md
View file @
bd3521b0
...
@@ -68,6 +68,14 @@ cd .. && python3 setup.py install
...
@@ -68,6 +68,14 @@ cd .. && python3 setup.py install
支持模型包括:LLama-7B、LLama-13B、LLama-30B、LLama-65B、LLama2-7B、LLama2-13B、LLama2-70B
支持模型包括:LLama-7B、LLama-13B、LLama-30B、LLama-65B、LLama2-7B、LLama2-13B、LLama2-70B
> [!CAUTION]
>
> 最新lmdepoly推理llama1:
>
> 1.LLama-13B:需要在tokenizer_config.json中添加“unk_token”对应的值为"<unk>“
>
> 2.LLama-65B:config文件中“architectures”对应的[LlAmaForCausalLM]改成[LlamaForCausalLM]
### 运行 LLama-7b
### 运行 LLama-7b
```
```
# 模型转换
# 模型转换
...
@@ -237,3 +245,5 @@ https://developer.hpccube.com/codes/modelzoo/llama_lmdeploy
...
@@ -237,3 +245,5 @@ https://developer.hpccube.com/codes/modelzoo/llama_lmdeploy
## 参考资料
## 参考资料
https://github.com/InternLM/LMDeploy
https://github.com/InternLM/LMDeploy
##
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