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

finetune_lora.sh 报参数解析错误“ValueError: Some specified arguments are not used by the HfArgumentParser: ['name', 'or', 'path', 'of', 'data'] ” #359

Closed
AllenMao opened this issue Jul 8, 2024 · 4 comments
Assignees

Comments

@AllenMao
Copy link

AllenMao commented Jul 8, 2024

能提供一下完整的requirement包吗?

@yuhangzang
Copy link
Collaborator

Please refer to this document and makre sure that your transformer version == 4.33.2

@AllenMao
Copy link
Author

Yes, I am using transformer version 4.33.2 and Python version 3.8, which seems to be an error caused by "argparse".

@yongliang-wu
Copy link

You should modify the paths of finetune_lora.sh.

export MODEL=
export DATA=

@yuhangzang
Copy link
Collaborator

Kindly re-open this issue if you still face the problems.

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

4 participants