Skip to content

Conversation

@dshwei
Copy link

@dshwei dshwei commented Oct 17, 2024

PeftModel.from_pretrained parameter should set is_trainable=True, otherwise all model parameters will be setted requires_grad = False

PeftModel.from_pretrained parameter should set is_trainable=True,
otherwise all model parameters will be setted requires_grad = False
@dshwei
Copy link
Author

dshwei commented Oct 17, 2024

When you want to use peft checkpoints as a continuing fine-tuning ,,PeftModel.from_pretrained's parameter is_trainable=True is required

@dshwei dshwei marked this pull request as ready for review October 17, 2024 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant