Skip to main content
Microsoft
separator
https://catalogartifact.azureedge.net/publicartifacts/bcloudllc1671615348068.attack2-d8efc96a-48bf-48b3-9f74-fef22599efd5/image2_bCloudlog.png

TextAttack

by bCloud LLC

(1 ratings)

Version 0.3.10 + Free Support on Ubuntu 26.04

TextAttack is an open-source Python framework for adversarial attacks, data augmentation, and robustness evaluation of natural language processing (NLP) models. It enables researchers and developers to generate adversarial text examples, improve model resilience, and benchmark NLP systems using popular deep learning frameworks such as PyTorch, Hugging Face Transformers, and TensorFlow.

Features of TextAttack:
  • Generate adversarial text examples using a wide range of attack algorithms.
  • Perform text data augmentation to improve the quality and diversity of training datasets.
  • Evaluate the robustness and security of NLP models against adversarial attacks.
  • Support popular NLP tasks such as text classification, sentiment analysis, and question answering.
  • Integrate seamlessly with PyTorch, Hugging Face Transformers, TensorFlow, and pretrained language models.

TextAttack usage:

$ sudo su
$ apt update
$ source /opt/textattack/venv/bin/activate
$ python -c "from importlib.metadata import version; print(version('textattack'))"
  

Disclaimer: TextAttack is an open-source software distributed under the MIT License. It is not affiliated with, endorsed by, or sponsored by any other company. TextAttack is provided "as is," without any warranty, express or implied. Users utilize this software at their own risk. The developers and contributors to TextAttack are not responsible for any damages, losses, or consequences resulting from the use of this software. Users are encouraged to review and comply with the licensing terms and any applicable regulations when using this software.

English (United States)
Your Privacy Choices Opt-Out Icon Your Privacy Choices
Consumer Health Privacy Sitemap Contact Us Privacy & Cookies Terms of Use Trademarks About our ads Manage cookies