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

loss is aways 0 #419

Open
yimuu opened this issue Aug 12, 2024 · 5 comments
Open

loss is aways 0 #419

yimuu opened this issue Aug 12, 2024 · 5 comments
Assignees

Comments

@yimuu
Copy link

yimuu commented Aug 12, 2024

微调internlm-xcomposer2d5-7b时,损失一直为0

@yuhangzang
Copy link
Collaborator

Please check your SFT data format, and you may set a breakpoint here.

@yimuu
Copy link
Author

yimuu commented Aug 12, 2024

我添加了打印语句,但是运行的时候没有任何输出
image

@yimuu
Copy link
Author

yimuu commented Aug 13, 2024

我设置了断点,但是它并没有在这里停住,这个文件好像并不会执行

@yimuu
Copy link
Author

yimuu commented Aug 13, 2024

我将max_length设置为8192时不会出现loss为0的情况,但是将其设置为更小时就会出现。出现这种情况的原因是什么?

@yuhangzang
Copy link
Collaborator

我设置了断点,但是它并没有在这里停住,这个文件好像并不会执行

You may (1) clone the repo in your local dir, (2) set the breakpoint in your local dir, and (3) replace the export MODE path with your local dir path and have a try.

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

3 participants