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
ChatGLM3-6B_pytorch
Commits
1ad153a1
Commit
1ad153a1
authored
Dec 07, 2023
by
zhaoying1
Browse files
Update README.md
parent
93e23758
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
README.md
README.md
+18
-0
No files found.
README.md
View file @
1ad153a1
...
@@ -68,6 +68,24 @@ conda create -n chatglm python=3.8
...
@@ -68,6 +68,24 @@ conda create -n chatglm python=3.8
pip install -r requirements.txt
pip install -r requirements.txt
```
```
### 注意 1
```
#到虚拟环境下对应的python/site-packages注释掉一些版本判断
site-packages/accelerate/accelerator.py 文件
287 #if not is_deepspeed_available():
288 # raise ImportError("DeepSpeed is not installed => run `pip install deepspeed` or build it from source.")
289 #if compare_versions("deepspeed", "<", "0.9.3"):
290 # raise ImportError("DeepSpeed version must be >= 0.9.3. Please update DeepSpeed.")
site-packages/transformers/utils/versions.py 文件
43 #if not ops[op](version.parse(got_ver), version.parse(want_ver)):
44 # raise ImportError(
45 # f"{requirement} is required for a normal functioning of this module, but found {pkg}=={got_ver}.{hint}"
46 # )
```
## 数据集
## 数据集
单轮对话数据以
[
ADGEN
](
https://aclanthology.org/D19-1321.pdf
)
(
广告生成
)
数据集为例介绍代码的使用方法,该数据集任务为根据输入(content)生成一段广告词(summary),以下为下载地址:
单轮对话数据以
[
ADGEN
](
https://aclanthology.org/D19-1321.pdf
)
(
广告生成
)
数据集为例介绍代码的使用方法,该数据集任务为根据输入(content)生成一段广告词(summary),以下为下载地址:
-
[
Google Drive
](
https://drive.google.com/file/d/13_vf0xRTQsyneRKdD1bZIr93vBGOczrk/view?usp=sharing
)
或者
[
Tsinghua Cloud
](
https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1
)
-
[
Google Drive
](
https://drive.google.com/file/d/13_vf0xRTQsyneRKdD1bZIr93vBGOczrk/view?usp=sharing
)
或者
[
Tsinghua Cloud
](
https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1
)
...
...
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