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

Features

  • Understand NLP models better by running different adversarial attacks on them and examining the output
  • Research and develop different NLP adversarial attacks using the TextAttack framework and library of components
  • Augment your dataset to increase model generalization and robustness downstream
  • Train NLP models using just a single command (all downloads included!)
  • Documentation available
  • You should be running Python 3.6+ to use this package
  • Pre-trained Models for testing attacks and evaluating constraints
  • Visualization options like Weights & Biases and Visdom
  • AttackedText, a utility class for strings that includes tools for tokenizing and editing text

Project Samples

Project Activity

See All Activity >

Categories

Machine Learning

License

MIT License

Follow TextAttack

TextAttack Web Site

Other Useful Business Software
Full-stack observability with actually useful AI | Grafana Cloud Icon
Full-stack observability with actually useful AI | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of TextAttack!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Python

Related Categories

Python Machine Learning Software

Registered

2024-08-06