-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathexp_yelp.txt
14 lines (12 loc) · 934 Bytes
/
exp_yelp.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
BERT-base (Yelp, WordNet)
```bash
textattack attack --silent --shuffle --shuffle-seed 0 --random-seed 0 --recipe bayesattack-wordnet --model bert-base-uncased-yelp --num-examples 500 --sidx 0 --pkl-dir RESULTS --post-opt v3 --use-sod --dpp-type dpp_posterior --max-budget-key-type pwws --max-patience 200
```
BERT-base (Yelp, Embedding)
```bash
textattack attack --silent --shuffle --shuffle-seed 0 --random-seed 0 --recipe bayesattack-embedding --model bert-base-uncased-yelp --num-examples 500 --sidx 0 --pkl-dir RESULTS --post-opt v3 --use-sod --dpp-type dpp_posterior --max-budget-key-type textfooler --max-patience 20
```
BERT-base (Yelp, HowNet)
```bash
textattack attack --silent --shuffle --shuffle-seed 0 --random-seed 0 --recipe bayesattack-hownet --model bert-base-uncased-yelp --num-examples 500 --sidx 0 --pkl-dir RESULTS --post-opt v3 --use-sod --dpp-type dpp_posterior --max-budget-key-type pso --max-patience 50
```