cmhcbb / Seq2Sick

Adversarial examples for Seq2Seq model in NLP
39 stars 5 forks source link

Seq2Sick

Adversarial examples for Seq2Seq model in NLP

Usage:

python attack.py -model xxx.pt -src srcfile -gpu 0 -gl True -gr True -tar_dir keyword

Text summerization model with pretrained GloVe-300 word embedding: https://drive.google.com/file/d/1jxUj-TuV6HYWCIhGpOUFq9poa2nX8BKB/view?usp=sharing

English to German Machine Translation model: https://drive.google.com/file/d/1Aj2PtU7tSwl2yoNt7HsT3I9ShskL6uB6/view?usp=sharing