pcyin/pytorch_basic_nmt

How to Compute BLEU Score

WilliamLwj opened this issue · 1 comments

Hi,
I am new to NMT and I have just tried your code. It works like a charm.

However, I am having trouble trying to compute the BLEU score. How should we use the Perl file? I think there should be a reference file or something. Could you elaborate more on that? Thank you very much.

I think I figured it out. Thanks anyway
perl multi-bleu.perl ./data/test.de-en.en < ./work_dir/decode.txt