/advnlp

Primary LanguagePythonApache License 2.0Apache-2.0

Generation of Adversarial Examples for NLP

Deep Text Classification Can be Fooled https://arxiv.org/abs/1704.08006

Towards Crafting Text Adversarial Samples https://arxiv.org/abs/1707.02812

Adversarial Training Methods for Semi-Supervised Text Classification https://arxiv.org/abs/1605.07725

Adversarial Examples for Evaluating Reading Comprehension Systems https://arxiv.org/abs/1707.07328

Crafting Adversarial Input Sequences for Recurrent Neural Networks https://arxiv.org/abs/1604.08275

Black-Box Attacks against RNN based Malware Detection Algorithms https://arxiv.org/abs/1705.08131

Exploring Adversarial Learning on Neural Network Models for Text Classification https://nlp.stanford.edu/courses/cs224n/2015/reports/20.pdf

Text Generation

Toward Controlled Generation of Text https://arxiv.org/abs/1703.00955

Improved Training of Wasserstein GANs https://arxiv.org/abs/1704.00028

Binary Sentiment Classifiers

Not yet tuned ..

Dependency

Install pytorch/text

git clone https://github.com/pytorch/text
cd text
python3 setup.py install