#35 · Primary category: NLP Tools & Text Processing
TextAttack
TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/
Project last updated:08/15/26
GitHub Stars
3.5K
Forks
459
Contributors
74
License
MIT
Why we included this project
TextAttack is a Python framework for probing NLP models with adversarial inputs. It bundles dozens of published attack recipes, including TextFooler and DeepWordBug, into one command-line tool and Python API, so you can feed malformed text to a classifier and see exactly where it fails. The same framework also handles data augmentation and model training, letting you generate paraphrased training examples or train a model end to end with a single command. That makes it useful for both researchers testing new attack methods and engineering teams hardening a model before production. Because it's modular, you can also pull out a single piece, like a word-embedding wrapper or constraint checker, and drop it into your own pipeline without adopting the whole framework.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
flair
A very simple framework for state-of-the-art Natural Language Processing (NLP)
compromise
modest natural-language processing
tokenizers
💥 Fast State-of-the-Art Tokenizers optimized for Research and Production
CoreNLP
CoreNLP: A Java suite of core NLP tools for tokenization, sentence segmentation, NER, parsing, coreference, sentiment analysis, etc.
Chinese-Word-Vectors
100+ Chinese Word Vectors 上百种预训练中文词向量