Skip to content

Conversation

SeoroMin
Copy link

Added bleu.py, which is more suitable for machine translation task performance evaluation.

how to run :
python bleu.py --reference ./.data/multi30k/test2016.en --candidate prediction.txt

@1338199
Copy link

1338199 commented Dec 7, 2021

Sorry to bother you, does your translate.py works well? I found the generated "prediction.txt" file contains plenty of "as", although the dev accuracy is good during training. I trained the model in latest version on the master branch using commands in "train_multi30k_de_en.sh",

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

Successfully merging this pull request may close these issues.

2 participants