github allenai/allennlp v0.5.0

latest releases: v2.10.1, v2.10.0, v2.9.3...
5 years ago

Breaking changes:

  • Starting with v0.5.0, AllenNLP is based on PyTorch 0.4. This version of PyTorch contains many substantial changes from earlier releases and the internals of AllenNLP required corresponding changes. It is possible that this may break some of your custom models.

  • The prior Attention and MatrixAttention modules have been renamed LegacyAttention and LegacyMatrixAttention, and have been replaced with Registrable classes that allow for much more efficient attention implementations. The minimal change to upgrade if you were using these previously is to just change where you have Attention to be LegacyAttention. Though, it'll probably speed up your code and/or reduce memory usage if you switch to using the new Attention.

Large new features:

  • We have added a Configuration Wizard that makes it easier to create configuration files for your experiments. Its use is detailed in a new how-to.

Full list of changes:

7128324 (tag: v0.5.0) bump version number to v0.5.0
e17cbd1 fix bug (#1363)
691af4e address PR comments (#1362)
d844a9a fancy version of the configuration wizard (#1344)
6739c31 Make test_trainer_respects_keep_serialized_model_every_num_seconds more patient (#1358)
ac2e0b9 Make optional args actually optional. (#1357)
a08e7fd Move serve functionality out of allennlp command. (#1317)
97484fb Faster Elmo (#1347)
ca4d262 Remove norm from question / table similarity computation (#1354)
2cddc69 Add ability to add tokens to vocabulary namespaces (#1352)
b556e53 Format pytest logging correctly (#1351)
6aaeb70 Add bilinear attention (#1349)
f6d9ba3 Remove what appears to be outdated line (#1348)
6c87ff5 Make vocab (#1339)
0c2d5c7 config explorer webapp (#1329)
b6b8955 Fix link to demo.allennlp.org page (#1336)
4326b59 Fix link to installation instructions (#1335)
03d6fad (initializers-regularizers) command-line configuration explorer (#1309)
b0d0d94 LabelField.as_tensor returns 0-tensor (#1320)
765dc20 Add logging for the original path in load_archive. (#1323)
8eb358b Convert run_with_beaker.py to use Blueprints. (#1199)
427a319 Add version to AllenNLP command. (#1322)
2456983 Add option to keep Viterbi scores when predicting (#1314)
62f701e Remove default arguments from the simple server. (#1319)
50fcb0c how to for debugging using pycharm (#1312)
cebf719 SRL elmo 5b (#1310)
e37a68e Add "Citing" section to README.md (#1305)
0db4bc5 Add ELMo to BCN (#1308)
097ccd7 Update torch and tensorboard versions in setup.py (#1311)
26e7f41 add user contributed models blurb (#1306)
5352a19 make predictors more discoverable (#1302)
4849589 Script for generating logical forms from ERM model for wikitables (#1247)
504964b allow sanitize to work on custom classes (#1307)
200b27e A new model is only considered the best if it is better than others and not simply better or equal (#1246)
ed63b7e upgrade to pytorch 0.4.0 (#1126)
b26031d Ignore tests in coverage metrics (#1293)
986cf17 Improve performance of attention modules (#1235)
69b9af3 In Trainer, require "patience" to be a positive integer or None (meaning "no early stopping"). Set patience=None by default. (#1271)
9cb0ea3 Add LICENSE to source distribution (#1291)
c26a513 Noam lr schedule (#1258)
59a0e5a Fix test-install by moving tests into module (#1232)
c0afe31 Insteall psycopg2-binary (#1286)
1f8125c (cli-params) Update the version of twine. (#1285)
5c06914 Use full version in docs. (#1283)
20da3fd Set long_description_content_type to markdown in setup.py. (#1284)
7e1080e Uptick version to unreleased. (#1281)
3c623c5 Fix links to the allennlp-as-a-library tutorials (#1279)

Don't miss a new allennlp release

NewReleases is sending notifications on new releases.