From b11655d6d007f2ecc001ae8d6a922cb9c79d0af0 Mon Sep 17 00:00:00 2001 From: Eric Gaudet Date: Fri, 14 Jun 2019 16:54:15 -0700 Subject: [PATCH] release 0.2.0 (#696) Summary: Pull Request resolved: https://github.com/facebookresearch/pytext/pull/696 release 0.2.0 & changelog Reviewed By: bethebunny, chenyangyu1988 Differential Revision: D15835455 fbshipit-source-id: e7faa690c280468207c1b05080286dc93ad60d08 --- CHANGELOG.md | 25 +++++++++++++++++++++++++ setup.py | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9609f2276..f2e962bc6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,30 @@ # Changelog +## v0.2.0 + +*Note:* This release makes the new data handler API the default and deprecates Task and Model classes using the old data handler API. We recommend that you migrate your models to the new API as soon as possible. More details here: http://... + +**New Stuff** +- most tasks and models deprecated, replaced with better versions using the new data handler API +- performance improvements in metric reporter +- Add Multilingual TSV Data Source +- LabelSmoothedCrossEntropyLoss +- Support for pretrained word embedding in TokenTensorizer +- option to use pretrained embedding +- TorchScript export for document classification +- Improve log in trainer +- performance measurement: reporting tokens_per_second and updates_per_second +- Implement DocumentReader from DrQA in PyText (StackedBidirectionalRNN) +- improved and updated documentation +- Implement SWA(SGD|ADAM) and Adagrad Optimizers +- cache numerized data in memory +- TorchScript BPE tokenization +- CLI command to update configs +- Visualize gradients with tensorboard + +*Many bug fixes and code clean-ups* + + ## v0.1.5 *Note:* this is a last release in 0.1.x. The next release will deprecate Task and Model base classes and make the improved API of the new data handler the default. You can start using it already by inheriting from NewTask. NewDocumentClassification and NewWordTaggingTask use this new API, and you can get the first example in the tutorial "Custom Data Format". diff --git a/setup.py b/setup.py index 827565aaf..c0a8d71c7 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ setuptools.setup( name="pytext-nlp", - version="0.1.5", + version="0.2.0", description="pytorch modeling framework and model zoo for text models", url="https://github.com/facebookresearch/PyText", author="Facebook",