LMFlow icon indicating copy to clipboard operation
LMFlow copied to clipboard

Why is the lora_model so large after fine-tuning?

Open w-JiqQian opened this issue 1 year ago • 1 comments

Why is the lora_model so large after fine-tuning? d78c08c391b272d387261074970ea40

w-JiqQian avatar Apr 15 '23 12:04 w-JiqQian

The checkpoints are intermediate full model. You can use the adapter_model.bin once the training is completed.

hendrydong avatar Apr 16 '23 04:04 hendrydong

The checkpoints are intermediate full model. You can use the adapter_model.bin once the training is completed.

How to extract adapter_model.bin file from the checkpoint folder?

delltower avatar May 04 '23 02:05 delltower

The checkpoints are intermediate full model. You can use the adapter_model.bin once the training is completed.

How to extract adapter_model.bin file from the checkpoint folder?

Due to the incompatibility of PEFT package and the transformer trainer. The checkpoint only contains full model. We will revise the trainer and make it support PEFT soon

hendrydong avatar May 04 '23 04:05 hendrydong

This issue has been marked as stale because it has not had recent activity. If you think this still needs to be addressed please feel free to reopen this issue. Thanks

shizhediao avatar May 15 '23 00:05 shizhediao