Skip to content

Commit

Permalink
Bump version to 2.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Jul 29, 2022
1 parent 576ec37 commit 12d3233
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,23 @@ OpenNMT-tf follows [semantic versioning 2.0.0](https://semver.org/). The API cov

### Fixes and improvements

## [2.28.0](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.28.0) (2022-07-29)

### New features

* Add `initial_learning_rate` parameter to the `InvSqrtDecay` schedule
* Add new arguments to the `Transformer` constructor:
* `mha_bias`: to disable bias terms in the multi-head attention (as presented in the original paper)
* `output_layer_bias`: to disable bias in the output linear layer

### Fixes and improvements

* Fix incorrect dtype for `SequenceRecordInputter` length vector
* Fix rounding error when batching datasets which could make the number of tokens in a batch greater than the configured batch size
* Fix deprecation warning when using `distutils.version.LooseVersion`, use `packaging.version.Version` instead
* Make the length dimension unknown in the dataset used for batch size autotuning so that it matches the behavior in training
* Update SacreBLEU requirement to include new version 2.2

## [2.27.1](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v2.27.1) (2022-06-02)

### 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.27.1"
__version__ = "2.28.0"

INCLUSIVE_MIN_TF_VERSION = "2.6.0"
EXCLUSIVE_MAX_TF_VERSION = "2.10.0"
Expand Down

0 comments on commit 12d3233

Please sign in to comment.