Skip to content

Commit 0cce879

Browse files
authored
Merge pull request #247 from gpengzhi/bump-version
Bump version to v0.2.4
2 parents 8553974 + 1dc5605 commit 0cce879

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

CHANGELOG.md

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,30 @@
22

33
### New features
44

5-
* Support only Python 3.6 and 3.7. Drop support of older Python versions.
5+
### Feature improvements
6+
7+
### Fixes
8+
9+
## [v0.2.4](https://github.com/asyml/texar/releases/tag/v0.2.4) (2019-11-18)
10+
11+
### New features
12+
13+
* Support only Python 3.6 and 3.7. Drop support of older Python versions. ([#211](https://github.com/asyml/texar/pull/211))
14+
* Add Tokenizers including tokenizers for pretrained models (`BERTTokenizer`, `XLNetTokenizer`, etc). ([#225](https://github.com/asyml/texar/pull/225))
15+
* Add GPT2 modules (`GPT2Encoder`, `GPT2Decoder`, `GPT2Classifier`, etc). ([#228](https://github.com/asyml/texar/pull/228))
616

717
### Feature improvements
818

19+
* Update embedder modules `dropout_strategy=='item'` to support TensorFlow v1.15. ([#231](https://github.com/asyml/texar/pull/231))
20+
* Update `.gitignore` and add `.gitignore` files to all examples. ([#233](https://github.com/asyml/texar/pull/233))
21+
* Polish code style according to flake8. ([#234](https://github.com/asyml/texar/pull/234))
22+
* Add GPT2 XL pretrained checkpoint. ([#243](https://github.com/asyml/texar/pull/243))
23+
924
### Fixes
1025

26+
* Fix `examples/transformer/scripts/wmt14_en_de.sh` to create output dir automatically. ([#238](https://github.com/asyml/texar/pull/238))
27+
* Fix variable scope issue in `texar.tf.modules.decoders.dynamic_decode`. ([#246](https://github.com/asyml/texar/pull/246))
28+
1129
## [v0.2.3](https://github.com/asyml/texar/releases/tag/v0.2.3) (2019-09-22)
1230

1331
### New features

setup.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
import sys
12
import setuptools
23

34

45
long_description = '''
5-
Texar is an open-source toolkit based on Tensorflow,
6+
Texar is an open-source toolkit based on TensorFlow,
67
aiming to support a broad set of machine learning especially text generation
78
tasks, such as machine translation, dialog, summarization, content manipulation,
89
language modeling, and so on.
@@ -13,9 +14,12 @@
1314
interfaces.
1415
'''
1516

17+
if sys.version_info < (3, 6):
18+
sys.exit('Python>=3.6 is required by Texar.')
19+
1620
setuptools.setup(
1721
name="texar",
18-
version="0.2.4-unreleased",
22+
version="0.2.4",
1923
url="https://github.com/asyml/texar",
2024

2125
description="Toolkit for Machine Learning and Text Generation",

texar/tf/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
_MAJOR = "0"
1616
_MINOR = "2"
17-
_REVISION = "4-unreleased"
17+
_REVISION = "4"
1818

1919
VERSION_SHORT = "{0}.{1}".format(_MAJOR, _MINOR)
2020
VERSION = "{0}.{1}.{2}".format(_MAJOR, _MINOR, _REVISION)

0 commit comments

Comments
 (0)