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

官方示例运行报错 #15

Open
yungangwu opened this issue Jun 21, 2023 · 2 comments
Open

官方示例运行报错 #15

yungangwu opened this issue Jun 21, 2023 · 2 comments

Comments

@yungangwu
Copy link

在运行官方示例时,model.merge_lora这一步报了没有这个属性错误。是更新了相关的版本吗?
AttributeError: 'BertDense' object has no attribute 'merge_lora'

@LaDuLaDu
Copy link

LaDuLaDu commented Nov 8, 2023

请问您解决这个问题了么,我也遇到了这个报错。

@yungangwu
Copy link
Author

解决了,删掉这句就行了 model.merge_lora(adapter_name)

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

No branches or pull requests

2 participants