textdetection

A blackbox detection on text against adversarial attacks


License
MIT
Install
pip install textdetection==0.2.1

Documentation

Adversarial examples detection on text (BlackBox Attacks)

PyPI version GitHub license

This repo tries to detect black box attacks on text models. It doesn't need any models, but a list of strings that an attacker uses to find a perturbed versions of sentences that fool the target model. It uses fuzzywuzzy package to calculate similarity between different sentences.

Requirements

The main requirements are:

  • Python 3
  • fuzzywuzzy