From f6e5c44453cedfa8e8d696591c222188edac5d48 Mon Sep 17 00:00:00 2001 From: Guillaume Klein Date: Mon, 30 Aug 2021 13:39:34 +0200 Subject: [PATCH] Bump version to 2.21.0 --- CHANGELOG.md | 19 +++++++++++++++++++ opennmt/version.py | 2 +- 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1aa641fa8..0dbe105e2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,25 @@ OpenNMT-tf follows [semantic versioning 2.0.0](https://semver.org/). The API cov ### Fixes and improvements +## [2.21.0](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.21.0) (2021-08-30) + +### New features + +* Support TensorFlow 2.6 +* Add tokenizer `SentencePieceTokenizer`, an in-graph SentencePiece tokenizer provided by [tensorflow-text](https://www.tensorflow.org/text) +* Add methods to facilitate training a `Model` instance: + * `model.compute_training_loss` + * `model.compute_gradients` + * `model.train` +* Add `--output_file` argument to `score` command + +### Fixes and improvements + +* Fix `make_features` method of inputters `WordEmbedder` and `SequenceRecordInputter` to work on a batch of elements +* Fix error when `SelfAttentionDecoder` is called without `memory_sequence_length` +* Fix `ConvEncoder` on variable-length inputs +* Support SacreBLEU 2.0 + ## [2.20.1](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.20.1) (2021-07-01) ### Fixes and improvements diff --git a/opennmt/version.py b/opennmt/version.py index 2c89c8ba3..c3e0bce55 100644 --- a/opennmt/version.py +++ b/opennmt/version.py @@ -1,6 +1,6 @@ """OpenNMT-tf version.""" -__version__ = "2.20.1" +__version__ = "2.21.0" INCLUSIVE_MIN_TF_VERSION = "2.3.0" EXCLUSIVE_MAX_TF_VERSION = "2.7.0"