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
7fa8c0b3
Commit
7fa8c0b3
authored
Apr 14, 2025
by
chenzk
Browse files
Update url.md
parent
889d78c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
README.md
README.md
+1
-1
No files found.
README.md
View file @
7fa8c0b3
...
@@ -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`
字段为空。
## 训练
## 训练
预训练模型可通过
[
SCNet AIModels
](
http://113.200.138.88:18080/aimodels
)
下载,当前用例默认预训练模型为:
[
glm-4-9b-chat
](
http://
113.200.138.88:18080/aimodels
/glm-4-9b-chat
)
。
[
glm-4-9b-chat
](
http
s
://
huggingface.co/THUDM
/glm-4-9b-chat
)
。
1.
进入
`finetune_demo`
目录下,首先安装所需环境信息:
1.
进入
`finetune_demo`
目录下,首先安装所需环境信息:
```
bash
```
bash
...
...
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