TextAttack

NLP robustness tester

A framework for creating and testing robust NLP models by generating adversarial examples and augmenting datasets.

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

GitHub

3k stars
38 watching
401 forks
Language: Python
last commit: about 2 years ago
Linked from 2 awesome lists

adversarial-attacksadversarial-examplesadversarial-machine-learningdata-augmentationmachine-learningnatural-language-processingnlpsecurity

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
thunlp/openattackA Python toolkit for generating adversarial examples to test the robustness of natural language processing models699
explosion/spacyIndustrial-strength NLP library for Python and Cython30,459
nltk/nltkA comprehensive toolkit for natural language processing tasks in Python.13,694
brightmart/text_classificationAn NLP project offering various text classification models and techniques for deep learning exploration7,881
huggingface/text-generation-inferenceA toolkit for deploying and serving Large Language Models (LLMs) for high-performance text generation9,456
jind11/textfoolerA tool for generating adversarial examples to attack text classification and inference models496
deepset-ai/haystackAn AI orchestration framework to build customizable LLM applications with advanced retrieval methods.18,094
minimaxir/textgenrnnA Python module for creating character-level or word-level neural networks for text generation and training on various datasets4,944
airbnb/artificial-adversaryA tool to generate adversarial text examples and test machine learning models against them399
codertimo/bert-pytorchAn implementation of Google's 2018 BERT model in PyTorch, allowing pre-training and fine-tuning for natural language processing tasks6,251
sherjilozair/char-rnn-tensorflowA tool for training and sampling character-level language models using multi-layer recurrent neural networks2,643
meta-llama/codellamaProvides inference code and tools for fine-tuning large language models, specifically designed for code generation tasks16,097
stanfordnlp/stanzaA Python library for natural language processing tasks in many human languages.7,315
chartbeat-labs/textacyA Python library providing NLP tools and utilities built on top of spaCy for text processing and analysis.2,217
sandeep42/anuvadaThis is an open source PyTorch library providing tools and models to explain the predictions of deep neural networks for natural language processing tasks.19