TextAttack: Lessons learned in designing Python frameworks for NLP

10/05/2020
by   John X. Morris, et al.
0

TextAttack is an open-source Python toolkit for adversarial attacks, adversarial training, and data augmentation in NLP. TextAttack unites 15+ papers from the NLP adversarial attack literature into a single framework, with many components reused across attacks. This framework allows both researchers and developers to test and study the weaknesses of their NLP models. To build such an open-source NLP toolkit requires solving some common problems: How do we enable users to supply models from different deep learning frameworks? How can we build tools to support as many different datasets as possible? We share our insights into developing a well-written, well-documented NLP Python framework in hope that they can aid future development of similar packages.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/19/2020

OpenAttack: An Open-source Textual Adversarial Attack Toolkit

Textual adversarial attacking has received wide and increasing attention...
research
11/20/2019

Transfer Learning Toolkit: Primers and Benchmarks

The transfer learning toolkit wraps the codes of 17 transfer learning mo...
research
10/25/2021

Deep Learning Tools for Audacity: Helping Researchers Expand the Artist's Toolkit

We present a software framework that integrates neural networks into the...
research
01/29/2018

Mitigating Spreadsheet Model Risk with Python Open Source Infrastructure

Across an aggregation of EuSpRIG presentation papers, two maxims hold tr...
research
09/18/2023

Fabricator: An Open Source Toolkit for Generating Labeled Training Data with Teacher LLMs

Most NLP tasks are modeled as supervised learning and thus require label...
research
06/28/2021

Cosmic-CoNN: A Cosmic Ray Detection Deep-Learning Framework, Dataset, and Toolkit

Rejecting cosmic rays (CRs) is essential for scientific interpretation o...
research
08/02/2022

Label Sleuth: From Unlabeled Text to a Classifier in a Few Hours

Text classification can be useful in many real-world scenarios, saving a...

Please sign up or login with your details

Forgot password? Click here to reset