AttackAssist

ChineseWord2Vec

AttackAssist.ChineseWord2Vec
Type

OpenAttack.utils.WordVector

Size

3GB

CiLin

AttackAssist.CiLin
Type

dict

Size

1357KB

Dictionary file for ChineseCiLin substitute.

CounterFit

AttackAssist.CounterFit
Type

OpenAttack.utils.WordVector

Size

61.998MB

Counter-fitting Word Vectors to Linguistic Constraints. [pdf]

DCES

AttackAssist.DCES
Type

tuple

Size

1.295MB

Package Requirements
  • sklearn

Vec-colnames and neighber matrix used in Substitute DECS. See DCESSubstitute for detail.

FYH

AttackAssist.FYH
Type

dict

Size

127.6KB

Dictionary file for ChineseFYHChar substitute.

GAN

AttackAssist.GAN
Type

tuple

Size

55.041MB

Package Requirements
  • pytorch

Pretrained GAN model on SNLI dataset used in GANAttacker. See GANAttacker for detail.

GloVe

AttackAssist.GloVe
Type

OpenAttack.utils.WordVector

Size

2.273GB

GloVe Word Embedding [page]

HowNet

AttackAssist.HowNet
Type

OpenHowNet.HowNetDict

Size

unknown

Package Requirements
  • OpenHowNet

OpenHowNet. [code] [page]

HownetSubstituteDict

AttackAssist.HownetSubstituteDict

SCPN

AttackAssist.SCPN
Type

dict

Size

150.386MB

Models used in SCPNAttacker. [page]

SentenceTransformer

AttackAssist.SentenceTransformer
Type

str

Size

916.57MB

Model files for Universal Sentence Encoder in tensorflow_hub. [pdf] [page]

SGAN

AttackAssist.SGAN
Type

tuple

Size

54.854MB

Package Requirements
  • pytorch

Pretrained GAN model on SST-2 dataset used in GANAttacker. See GANAttacker for detail.

SIM

AttackAssist.SIM
Type

dict

Size

276.083KB

Dictionary file for ChineseSIMChar substitute.

TranslationModels

AttackAssist.TranslationModels
Type

dict

Size

1.22GB

Package Requirements
  • pytorch

Pretrained translation models. See TranslationModels for detail. [code] [page]

UniversalSentenceEncoder

AttackAssist.UniversalSentenceEncoder
Type

str

Size

916.57MB

Model files for Universal Sentence Encoder in tensorflow_hub. [pdf] [page]

Word2Vec

AttackAssist.Word2Vec
Type

OpenAttack.utils.WordVector

Size

1.52GB

Word2vec Word Embedding [page]