Skip to content

Commit f6e5c44

Browse files
committed
Bump version to 2.21.0
1 parent d36be18 commit f6e5c44

File tree

2 files changed

+20
-1
lines changed

2 files changed

+20
-1
lines changed

CHANGELOG.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,25 @@ OpenNMT-tf follows [semantic versioning 2.0.0](https://semver.org/). The API cov
1515

1616
### Fixes and improvements
1717

18+
## [2.21.0](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.21.0) (2021-08-30)
19+
20+
### New features
21+
22+
* Support TensorFlow 2.6
23+
* Add tokenizer `SentencePieceTokenizer`, an in-graph SentencePiece tokenizer provided by [tensorflow-text](https://www.tensorflow.org/text)
24+
* Add methods to facilitate training a `Model` instance:
25+
* `model.compute_training_loss`
26+
* `model.compute_gradients`
27+
* `model.train`
28+
* Add `--output_file` argument to `score` command
29+
30+
### Fixes and improvements
31+
32+
* Fix `make_features` method of inputters `WordEmbedder` and `SequenceRecordInputter` to work on a batch of elements
33+
* Fix error when `SelfAttentionDecoder` is called without `memory_sequence_length`
34+
* Fix `ConvEncoder` on variable-length inputs
35+
* Support SacreBLEU 2.0
36+
1837
## [2.20.1](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.20.1) (2021-07-01)
1938

2039
### Fixes and improvements

opennmt/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""OpenNMT-tf version."""
22

3-
__version__ = "2.20.1"
3+
__version__ = "2.21.0"
44

55
INCLUSIVE_MIN_TF_VERSION = "2.3.0"
66
EXCLUSIVE_MAX_TF_VERSION = "2.7.0"

0 commit comments

Comments
 (0)