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

KeyError when load_lora_weights in run_all.py #5

Open
qcy22 opened this issue Jun 8, 2024 · 0 comments
Open

KeyError when load_lora_weights in run_all.py #5

qcy22 opened this issue Jun 8, 2024 · 0 comments

Comments

@qcy22
Copy link

qcy22 commented Jun 8, 2024

I added "conv" "conv1" and "conv2" to the target_modules .Now target_modules=["to_k", "to_q", "to_v", "to_out.0", "add_k_proj", "add_v_proj","conv1","conv2","conv"] .It trained well,but when pipe.load_lora_weights in run_all.py a key error was encountered.The following picture describes the error message
640c23941449e05191e6ec15742274c
jittor=1.3.9.8
peft= 0.10.0

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

1 participant