Skip to content
This repository has been archived by the owner on Jul 7, 2023. It is now read-only.

Releases: tensorflow/tensor2tensor

v1.5.4

02 Mar 22:38
fd9b315
Compare
Choose a tag to compare
  • Updates to the RL codebase
  • Tests updated to use TensorFlow 1.6
  • Various fixes, additions, etc.

v1.5.3

26 Feb 23:39
5c0d89e
Compare
Choose a tag to compare

v1.5.2

17 Feb 01:27
e1e0194
Compare
Choose a tag to compare

Note: The Text2TextProblem has been refactored so if you have subclassed it you may need to rename some methods. Some vocabulary files may need to be renamed as well.

  • Text2TextProblem, Text2ClassProblem and Text2SelfProblem base classes make specifying new text-based problems easy. See text_problems.py.
  • New models and problems, including for image generation and speech-to-text
  • Various bug fixes, feature additions, improvements, etc.
  • Test model export and serving for Python 2.7 and TensorFlow 1.5
  • Update Travis tests to test against TensorFlow version 1.4, 1.5, and 1.6

v1.5.1

12 Feb 05:30
64d1f96
Compare
Choose a tag to compare
  • TF 1.4 compatibility bug fix for Cloud ML Engine

v1.5.0

12 Feb 03:24
0d464ff
Compare
Choose a tag to compare

v1.4.4

08 Feb 23:09
80b2f73
Compare
Choose a tag to compare
  • Cloud ML Engine support added
  • New experimental RL module thanks to @piotrmilos
  • Various bug fixes, improvements, etc.

v1.4.3

02 Feb 01:54
103d057
Compare
Choose a tag to compare

Note: Tensor2Tensor now requires TensorFlow 1.5.

  • Working t2t-bleu thanks to @martinpopel
  • Improvements to image models: resnet, revnet, and shake_shake
  • Image problems refactor: faster input pipeline, richer ImageNet data preprocessing. Note that ImageModality.bottom no longer normalizes images; that's now done in the input pipeline.
  • Improvements for running on Google's Cloud TPUs, coming to you soon...
  • Various bug fixes, improvements, and additions

v1.4.2

13 Jan 01:55
a1d7ed7
Compare
Choose a tag to compare
  • New export method for exporting to TensorFlow Serving
  • Script for BLEU evaluation thanks to @martinpopel
  • Better TensorBoard metrics (what was removed has returned), with options to summarize gradients (--hparams='summarize_grads=True')
  • Various bug fixes, doc updates, new features, as usual

Internals:

  • Scripts in bin/ are now thin and executable
  • Main training utility library moved to trainer_lib.py

v1.4.1

22 Dec 19:26
c1cd875
Compare
Choose a tag to compare
  • Support for multi-device evaluation
  • Support for early stopping in distributed training
  • Refactor Librispeech problem to use a new speech recognition base class

v1.4.0

21 Dec 18:22
758991d
Compare
Choose a tag to compare

This release is a significant refactor of T2T internals.

  • T2TModel subclasses now have the ability to override the entire Estimator model function with the estimator_model_fn method, making them much more flexible. Subclasses can also now override bottom, body, top, loss, and optimize.
  • Problem subclasses now have the ability to override the entire Estimator input function with the input_fn method, making them much more flexible.
  • The key components of the trainer and decoder - Experiment, Estimator, RunConfig, HParams - are all much more easily constructed and used by library callers through tpu_trainer_lib.py.
  • We decided to drop support for MultiModel, i.e. training on multiple problems, because it added too much code complexity for the benefit gained. We will consider adding support back in a way that doesn't overcomplicate things too much if there's sufficient interest.

There are also the usual new models, feature improvements, bug fixes.

  • New image_fashion_mnist dataset
  • New revnet104 model, implementing a large Reversible Residual Network
  • Set --decode_hparams=write_beam_scores=True to include beam scores when writing to a file
  • Beginnings of new interactive visualization server at insights/