Update llama.py
This commit is contained in:
parent
31811cf02c
commit
a0232a7bac
1 changed files with 1 additions and 1 deletions
|
|
@ -1426,7 +1426,7 @@ class FastLlamaModel:
|
|||
# Check if exactly the same and then pass through!
|
||||
assert(hasattr(model, "peft_config"))
|
||||
|
||||
peft_config = model.peft_config
|
||||
peft_config = model.peft_config["default"].to_dict()
|
||||
check_parameters = [
|
||||
"r", "target_modules", "lora_alpha", "lora_dropout",
|
||||
"bias", "layers_to_transform", "layers_pattern",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue