THUNLP-MT / THUMT

An open-source neural machine translation toolkit developed by Tsinghua Natural Language Processing Group
BSD 3-Clause "New" or "Revised" License
701 stars 197 forks source link

Bugs in bin/scorer.py #81

Closed zhanghuimeng closed 4 years ago

zhanghuimeng commented 4 years ago

The code used six, but does not import it. And in usage it still says "translator.py [<args>] [-h | --help]". It seems that this script prints a score for every parallel sentence pair. But what is the score for?

xc-kiwiberry commented 4 years ago

We fixed the bugs. Thank you very much. The scores can be used to compute sentence level cross-entropy loss, that is to say, evaluate in loss style rather than BLEU style.