Unicode-based adversarial defenses for text models
Project description
Textual Adversarial Defenses
Building defenses for imperceptible textual attacks against NLP models. Work is based off https://arxiv.org/pdf/2106.09898.
Project Folders
core/top level class definitionsmodules/source files for defensespython/Python bindingstests/Unit tests
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file textual_adversarial_defense-0.1.0-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6561c89ea19a9fcb96b3dae33742217a048c7bbe79b56f4435f7814842c83752
|
|
| MD5 |
756d7dc1017c3eef5ad3a8d5b36e0d07
|
|
| BLAKE2b-256 |
61ec00b55d0e52946771bbf3af8d632ae71a3a2effa5c736ad7eab473611a164
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp312-cp312-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
458c04c14312809015c05aba00af750ebff53ac605995eb66948545eb7a19d14
|
|
| MD5 |
38c6872958a31869ba6a3f0d4f2c74b5
|
|
| BLAKE2b-256 |
40e24f40c1c1549e15e94e301e5699c36dd652c17ddf120139f428518f063f9a
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp312-cp312-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp312-cp312-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.12, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4abae75f8b2543a04f5d58f966894a0eb8fde42d8d2d78362d410d05519c56f1
|
|
| MD5 |
777b64de702a06d19d14f3f8e4630579
|
|
| BLAKE2b-256 |
4cad3c8a1323d59e6a0ecef389578fd6ddc3802d825b0ccdf1562d36e8516430
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 877.9 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
17c9ce1bdd7460163b704bdc14ef0039b915b8971d922b64cc7adbf8de3f8b21
|
|
| MD5 |
43fa55f0f95350dd71c573776bc36677
|
|
| BLAKE2b-256 |
b2e9701b6dd1dd10371b15224bb57c9b687a8974e07b152183a8bfc287d5e366
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp312-cp312-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 866.5 kB
- Tags: CPython 3.12, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46e53fb89cec21f308fb9c013e5525935686a3757f582643031d77c65457a404
|
|
| MD5 |
5526dbce92e64f89b78444ae885f4725
|
|
| BLAKE2b-256 |
c5f119773e682506acd80a9a3c2765a93c872a9f233a1e41b96a857c0fd66dc1
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp312-cp312-macosx_11_0_arm64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp312-cp312-macosx_11_0_arm64.whl
- Upload date:
- Size: 651.1 kB
- Tags: CPython 3.12, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
227987705bae1b0cb4fc36d73be15a9ded6c63d95d21eb86f95c2eea056c5af0
|
|
| MD5 |
cc49ee892e66d9a81fd1c807c9a43b9a
|
|
| BLAKE2b-256 |
33d10275ac48c7c380f8625ba8cf29afa1f975ee66eccee46a87da3e0c743eeb
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
955d604a084139cb76ac4e1f1a6abad7ed8730565d12ba7e3be50d9bf3f990be
|
|
| MD5 |
e85b2e6f92bebcb3c96f4e797aaf1035
|
|
| BLAKE2b-256 |
035c55d2b4b498e3dcbf911d7e82d826ccef9ad725df1900f9d6c11ad2da4a56
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp311-cp311-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ea0cf3040a47a0ad3341863a5dfb96a520a218b750ba162fe8d697deb92dfc9
|
|
| MD5 |
e1301e1e4a379242cde0f579276a65be
|
|
| BLAKE2b-256 |
54e2acf1af1c1d4c317c1b35d9ebc6f3f552e8ecdbefb512c77502afebdcd1b8
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp311-cp311-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.11, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9e48348b9a01cf8e2a742195b1b69a9d856c96cdd61df633fedc404fecb0c85
|
|
| MD5 |
093234510b28ac8c0237f5753b07558d
|
|
| BLAKE2b-256 |
4a87819b2dd60811bb56ce0193dfc98ecc54864325dc448253fe3352f9d306df
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 878.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
07768a87cc8b9ecf2e38152711873b07b6c6da8d891ec53065f77dd2078b7ce3
|
|
| MD5 |
b646787c6baeb5972231d8d5f69c9a16
|
|
| BLAKE2b-256 |
6e6def1d08077d057e7a274b212cc82dfd7e7262af286c0a0316b4335bc05d6f
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp311-cp311-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 866.9 kB
- Tags: CPython 3.11, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
022de95778211baf80bc7717ebd84ba85d091181b8fa15eeb242cb3d71022a36
|
|
| MD5 |
373d5e9ff4bb320eb44159c9fd01069c
|
|
| BLAKE2b-256 |
ee1e43ab02b6d105a1a42687fc0d3a015c774ce1a6f86d1f33f7dd784713dd80
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp311-cp311-macosx_11_0_arm64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp311-cp311-macosx_11_0_arm64.whl
- Upload date:
- Size: 652.0 kB
- Tags: CPython 3.11, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8453ce937bfadbd5a14a9437f2c47925afb47ed8adfa28b084c7015d99ca863a
|
|
| MD5 |
fac5df0023a6cdac4b81c62329aeef03
|
|
| BLAKE2b-256 |
449e8e83fc487df6276e7263ffa7c53dc8f62d467267ab6b15ba90cb07e0b85e
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14e830713696e94ab76d05bf0441ee5c1da2faefbfe5d02075c53c37ecce664b
|
|
| MD5 |
b5dfad4850b312e238918220992c5acb
|
|
| BLAKE2b-256 |
1f7f3bbbf30abcd30c814ab16b833b8b30125a79c40fdfaa5aa855cec5437ca2
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp310-cp310-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp310-cp310-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ff4f237a3d05cf68761a38b90bab3e985491d7a3eb757a124633052b182e41c1
|
|
| MD5 |
ce669e5a479b6b164bfec6851b0c8cce
|
|
| BLAKE2b-256 |
a85111bb6590be942fa0773a3de62e45a691e63f6d7bb6e9b71f976a4adb71f0
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp310-cp310-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp310-cp310-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.10, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fdd08bb69592f13c84348f6c89b902a9305853cd477e1e1f0ed2b2304b24ff06
|
|
| MD5 |
8ab2757db5f65f9f88b944c7f12d15d2
|
|
| BLAKE2b-256 |
ace16c8f0e221495d801686eb6b07f8f133ff135439069a6012ac72290dda4c3
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 877.2 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c779611293063b1b965a5963aaf55e39d39c02c1091d9a00213e6b62db5b233
|
|
| MD5 |
274e175026a2d198d23c907b0a696f46
|
|
| BLAKE2b-256 |
491772b0a952a022a56b22da770717dc198bb27bc13d37adeb50f7dbc7cc98de
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 865.7 kB
- Tags: CPython 3.10, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bca3891cdd7d616177d3195a3f3254be6f3331c45e64bea8d9dd4a396bf2fcc7
|
|
| MD5 |
ff553bbe3c9220d050c9cfcf7d7055f8
|
|
| BLAKE2b-256 |
954f7be3ecc4ee69de255a472744078fe5d85da38becb6173a329d6b18e27f91
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp310-cp310-macosx_11_0_arm64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp310-cp310-macosx_11_0_arm64.whl
- Upload date:
- Size: 650.6 kB
- Tags: CPython 3.10, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d03b2014d228f794816de2de313de9a8cc9ecce5f921bfc10138719bd8a3b662
|
|
| MD5 |
983b0f9884cdc378b5047d588991c040
|
|
| BLAKE2b-256 |
f0043b50e40bcfb2aff5a1a47eb2b13582f18def1a07d0f260d9a90727e779a3
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp39-cp39-win_amd64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp39-cp39-win_amd64.whl
- Upload date:
- Size: 2.0 MB
- Tags: CPython 3.9, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e716260d7dbae3e48f5def4fc2ef85c98344c4a5f2613bffd84a4e0f2f89b8e1
|
|
| MD5 |
0c0404bfd69bc4916107f0b7ad9b999a
|
|
| BLAKE2b-256 |
321f0230f1c5ad8771047cf98ac922b326872b1330e8d95a39a579aaf61f246c
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp39-cp39-musllinux_1_2_x86_64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp39-cp39-musllinux_1_2_x86_64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27da13caa587596f8f073c3c527484bb17039aa4ea8dce4b3df0c10b5715e3de
|
|
| MD5 |
9dbc197a1f992ebf6f2667e4f69712cf
|
|
| BLAKE2b-256 |
d0de811b9046aeceff6fa0a8dbf44cdc44a94f361e2e3983be54c0ff623fba89
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp39-cp39-musllinux_1_2_aarch64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp39-cp39-musllinux_1_2_aarch64.whl
- Upload date:
- Size: 1.7 MB
- Tags: CPython 3.9, musllinux: musl 1.2+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6be72e0c9963f61dfdfe20e81d58ac7eaa058ad9b80ee56335c1536d1f381e8c
|
|
| MD5 |
23aa37f5f7195315c296ba354b29cc1b
|
|
| BLAKE2b-256 |
c7ec13edb1c737333b787e7478b24c1f48b47b7ae6061c3a551e4718e6d3c89e
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
- Upload date:
- Size: 878.3 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
75b1934d7547d16a0caf0d300a95725d2d76c0ce3b4a929daa65a463d30552c6
|
|
| MD5 |
f67da7cc4b5a21364113a037e967a41f
|
|
| BLAKE2b-256 |
380ae17d353cb6d5fd6d4656978ad922cbe31f77a68d6997c8b7db0ef80d3ff8
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp39-cp39-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
- Upload date:
- Size: 866.9 kB
- Tags: CPython 3.9, manylinux: glibc 2.17+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
73d0151ce00743324ad54e89d1517a63cdf1cbff2acc50e0258d98241ab920f0
|
|
| MD5 |
a32a1839f577abf7e1f48d31ff238b00
|
|
| BLAKE2b-256 |
9c46431ce732be0bbfdd6c589f662c44814dc7c40d0ba232161e959416e0cd8c
|
File details
Details for the file textual_adversarial_defense-0.1.0-cp39-cp39-macosx_11_0_arm64.whl.
File metadata
- Download URL: textual_adversarial_defense-0.1.0-cp39-cp39-macosx_11_0_arm64.whl
- Upload date:
- Size: 650.7 kB
- Tags: CPython 3.9, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
23815fb9d0b29916b0ce6e4b5afc482b4fceee918e3b690b3a6472b0edcef900
|
|
| MD5 |
100fc6a8c7dadbc1d1724858a9bde0d2
|
|
| BLAKE2b-256 |
29132c8da935810833bea5b7e538dc62f3ee3831a6e805cb40d68daf593f3b68
|