Skip to content
This repository was archived by the owner on Nov 22, 2022. It is now read-only.

Commit fad9639

Browse files
jeanmfacebook-github-bot
authored andcommitted
Release PyText v0.3.3
Summary: Release PyText v0.3.3. Reviewed By: mwu1993 Differential Revision: D21936209 fbshipit-source-id: 5796dc3edf11bacfff48b15cd0393a438f9f0c0b
1 parent 95e2bc8 commit fad9639

File tree

2 files changed

+44
-11
lines changed

2 files changed

+44
-11
lines changed

CHANGELOG.md

Lines changed: 43 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,41 @@
11
# Changelog
22

3+
## v0.3.3
4+
5+
### New features
6+
7+
- Add XLM-R document classification server + console (#1358)
8+
- MLP layer embed for float tensors and `FloatListSeqTensorizer` for `List[List[[float]]` features. (#1374)
9+
- Add `class_accuracy` in `MultiLabelSoftClassificationMetrics` (#1371)
10+
- Add an option to skip test run after models have been trained (#1372)
11+
- Support DP in PyText (#1366)
12+
- Support torchscriptify in multi_label_classification_layer (#1350)
13+
- Add custom metric class for reporting Joint model metrics (#1339)
14+
- MultiLabel-MultiClass Model for Joint Sequence Tagging (#1335)
15+
- Scripted tokenizer support for DocModel (#1314)
16+
17+
### Bugfixes
18+
- Fixed metric reporter aggregation and output layer for the multi-label classification
19+
- Remove `move_state_dict_to_gpu`, which is causing CUDA OOM (#1367)
20+
- Fix Flow's default conversion of dict to AttrDict
21+
- Fix bug in `ClassificationOutputLayer` that `pad_idx` is never respected (#1347)
22+
- Serializing/Deserializing type Any: bugfix and simplification (#1344)
23+
- Fix RoBERTa Q&A Training Bug with multiple BoS tokens. (#1343)
24+
25+
### Other
26+
- Better error message for misconfigured data fields
27+
- Replace deprecated integer division with floor division operator
28+
- Add informative prints to assert statements (#1360)
29+
- TorchScript: Put dense tensor on the same device with other input tensors (#1361)
30+
- Update PyTorch + ONNX (#1340)
31+
- Update PyTorch + ONNX (#1340)- binary ONNX
32+
- Update PR Template (#1349)
33+
- Reduce memory request for pytext train operator
34+
- Add 'contrib' directory for experimental code (#1333)
35+
336
## v0.3.2
437

5-
## New features
38+
### New features
639

740
- Support read file from http URL (#1317)
841
- add a new PyText get_num_examples_from_batch function in model (#1319)
@@ -27,7 +60,7 @@
2760
- Support multi label classification
2861
- BART in decoupled model
2962

30-
## Bug fixes
63+
### Bug fixes
3164

3265
- Cast model output to cpu (#1329)
3366
- Fix OSS predict-py API (#1320)
@@ -43,7 +76,7 @@
4376
- fix debug file generation for multilabel classification (#1247)
4477
- Fix fp16 optimizer attribute name
4578

46-
## Other
79+
### Other
4780

4881
- New Debug File for masked seq2seq
4982
- Move MockConfigLoader to OSS (#1324)
@@ -110,7 +143,7 @@
110143

111144
## v0.3.1
112145

113-
## New features
146+
### New features
114147
- Implement SquadQA tensorizer in TorchScript (#1211)
115148
- Add session data source for df (#1202)
116149
- Dynamic Batch Scheduler Implementation (#1200)
@@ -129,7 +162,7 @@
129162
- CyclicLRScheduler (#1157)
130163
- PyText Entity Linking: ELTask and ELMetricReporter (#1165)
131164

132-
## Bug fixes
165+
### Bug fixes
133166
- Don't upgrade if Tensorizer already given (#504)
134167
- avoid torchscriptify on a ScriptModule (#1214)
135168
- Make tensorboard robust to NaN and Inf in model params (#1206)
@@ -144,7 +177,7 @@
144177
- Fix zero loss tensor in SquadOutputLayer (#1181)
145178
- qa fix for ignore_impossible=False
146179

147-
## Other
180+
### Other
148181

149182
- Printing out error's underlying reason (#1227)
150183
- tidy file path in help text for invocation of docnn.json example (#1221)
@@ -176,7 +209,7 @@
176209

177210
## v0.3.0
178211

179-
## New Features
212+
### New Features
180213
**RoBERTa and XLM-R**
181214
- Integrate XLM-R into PyText (#1120)
182215
- Consolidate BERT, XLM and RobERTa Tensorizers (#1119)
@@ -244,7 +277,7 @@
244277
- Optimize Gelu module for caffe2 export (#918)
245278
- Save best model's sub-modules when enabled (#912)
246279

247-
## Documentation / Usability
280+
### Documentation / Usability
248281
- XLM-R tutorial in notebook (#1159)
249282
- Update XLM-R OSS tutorial and add Google Colab link (#1168)
250283
- Update "raw_text" to "text" in tutorial (#1010)
@@ -264,15 +297,15 @@
264297
- Config adapter old data handler helper (#943)
265298
- Nicer gen_config_impl (#944)
266299

267-
## Deprecated Features
300+
### Deprecated Features
268301
- Remove DocModel_Deprecated (#916)
269302
- Remove RNNGParser_Deprecated, SemanticParsingTask_Deprecated, SemanticParsingCppTask_Deprecate, RnngJitTask,
270303
- Remove QueryDocumentTask_Deprecated(#926)
271304
- Remove LMTask_Deprecated and LMLSTM_Deprecated (#882)
272305
- CompositionDataHandler to fb/deprecated (#963)
273306
- Delete deprecated Word Tagging tasks, models and data handlers (#910)
274307

275-
## Bug Fixes
308+
### Bug Fixes
276309
- Fix caffe2 predict (#1103)
277310
- Fix bug when tensorizer is not defined (#1169)
278311
- Fix multitask metric reporter for lr logging (#1164)

setup.py

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

1616
setuptools.setup(
1717
name="pytext-nlp",
18-
version="0.3.2",
18+
version="0.3.3",
1919
description="pytorch modeling framework and model zoo for text models",
2020
url="https://github.com/facebookresearch/PyText",
2121
author="Facebook",

0 commit comments

Comments
 (0)