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

AttributeError: 'ModelArguments' object has no attribute 'target_modules' #300

Open
juzidelang opened this issue Sep 22, 2023 · 0 comments

Comments

@juzidelang
Copy link

File "***/train/sft/finetune_clm.py", line 156, in post_init
if type(self.target_modules)==str:
AttributeError: 'ModelArguments' object has no attribute 'target_modules'

Is it a code snippet accidentally introduced in finetune_clm.py? It seems to be better to execute it by commenting it out.

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