Skip to content

Releases: ZurichNLP/nmtscore

v0.3.3

11 Dec 14:45
Compare
Choose a tag to compare
  • 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

30 May 08:05
Compare
Choose a tag to compare
  • 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

10 Feb 11:28
Compare
Choose a tag to compare
  • Set small100 as default model when instantiating NMTScorer

v0.3.0

09 Jan 08:54
Compare
Choose a tag to compare

v0.2.0

18 Oct 04:38
Compare
Choose a tag to compare

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.

v0.1.0

28 Apr 11:36
a5453e0
Compare
Choose a tag to compare

Initial release