Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lora模型合并 #355

Closed
sevenandseven opened this issue Mar 26, 2024 · 2 comments
Closed

lora模型合并 #355

sevenandseven opened this issue Mar 26, 2024 · 2 comments
Labels
question Further information is requested

Comments

@sevenandseven
Copy link

Describe the Question

Please provide a clear and concise description of what the question is.

你好,我使用多个txt文档,lora的方法进行增量预训练,但是合并时出现:
return config_cls(**kwargs)
TypeError: LoraConfig.init() got an unexpected keyword argument 'layer_replication'

peft是0.9.0 请问这个问题怎么解决?

@sevenandseven sevenandseven added the question Further information is requested label Mar 26, 2024
@shibing624
Copy link
Owner

pip install peft==0.7.0

@sevenandseven
Copy link
Author

好的,感谢。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants