QData / TextAttack

TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/
https://textattack.readthedocs.io/en/master/
MIT License
2.92k stars 389 forks source link

Update update_test_outputs.py #781

Closed qiyanjun closed 6 months ago

qiyanjun commented 6 months ago

What does this PR do?

solve one black format issue

Summary

Example: This PR adds CLARE attack, which uses distilled RoBERTa masked language model to perform word swaps, word insertions, word merges (which is where we combine two adjacent words and replace it with another word) in a greedy manner. s

Additions

Changes

Deletions

Checklist