File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed
Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change 11"""OpenNMT-tf version."""
22
3- __version__ = "2.20.1 "
3+ __version__ = "2.21.0 "
44
55INCLUSIVE_MIN_TF_VERSION = "2.3.0"
66EXCLUSIVE_MAX_TF_VERSION = "2.7.0"
You can’t perform that action at this time.
0 commit comments