├── .DS_Store ├── .idea ├── TextFooler.iml ├── deployment.xml ├── encodings.xml ├── misc.xml ├── modules.xml ├── vcs.xml ├── webServers.xml └── workspace.xml ├── BERT ├── __init__.py ├── extract_features.py ├── file_utils.py ├── modeling.py ├── optimization.py ├── run_classifier.py ├── run_classifier_AG.py ├── run_classifier_Fake.py ├── run_classifier_IMDB.py ├── run_classifier_MR.py ├── run_classifier_Yelp.py ├── run_classifier_mnli.py ├── run_classifier_snli.py └── tokenization.py ├── ESIM ├── .DS_Store ├── esim │ ├── __init__.py │ ├── data.py │ ├── layers.py │ ├── model.py │ └── utils.py ├── scripts │ ├── .DS_Store │ ├── fetch_data.py │ ├── preprocessing │ │ ├── preprocess_bnli.py │ │ ├── preprocess_mnli.py │ │ └── preprocess_snli.py │ ├── testing │ │ ├── test_mnli.py │ │ └── test_snli.py │ └── training │ │ ├── train_mnli.py │ │ ├── train_snli.py │ │ └── utils.py └── setup.py ├── InferSent └── models.py ├── LICENSE ├── README.md ├── attack_classification.py ├── attack_nli.py ├── comp_cos_sim_mat.py ├── criteria.py ├── data ├── ag ├── fake ├── imdb ├── mnli ├── mnli_matched ├── mnli_mismatched ├── mr ├── snli └── yelp ├── dataloader.py ├── modules.py ├── requirements.txt ├── run_attack_classification.py ├── run_attack_nli.py └── train_classifier.py /.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/jind11/TextFooler/6a56cb10f1055e00a8fbc6882f289e91cfe60f4e/.DS_Store -------------------------------------------------------------------------------- /.idea/TextFooler.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 11 | -------------------------------------------------------------------------------- /.idea/deployment.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 15 | -------------------------------------------------------------------------------- /.idea/encodings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /.idea/misc.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 6 | 7 | -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /.idea/webServers.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 14 | 15 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 36 | 37 | 46 | 47 | 48 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 |