forked from thuiar/TEXTOIR
-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_MDF.sh
28 lines (27 loc) · 803 Bytes
/
run_MDF.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin bash
for dataset in 'banking' 'oos' 'stackoverflow'
do
for known_cls_ratio in 0.25 0.5 0.75
do
for labeled_ratio in 1.0
do
for seed in 0 1 2 3 4 5 6 7 8 9
do
python run.py \
--dataset $dataset \
--method 'MDF' \
--known_cls_ratio $known_cls_ratio \
--labeled_ratio $labeled_ratio \
--seed $seed \
--backbone 'bert_mdf' \
--config_file_name 'MDF' \
--loss_fct 'CrossEntropyLoss' \
--gpu_id '0' \
--pretrain \
--train \
--results_file_name 'results_MDF.csv' \
--save_results
done
done
done
done