Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update ptuning/README.md 单卡全参数finetune建议 #1202

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ptuning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ bash train.sh

如果需要进行全参数的 Finetune,需要安装 [Deepspeed](https://github.com/microsoft/DeepSpeed),然后运行以下指令:

单卡全参数的 Finetune建议:
1)如果需要在3090[24G显存]单卡进行finetune,可下载chatglm-6b-int4,地址:https://huggingface.co/THUDM/chatglm-6b-int4
2)微调私域数据出现答案阶段问题,可修改max_source_length和max_target_length,调大即可

```shell
bash ds_train_finetune.sh
```
Expand Down