-
Notifications
You must be signed in to change notification settings - Fork 49
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
RRHFTrainer.gather_logits_labels label in-place operation error #37
Comments
我之前没有遇到这个bug,你改了batch size还是什么吗 |
我沒有改過batch size |
你的python版本?error是什么 |
python==3.9.6 |
執行時不會報error |
主要的效果是會導致再計算 |
原始的 |
感谢反馈 |
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
train.py中的RRHFTrainer.gather_logits_labels原始的寫法如下:
這會導致 train.py line 274的get_score無法正確計算各個responses的length:
The text was updated successfully, but these errors were encountered: