From 212d526d1ef7fbbb4d4569e14d4b86beeb3d1c33 Mon Sep 17 00:00:00 2001 From: Jannis Vamvas Date: Mon, 11 Dec 2023 15:41:10 +0100 Subject: [PATCH] Bump version to 0.3.3 --- README.md | 6 ++++++ setup.cfg | 2 +- src/nmtscore/__init__.py | 2 +- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 6b76cd9..4e99b71 100644 --- a/README.md +++ b/README.md @@ -159,6 +159,12 @@ See [experiments/README.md](experiments/README.md) - Data: See data subdirectories ## Changelog + +- 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 diff --git a/setup.cfg b/setup.cfg index ee0a675..c0dd75c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [metadata] name = nmtscore -version = 0.3.2 +version = 0.3.3 author = Jannis Vamvas author_email = vamvas@cl.uzh.ch description = A library of translation-based text similarity measures diff --git a/src/nmtscore/__init__.py b/src/nmtscore/__init__.py index 6f609f7..2c4c387 100644 --- a/src/nmtscore/__init__.py +++ b/src/nmtscore/__init__.py @@ -1,3 +1,3 @@ from nmtscore.scorer import NMTScorer -__version__ = "0.3.2" +__version__ = "0.3.3"