Home Projects TextAttack
TextAttack
Python

TextAttack

TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/

by QData · GitHub
Stars
Forks
License
Created
Last commit
Language
adversarial-attacksadversarial-examplesadversarial-machine-learningMITPython
View on GitHub
In plain words

Generate examples to test and improve natural language processing models using a Python framework.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
TextAttack — GitHub preview card
📈 Star history
3.45k3.44k
2026-07-072026-08-31
📈 Track TextAttack

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/

TextAttack has 3.4k stars on GitHub. It has been forked 450 times. TextAttack is written mainly in Python. It has been in active development since 2019. TextAttack is available under the MIT license. Its main topics are adversarial-attacks, adversarial-examples, adversarial-machine-learning, data-augmentation.

Frequently asked questions

What is TextAttack?

TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/

Is TextAttack open source?

TextAttack is an open-source project. It is released under the MIT license.

Is TextAttack free?

Yes. TextAttack is free and open source — you can use, modify and self-host it.

What license does TextAttack use?

TextAttack is available under the MIT license.

What language is TextAttack written in?

TextAttack is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — TextAttack

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=qdata-textattack)](https://olud.ai/project/qdata-textattack.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →
adversarial-robustness-toolbox
Adversarial Robustness Toolbox (ART) - Python Library for Machine Learning Security - Evasion,…
6.1k · adversarial-attacks
sharesadversarial-examplesadversarial-machine-learning
photoguard
Raising the Cost of Malicious AI-Powered Image Editing
689 · adversarial-attacks
sharesadversarial-examplesadversarial-attacks
foolbox
A Python toolbox to create adversarial examples that fool neural networks in PyTorch, TensorFlo…
3k · adversarial-attacks
sharesadversarial-examplesadversarial-attacks
vigil-llm
⚡ Vigil ⚡ Detect prompt injections, jailbreaks, and other potentially risky Large Language Mod…
496 · adversarial-attacks
sharesadversarial-machine-learningadversarial-attacks
adversarial-attacks-pytorch
PyTorch implementation of adversarial attacks [torchattacks]
2.2k · adversarial-attacks
sharesadversarial-attacks
nlpaug
Data augmentation for NLP
4.7k · adversarial-attacks
sharesadversarial-attacks
torchio
Medical imaging processing for AI applications.
2.4k · augmentation
sharesdata-augmentation
face.evoLVe
🔥🔥High-Performance Face Recognition Library on PaddlePaddle & PyTorch🔥🔥
3.6k · artificial-intelligence
sharesdata-augmentation
nlp_xiaojiang
自然语言处理(nlp),小姜机器人(闲聊检索式chatbot),BERT句向量-相似度(Sentence Similarity),XLNET句向量-相似度(text xlnet embedd…
1.5k · bert
sharesdata-augmentation
T2F
T2F: text to face generation using Deep Learning
546 · adversarial-machine-learning
sharesadversarial-machine-learning

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.