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.98k stars 397 forks source link

Added ttanforms #756

Closed jubick1337 closed 1 year ago

jubick1337 commented 1 year ago

What does this PR do?

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