A Python framework for adversarial attacks and model training in NLP

TextAttack

TextAttack is a Python framework for adversarial attacks, data augmentation, and model training in NLP.

If you’re looking for information about TextAttack’s menagerie of pre-trained models, you might want the TextAttack Model Zoo page.

TextAttack

Slack Channel

For help and realtime updates related to TextAttack, please join the TextAttack Slack!

Why TextAttack?

There are lots of reasons to use TextAttack:

  1. Understand NLP models better by running different adversarial attacks on them and examining the output
  2. Research and develop different NLP adversarial attacks using the TextAttack framework and library of components
  3. Augment your dataset to increase model generalization and robustness downstream
  4. Train NLP models using just a single command (all downloads included!)

Setup

Installation

You should be running Python 3.6+ to use

 

 

 

To finish reading, please visit source site