Code for works about adversarial learning in NLP:
BERT-ATTACK: Adversarial Attack Against BERT Using BERT
TextAT: Adversarial Training with Token-Aware Perturbation for Natural Language Understanding
- Python 3.7
- PyTorch 1.4.0
- transformers
This repository is still in process.