Skip to content

Repository files navigation

Adversarial examples detection on text (BlackBox Attacks)

PyPI version

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 perturbed versions of sentences that fool the target model. It uses Levenshtein package (ratio) to calculate similarity between different queries.

Requirements

The main requirements are:

  • Python 3
  • Levenshtein
  • Numpy
  • Pandas
  • Matplotlib
  • Scipy
  • tqdm

Usage

Example0 and Example_threshold are provided to show how to use the module. Other examples were used to carry out different experiments.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages