Update README.md

change finetune_hf.py to finetune.py
This commit is contained in:
ddeellttaa 2024-06-15 14:12:15 +08:00 committed by GitHub
parent 920425c9fe
commit aff3c93c76
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ OMP_NUM_THREADS=1 torchrun --standalone --nnodes=1 --nproc_per_node=8 finetune_
通过以下代码执行 **单机单卡** 运行。 通过以下代码执行 **单机单卡** 运行。
```shell ```shell
python finetune_hf.py data/AdvertiseGen/ THUDM/glm-4-9b-chat configs/lora.yaml python finetune.py data/AdvertiseGen/ THUDM/glm-4-9b-chat configs/lora.yaml
``` ```
## 从保存点进行微调 ## 从保存点进行微调
@ -179,7 +179,7 @@ python finetune_hf.py data/AdvertiseGen/ THUDM/glm-4-9b-chat configs/lora.yam
例如,这就是一个从最后一个保存点继续微调的示例代码 例如,这就是一个从最后一个保存点继续微调的示例代码
```shell ```shell
python finetune_hf.py data/AdvertiseGen/ THUDM/glm-4-9b-chat configs/lora.yaml yes python finetune.py data/AdvertiseGen/ THUDM/glm-4-9b-chat configs/lora.yaml yes
``` ```
## 使用微调后的模型 ## 使用微调后的模型