Skip to main content

A blackbox detection on text against adversarial attacks

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

textdetection-0.2.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

textdetection-0.2.1-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file textdetection-0.2.1.tar.gz.

File metadata

  • Download URL: textdetection-0.2.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9

File hashes

Hashes for textdetection-0.2.1.tar.gz
Algorithm Hash digest
SHA256 e1eae0c85b133fb3461fe0fd0b79a43522311a5e5e29cf79df0c093f9d20c1cb
MD5 a7894e09a2b045963c210f762fff91fe
BLAKE2b-256 66939912a31ce2d34fae23783620e71a3f11a979aa6b222b625a52dd266cc83d

See more details on using hashes here.

File details

Details for the file textdetection-0.2.1-py3-none-any.whl.

File metadata

  • Download URL: textdetection-0.2.1-py3-none-any.whl
  • Upload date:
  • Size: 6.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.53.0 CPython/3.6.9

File hashes

Hashes for textdetection-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b80222dca7c466fa2858e68f3fe049cf27f4f98150e35f9c4dce7ed9f2139454
MD5 0029eb6d879d652d9c4713a35f5a5e1e
BLAKE2b-256 abe95fe746144f2b2cb21f66a7afa84483715e6aaf76a250ac0767f922bf8acf

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page