v2.9.1
What's new
Fixed ✅
- Updated dependencies, especially around doc creation.
- Running the test suite out-of-tree (e.g. after installation) is now possible by pointing the environment variable
ALLENNLP_SRC_DIR
to the sources. - Silenced a warning that happens when you inappropriately clone a tensor.
- Adding more clarification to the
Vocabulary
documentation aroundmin_pretrained_embeddings
andonly_include_pretrained_words
. - Fixed bug with type mismatch caused by latest release of
cached-path
that now returns aPath
instead of astr
.
Added 🎉
- We can now transparently read compressed input files during prediction.
- LZMA compression is now supported.
- Added a way to give JSON blobs as input to dataset readers in the
evaluate
command. - Added the argument
sub_module
inPretrainedTransformerMismatchedEmbedder
Changed ⚠️
- You can automatically include all words from a pretrained file when building a vocabulary by setting the value in
min_pretrained_embeddings
to-1
for that particular namespace.
Commits
3547bfb pin cached-path tighter, make sure our cached-path wrapper still returns str
(#5587)
99c9343 Clarify Vocabulary documentation, add -1 option for min_pretrained_embeddings
(#5581)
3fa5193 Makes the evaluate
command work for the multitask case (Second Edition) (#5579)
9f03803 Add "sub_module" argument in PretrainedTransformerMismatchedEmbedder (#5580)
92e54cc Open Compressed (#5578)
5b3352c Clone warns (#5575)
9da4b0f Add Wassterstein Distance calculation option for fairness metrics (#5546)
b8f92f0 Update mkdocs-material requirement from <8.2.0,>=5.5.0 to >=5.5.0,<8.3.0 (#5572)
a21c0b4 Update filelock requirement from <3.5,>=3.3 to >=3.3,<3.7 (#5571)
6614077 Make tests runnable out-of-tree for help with conda-packaging (#5560)
e679213 Fix CITATION.cff and add automatic validation of your citation metadata (#5561)
efa9f1d try to unpin nltk (#5563)
d01179b Small typo fix (#5555)
3c2299a tighten test_sampled_equals_unsampled_when_biased_against_non_sampled_positions bound (#5549)
e463084 Bump black from 21.12b0 to 22.1.0 (#5554)
8226e87 Making checklist optional (#5507)
a76bf1e Update transformers requirement from <4.16,>=4.1 to >=4.1,<4.17 (#5553)