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
ce1b4aca
Commit
ce1b4aca
authored
Jun 14, 2024
by
Rayyyyy
Browse files
Update README
parent
9d518ec9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
README.md
README.md
+2
-0
No files found.
README.md
View file @
ce1b4aca
...
@@ -97,6 +97,8 @@ python gen_messages_data.py --data_path /path/to/AdvertiseGen
...
@@ -97,6 +97,8 @@ python gen_messages_data.py --data_path /path/to/AdvertiseGen
角色必须存在并且
`content`
字段为空。
角色必须存在并且
`content`
字段为空。
## 训练
## 训练
预训练模型可通过
[
THUDM/GLM-4
](
https://github.com/THUDM/GLM-4
)
中
**Model List**
章节下载,当前用例默认预训练模型为:
**GLM-4-9B-Chat**
。
1.
进入
`finetune_demo`
目录下,首先安装所需环境信息:
1.
进入
`finetune_demo`
目录下,首先安装所需环境信息:
```
bash
```
bash
pip
install
-r
requirements.txt
pip
install
-r
requirements.txt
...
...
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