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
Baichuan2_pytorch
Commits
760428dc
Commit
760428dc
authored
Nov 13, 2023
by
zhaoying1
Browse files
Update README.md
parent
9ba2b1b1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
README.md
README.md
+4
-2
No files found.
README.md
View file @
760428dc
...
...
@@ -50,7 +50,7 @@ docker exec -it baichuan2 /bin/bash
### Conda(方式三)
1.
创建conda虚拟环境:
```
conda create -n
chatglm
python=3.8
conda create -n
baichuan2
python=3.8
```
2.
关于本项目DCU显卡所需的工具包、深度学习库等均可从
[
光合
](
https://developer.hpccube.com/tool/
)
开发者社区下载安装。
...
...
@@ -114,7 +114,7 @@ site-packages/transformers/utils/versions.py 文件
```
## 模型下载
##
#
模型下载
Hugging Face模型下载地址:
[
Baichuan2-7B-Base
](
https://huggingface.co/baichuan-inc/Baichuan2-7B-Base
)
...
...
@@ -171,6 +171,8 @@ python cli_demo.py
```
请根据情况修改其中的模型加载路径。
注:以上脚本用于全参数模型推理,不适用于直接加载lora微调后的模型。
## Result
...
...
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