facebookresearch / TransCoder

Public release of the TransCoder research project https://arxiv.org/pdf/2006.03511.pdf
Other
1.69k stars 258 forks source link

Multi-bleu.perl file not found #41

Closed carlguo866 closed 3 years ago

carlguo866 commented 3 years ago

In evaluator.py, the code now tries to download a multi-bleu.perl from BLEU_SCRIPT_URL = 'https://raw.githubusercontent.com/facebookresearch/XLM/master/src/evaluation/multi-bleu.perl'. However, there isn't such a file in this repo. I found multi-bleu.perl from the Moses repo here. Is there any difference between the TransCoder one and the original Moses one?

dowenk commented 3 years ago

I'm having same issue. What did you do to circumvent?

carlguo866 commented 3 years ago

dowget https://raw.githubusercontent.com/moses-smt/mosesdecoder/master/scripts/generic/multi-bleu.perl in the evaluator folder and then you would be fine

malachaux commented 3 years ago

This repo is now deprecated. Please now refer to our new repository https://github.com/facebookresearch/CodeGen, which solves this issue.