Skip to content

Releases: google/trax

v1.3.1

02 Jul 00:43
Compare
Choose a tag to compare

Miscellaneous fixes.

  • tl.Embedding now has the same signature as pytorch/tf
  • train.lr_schedule (function object) -> train.lr_schedule_fn (function)
  • Report loss back to training.Loop

v1.3.0

30 Jun 06:29
Compare
Choose a tag to compare

Trax now has docs on - https://trax-ml.readthedocs.io/en/latest/trax.html thanks to @j2i2 !

Many usability changes, especially in trax.supervised.training.TrainTask/EvalTask/Loop, docs, comments etc.

  • flat saved model/checkpoint representation
  • lr schedule simplified, now they just take step number.
  • configs are now in supervised/configs and rl/configs.
  • RL obsolete code cleanup.

Also rapid development of the tf-numpy codebase !

v1.2.4

18 Apr 18:06
Compare
Choose a tag to compare

Merged PRs:

  • #459 by @w4-sjcho - adding names to layers, aiding debuggability thanks a lot!
  • #256 and #300 by @stephenjfox and @satyarohith refining the README.md language, thanks a lot folks!
  • #313 #312 #436 #396 from @pkol with lots of bugfixes, thanks a lot @pkol !
  • #409 by @pkol -- a special shoutout to this PR, this fixes a long standing issue that prevented termination of the process by tracking the zombie threads -- thanks a lot for this @pkol specially !
  • #386 another shoutout to @pkol for an amazing speedup in the RL code -- thanks a lot again !
  • #344 a psum bugfix with tf backend from @fsx950223 - thanks a lot !
  • #335 a bugfix from @friesel - thanks a lot Phillip !
  • #315 better exception handling by @cool-RR - thanks a lot !

Reformer:

  • BERT initialization and finetuning by Nikita!
  • Many changes including ReformerLM on C4 dataset.

RL:

  • New 'light' RL code in the Trax supervised style, check it out!
  • AWR in the old code working with MuJoCo tasks.

And many more changes the Trax framework !

v1.2.3

25 Feb 17:00
Compare
Choose a tag to compare

Reformer

  • Reversible Transformer model for machine translation and other encoder-decoder tasks
  • Add code for beam search, sampling, and greedy decoding (see trax.models.beam_search.Search)
  • Memory-efficient attention classes have been re-written to use even less memory and to support faster decoding (see the new SelfAttention, LSHSelfAttention and EncDecAttention classes)

RL

  • Implemented the Advantage-Weighted Regression algorithm, a simple off-policy reinforcement learning algorithm.
  • Extracted out a PolicyBasedTrainer, so ppo_trainer.PPO and awr_trainer.AwrTrainer now both inherit from it.
  • Refactoring of the serialization code in the RL part, thanks to @koz4k !

Framework

  • A lot of code cleanup and refactoring of the core abstractions by Jonni, thanks Jonni!

TF Numpy

v1.2.2

17 Jan 17:30
Compare
Choose a tag to compare
  • More bugfixes related to scan/remat.

v1.2.1

16 Jan 21:19
Compare
Choose a tag to compare
  • Minor bugfix to GRU and scan.

v1.2.0

15 Jan 23:44
Compare
Choose a tag to compare

New Models

Colabs

Framework Changes

  • Ongoing cleanups and API simplifications.
  • Optimization by @jekbradbury - thanks James!

PRs

v1.1.2

23 Nov 08:26
Compare
Choose a tag to compare
Bump trax version to 1.1.2

PiperOrigin-RevId: 282108917