TODO : update before public release of code +scripts
- PyTorch
- Transformers
- datasets
- wandb
- tqdm
- scikit-learn
We provide A SAMPLE OF Stakout in DATASET/ due to size constraints of openreview.
The models we used are available in the HuggingFace Hub: https://huggingface.co/textattack. To generate the attacks we used TextAttack https://github.com/QData/TextAttack.
An example of bash example is given in:
>> sh eval_adv.sh
>> python run_baseline_gpt2.py
An example of bash example is given in:
>> sh get_distance.sh