Skip to content

Commit

Permalink
Bump version to 2.21.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Aug 30, 2021
1 parent d36be18 commit f6e5c44
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion opennmt/version.py
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit f6e5c44

Please sign in to comment.