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

fix BLEU score calculation during training #4

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

MorinoseiMorizo
Copy link
Contributor

Fixed incorrect BLEU score calculation that is mentioned in #3.

I added sampler and corpus for testing, and keep original sentences of src and trg.
These can be useful for further implementation, which adds BPE or other tokenization strategies,
and wants to calculate BLEU score with original tokenization.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants