Skip to content

Commit

Permalink
Bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumekln committed Mar 1, 2019
1 parent f467857 commit 2fbbc9c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ OpenNMT-tf follows [semantic versioning 2.0.0](https://semver.org/). The API cov

### New features

### Fixes and improvements

## [1.21.0](https://github.com/OpenNMT/OpenNMT-tf/releases/tag/v1.21.0) (2019-03-01)

### New features

* New experimental model type `LanguageModel` to train generative language models (see the example [GPT-2 configuration](https://github.com/OpenNMT/OpenNMT-tf/blob/master/config/models/gpt_2.py)). The usage is the same as a sequence to sequence model except that "labels" data should not be set.
* `cosine_annealing` learning rate decay
* `weight_decay` parameter to apply decoupled weight decay regularization (as described in [Loshchilov et al. 2017](https://arxiv.org/abs/1711.05101))
Expand Down
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
author = "OpenNMT"
language = "en"

version = "1.20" # The short X.Y version.
release = "1.20.1" # The full version, including alpha/beta/rc tags.
version = "1.21" # The short X.Y version.
release = "1.21.0" # The full version, including alpha/beta/rc tags.

source_suffix = ".rst"
master_doc = "index"
Expand Down
2 changes: 1 addition & 1 deletion opennmt/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
"""OpenNMT module."""

__version__ = "1.20.1"
__version__ = "1.21.0"

from opennmt import decoders
from opennmt import encoders
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

setup(
name="OpenNMT-tf",
version="1.20.1",
version="1.21.0",
license="MIT",
description="Neural machine translation and sequence learning using TensorFlow",
author="OpenNMT",
Expand Down

0 comments on commit 2fbbc9c

Please sign in to comment.