-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Translation outputs differ with different batch sizes #2208
Comments
Are you using a length penalty ? |
Hi @vince62s , I'm not using length penalty. |
If you want to be sure change the exit condition here: |
What I don't really understand is why I get different translations depending on the batch_size. Does this mean that a certain sample is influenced by other samples in the batch? I guess this shouldn't be the expected behaviour as comparing systems would depend on selecting the same |
@anderleich I noticed this some time ago, see this comment #2039 (comment) |
Hi,
I've recently noticed that I get slightly different translation results when translating with different batch sizes. I guess this is not expected...
For example,
I'm using the latest version of OpenNMT-py
Thanks
The text was updated successfully, but these errors were encountered: