{"repo":"QData/TextAttack","free":true,"listed":false,"github":"https://github.com/QData/TextAttack","clone":"git clone https://github.com/QData/TextAttack.git","description":"TextAttack 🐙 is a Python framework for adversarial attacks, data augmentation, and model training in NLP https://textattack.readthedocs.io/en/master/","language":"Python","stars":3468,"topics":["machine-learning","security","natural-language-processing","nlp","adversarial-machine-learning","adversarial-attacks","data-augmentation","adversarial-examples"],"license":"MIT","category":"machine-learning","readme_excerpt":"TextAttack 🐙 Generating adversarial examples for NLP models [TextAttack Documentation on ReadTheDocs] About • Setup • Usage • Design About TextAttack is a Python framework for adversarial attacks, data augmentation, and model training in NLP. If you're looking for information about TextAttack's menagerie of pre-trained models, you might want the TextAttack Model Zoo page. Slack Channel For help and realtime updates related to TextAttack, please join the TextAttack Slack! Why TextAttack? There are lots of reasons to use TextAttack: 1. Understand NLP models better by running different adversarial attacks on them and examining the output 2. Research and develop different NLP adversarial attacks using the TextAttack framework and library of components 3. Augment your dataset to increase model generalization and robustness downstream 4. Train NLP models using just a single command (all downloads included!) Setup Installation You should be running Python 3.6+ to use this package. A CUDA-compatible GPU is optional but will greatly improve code speed. TextAttack is available through pip: Once TextAttack is installed, you can run it via command-line ( textattack ... ) or via python module ( python -m textattack ... ). Tip : TextAttack downloads files to /.cache/textattack/ by default. This includes pretrained models, dataset samples, and the configuration file config.yaml . To change the cache path, set the environment variable TA CACHE DIR . (for example: TA CACHE DIR=/tmp/ textatta","default_branch":null,"files":null,"tree":[],"storefront":"/r/QData","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/QData/TextAttack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}