buio commited on
Commit
8c142d2
1 Parent(s): 6f591dd

should fix LoraConfig.__init__() got an unexpected keyword argument 'enable_lora'

Browse files

should fix LoraConfig.__init__() got an unexpected keyword argument 'enable_lora' when applying the adapter:
model = PeftModel.from_pretrained(model, peft_model)

Files changed (1) hide show
  1. adapter_config.json +0 -1
adapter_config.json CHANGED
@@ -1,7 +1,6 @@
1
  {
2
  "base_model_name_or_path": "decapoda-research/llama-7b-hf",
3
  "bias": "none",
4
- "enable_lora": null,
5
  "fan_in_fan_out": false,
6
  "inference_mode": true,
7
  "init_lora_weights": true,
 
1
  {
2
  "base_model_name_or_path": "decapoda-research/llama-7b-hf",
3
  "bias": "none",
 
4
  "fan_in_fan_out": false,
5
  "inference_mode": true,
6
  "init_lora_weights": true,