We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a56c41 commit a620831Copy full SHA for a620831
src/llama_recipes/finetuning.py
@@ -167,7 +167,7 @@ def main(**kwargs):
167
# Load the pre-trained peft model checkpoint and setup its configuration
168
if train_config.from_peft_checkpoint:
169
model = PeftModel.from_pretrained(model, train_config.from_peft_checkpoint, is_trainable=True)
170
- peft_config = model.peft_config()
+ peft_config = model.peft_config
171
# Generate the peft config and start fine-tuning from original model
172
else:
173
peft_config = generate_peft_config(train_config, kwargs)
0 commit comments