Hi,
Could anyone tell whether the BLEU score coming from the generate.py is cased BLEU or not?
And how could I output the translated sentence into a file?
Thanks!
cased
grep ^H output | cut -f3- > hyp
Although fairseq uses sacrebleu, you should decode and output the translation into a file and use https://github.com/mjpost/sacreBLEU to be sure.
Most helpful comment
Although fairseq uses sacrebleu, you should decode and output the translation into a file and use https://github.com/mjpost/sacreBLEU to be sure.