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
GLM-4_pytorch
Commits
f5ef689b
Commit
f5ef689b
authored
Jul 05, 2024
by
Rayyyyy
Browse files
Add icon and SCNet
parent
842d6413
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
对话问答.png
对话问答.png
+0
-0
No files found.
README.md
View file @
f5ef689b
...
@@ -94,7 +94,7 @@ python gen_messages_data.py --data_path /path/to/AdvertiseGen
...
@@ -94,7 +94,7 @@ python gen_messages_data.py --data_path /path/to/AdvertiseGen
-
`tools`
字段为可选字段,若存在
`tools`
字段,其必须出现在
`system`
角色之后,且一个完整的对话数据(无论单轮或者多轮对话)只能出现一次
`tools`
字段。当
`tools`
字段存在时,
`system`
角色必须存在并且
`content`
字段为空。
-
`tools`
字段为可选字段,若存在
`tools`
字段,其必须出现在
`system`
角色之后,且一个完整的对话数据(无论单轮或者多轮对话)只能出现一次
`tools`
字段。当
`tools`
字段存在时,
`system`
角色必须存在并且
`content`
字段为空。
## 训练
## 训练
预训练模型可通过
[
THUDM/GLM-4
](
http
s
://
github.com/THUDM/GLM-4
)
中
**Model List**
章节
下载,当前用例默认预训练模型为:
**
GLM
-4-9
B-C
hat**
。
GLM-4-9B等预训练模型可通过
[
aimodels
](
http://
113.200.138.88:18080/aimodels
)
下载,当前用例默认预训练模型为:
**
glm
-4-9
b-c
hat**
。
1.
进入
`finetune_demo`
目录下,首先安装所需环境信息:
1.
进入
`finetune_demo`
目录下,首先安装所需环境信息:
```
bash
```
bash
...
...
对话问答.png
0 → 100644
View file @
f5ef689b
53.8 KB
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