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的? #6

Closed
sunshineyg2018 opened this issue Oct 29, 2023 · 3 comments
Closed

请问怎么实现切换lora的? #6

sunshineyg2018 opened this issue Oct 29, 2023 · 3 comments

Comments

@sunshineyg2018
Copy link

No description provided.

@Go4miii
Copy link
Contributor

Go4miii commented Oct 30, 2023

利用peft库中load_adapter函数,就可以加载多个lora,然后需要加载时再用set_adapter函数就可以了。

@lemuria-wchen
Copy link
Contributor

利用peft库中load_adapter函数,就可以加载多个lora,然后需要加载时再用set_adapter函数就可以了。

这部分代码,是不是也可以考虑开源一下。

@sunshineyg2018
Copy link
Author

利用peft库中load_adapter函数,就可以加载多个lora,然后需要加载时再用set_adapter函数就可以了。

这部分代码,是不是也可以考虑开源一下。
已经很详细了 。。用set_adapter就可以了

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

3 participants