OpenNMT / OpenNMT-py

Open Source Neural Machine Translation and (Large) Language Models in PyTorch
https://opennmt.net/
MIT License
6.67k stars 2.24k forks source link

added the option to use BLEU and TER as a stopping criteria #2593

Closed aaaallleen closed 1 week ago

aaaallleen commented 1 week ago

I added the option to use TER and BLEU as an early stopping criterion. The implementation is very simple. I've added assertions for checking.

vince62s commented 1 week ago

Please read the README of the project, we are no longer supporting OpenNMT-py and switching to https://github.com/eole-nlp/eole I suggest you to switch to eole if you intend to get support in the future.

aaaallleen commented 1 week ago

Thank you! I just noticed it today since it was only updated 4 days ago. I try out eole and try to make contributes!