Open not-lain opened 2 days ago
Yes, I agree, it's not necessary as PeftModel.from_pretrained
loads the config automatically. Are you interested in creating a PR to remove this line @not-lain?
Hi @BenjaminBossan Thanks a lot for your prompt reply, I would love to take this issue
The peft code snippet loads a
PeftConfig
parameter which is not used anywhere, I think it would be better to remove that since the entire script functions without it. cc @BenjaminBossan if you have any inputs about this.