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

ValueError: Please specify target_modules in peft_config #133

Open
zhujunru854 opened this issue Jan 15, 2025 · 2 comments
Open

ValueError: Please specify target_modules in peft_config #133

zhujunru854 opened this issue Jan 15, 2025 · 2 comments

Comments

@zhujunru854
Copy link

The error I encountered:ValueError: Please specify target_modules in peft_config, indicates that target_modules was not properly specified in the peft_config. I am using LoRA for fine-tuning. Could you tell me what target_modules is?

@zhujunru854
Copy link
Author

zhujunru854 commented Jan 15, 2025

image
but q and v is invalid

@zhujunru854
Copy link
Author

zhujunru854 commented Jan 15, 2025

image
ValueError: Target modules ['query', 'value'] not found in the base model. Please check the target modules and try again.

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