Commit 760428dc authored by zhaoying1's avatar zhaoying1
Browse files

Update README.md

parent 9ba2b1b1
......@@ -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
......
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