v0.3.7
- Update dependency:
transformers>=4.21.0
- Update dependency:
datasets==2.4.0
- Update optional dependency:
sentence_transformers==2.2.0
- Update optional dependency:
gensim==4.1.2
- Update optional dependency:
tensorflow==2.7.0
(Thanks @VijayKalmath !!!!) - Miscellaneous fixes for new packages to update things and remove warning messages
- Fix logging attack args to W&B #647 (thanks @VijayKalmath)
- Fix bug with word_swap_masked_lm #649 (thanks @Hanyu-Liu-123)
- Fix small issues with
textattack train
#653 (thanks @VijayKalmath) - Fix issue with PWWS #654 (thanks @VijayKalmath)
- Update recipe for FasterGeneticAlgorithm to match paper #656 (thanks @VijayKalmath)
- Update adversarial dataset generation logic #657 (thanks @VijayKalmath)
- Update dataset_args to correctly set dataset_split #659 (thanks @VijayKalmath)
- Add logic for loading SQUAD via HuggingFaceDataset class #660 (thanks @VijayKalmath)
- Fix ANSI color-printing #662
- Make GreedyWordSwapWIR and related search methods more query-efficient under the presence of pre-transformation constraints #665 and #674 (thanks @VijayKalmath)
- Save attack summary table as JSON (thanks @VijayKalmath -- great feature add!!)
- Fix typo and update numpy #671 and #672 (thanks @JohnGiorgi -- and welcome!)
- Finish CLARE attack #675 (thanks @Hanyu-Liu-123 and @VijayKalmath)
- Add repr for better user experience with GoalFunctionResult #676 (thanks @VijayKalmath)
- Better exception handling in WordSwapChangeNumber ((thanks @dangne -- and welcome!!)
- Various other typo and bug fixes
Thanks to everyone who contributed to TextAttack this summer, and a special shoutout once more to @VijayKalmath for all the hard work and attention to detail. Glad to see TextAttack so healthy 🙂