Transformers
English
trl
rlhf

enable_lora : not working for 0.6.0 peft

#3
by jmha - opened

This peft model works with PEFT==0.5.0, but not any more with 0.6.0 release due to the "enable_lora", "merge_weights" in config file.
Can we remove this?

Error seen:
File "/usr/local/lib/python3.10/dist-packages/peft/config.py", line 141, in from_pretrained
config = config_cls(**kwargs)
TypeError: LoraConfig.init() got an unexpected keyword argument 'enable_lora'

Sign up or log in to comment