Releases: ZurichNLP/nmtscore
Releases · ZurichNLP/nmtscore
v0.3.3
- Update minimum required Python version to 3.8
- Require transformers<4.34 to ensure compatibility for
small100
model
m2m100
/small100
: Stop adding extra EOS tokens when scoring, which is not needed anymore
v0.3.2
- Fix score calculation with
small100
model (account for the fact that the target sequence is not prefixed with the target language, as is the case for m2m100
).
- Improve caching efficiency
v0.3.1
- Set
small100
as default model when instantiating NMTScorer
v0.2.0
Bugfix: Provide source language to m2m100 models (#2)
This fix is backwards-compatible but a warning is now raised if m2m100 is used without specifying the input language.