-
Notifications
You must be signed in to change notification settings - Fork 65
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
peft 0.3.0如何设置adapater_name #38
Comments
相同版本遇到相同问题。TypeError: LoraModel.init() missing 1 required positional argument: 'adapter_name' |
你可以换一个版本的peft,我换成了0.3.0.dev0的版本,可以运行 |
我之前是直接将peft的源码拉下来:git clone https://github.com/huggingface/peft.git |
非常感谢,我先试试0.3.0.dev0 |
在其他地方看到一个写法,暂时解决了这个问题。或许这种方式依旧存在其他问题,欢迎看到的小伙伴指出。
|
0.2.0 似乎能跑 pip install peft==0.2.0 |
@huangbaichao @lich99 为什么存在两种配置lora adapter的方式? |
peft 的0.3.0在LoraModel里增加了一个adapter_name是,这个参数怎么填写?
The text was updated successfully, but these errors were encountered: