OpenAttack¶
project-slogans¶
project slogan short
An Open-Source Package for Textual Adversarial Attack.
project slogan long
OpenAttack is an open-source Python-based textual adversarial attack toolkit, which handles the whole process of textual adversarial attacking, including preprocessing text, accessing the victim model, generating adversarial examples and evaluation.
project-features¶
project-feature-1
All-type Support
OpenAttack supports all types of attacks including sentence-/word-/character-level perturbations and gradient-/score-/decision-based/blind attack models;
project-feature-2
Multilinguality
OpenAttack supports English and Chinese now. Its extensible design enables quick support for more languages
project-feature-3
Parallel processing
OpenAttack provides support for multi-process running of attack models to improve attack efficiency
project-feature-4
Compatibility with 🤗
OpenAttack is fully integrated with 🤗 Transformers and Datasets libraries;
project-feature-5
Extensibility
You can easily attack a customized victim model on any customized dataset or develop and evaluate a customized attack model.