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
ChatGLM-6B_pytorch
Commits
744ec16e
Commit
744ec16e
authored
Sep 14, 2023
by
zhaoying1
Browse files
Update README.md
parent
92060602
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
12 deletions
+14
-12
README.md
README.md
+14
-12
No files found.
README.md
View file @
744ec16e
...
@@ -123,18 +123,7 @@ Hugging Face模型下载地址:
...
@@ -123,18 +123,7 @@ Hugging Face模型下载地址:
cd ptuning
cd ptuning
bash evaluate_ft.sh
bash evaluate_ft.sh
```
```
### Results
## LoRA 微调训练
### 单机多卡训练
```
cd ptuning
bash lora_train.sh
```
### LoRA推理
```
python infer_lora.py
```
## Results
-
训练Loss
-
训练Loss
<div
align=
"center"
>
<div
align=
"center"
>
<img
src=
"./ptuning/media/6B_ds_ft_bs32_accum1_4cards_zero3_5e-5.jpg"
width=
"400"
height=
"300"
>
<img
src=
"./ptuning/media/6B_ds_ft_bs32_accum1_4cards_zero3_5e-5.jpg"
width=
"400"
height=
"300"
>
...
@@ -157,6 +146,19 @@ Hugging Face模型下载地址:
...
@@ -157,6 +146,19 @@ Hugging Face模型下载地址:
| Training Loss | 3.00 | 3.57 | 3.32 | -->
| Training Loss | 3.00 | 3.57 | 3.32 | -->
## LoRA 微调训练
### 单机多卡训练
```
cd ptuning
bash lora_train.sh
```
### LoRA推理
```
python infer_lora.py
```
## 推理
## 推理
运行如下命令:
运行如下命令:
...
...
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