should fix LoraConfig.__init__() got an unexpected keyword argument 'enable_lora'
Browse filesshould fix LoraConfig.__init__() got an unexpected keyword argument 'enable_lora' when applying the adapter:
model = PeftModel.from_pretrained(model, peft_model)
- 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,
|