update ptuning readme for pip install

pull/1455/head
SimonLee 2024-02-05 16:17:35 +08:00
parent a0d6b9e169
commit 23fe46f74a
2 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@
## 软件依赖
运行微调需要4.27.1版本的`transformers`。除 ChatGLM-6B 的依赖之外,还需要安装以下依赖
```
pip install rouge_chinese nltk jieba datasets
pip install rouge_chinese nltk jieba datasets cpm_kernels sentencepiece
```
## 使用方法

View File

@ -6,7 +6,7 @@ The following uses the [ADGEN](https://aclanthology.org/D19-1321.pdf) (advertisi
## Software dependencies
Running p-tuning requires version 4.27.1 of `transformers`. In addition to the dependencies of ChatGLM-6B, the following dependencies are required
```
pip install rouge_chinese nltk jieba datasets
pip install rouge_chinese nltk jieba datasets cpm_kernels sentencepiece
```
## Instructions