[go: nahoru, domu]

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

[Question]: SystemExit: 2 #5022

Open
1202010685 opened this issue Feb 28, 2023 · 5 comments
Open

[Question]: SystemExit: 2 #5022

1202010685 opened this issue Feb 28, 2023 · 5 comments
Assignees
Labels
question Further information is requested triage

Comments

@1202010685
Copy link

请提出你的问题

微调报错,请求帮助

finetune.py: error: the following arguments are required: --output_dir
An exception has occurred, use %tb to see the full traceback.
SystemExit: 2

@1202010685 1202010685 added the question Further information is requested label Feb 28, 2023
@LiuChiachi
Copy link
Contributor

按照报错信息,你应该传入参数--output_dir指定保存模型的路径

@LiuChiachi LiuChiachi self-assigned this Feb 28, 2023
@1202010685
Copy link
Author

按照报错信息,你应该传入参数--output_dir指定保存模型的路径

对的对的;但是我没搞明白怎么加;我在pycharm里面 Run/Debug Configurations Paramaters 添加了 --output_dir None“” 以后不报这个错了;但是收到新的报错:TypeError: Expectn str, bytes or os.PathLike object, not NoneType; 请求帮助

@LiuChiachi
Copy link
Contributor

None可能不行,你可以加--output_dir chekpoint

@1202010685
Copy link
Author

None可能不行,你可以加--output_dir chekpoint

谢谢 我试一下;我刚刚改成了data文件夹,代码不报错了,但没有运行

@1202010685
Copy link
Author

None可能不行,你可以加--output_dir chekpoint

谢谢谢谢 是我没有改paddlenlp/trainer/training_args --train的设置, 改为True以后,在读取我的数据了,但是很慢很慢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested triage
Projects
None yet
Development

No branches or pull requests

3 participants