-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrun_all.sh
More file actions
executable file
·25 lines (23 loc) · 1.07 KB
/
Copy pathrun_all.sh
File metadata and controls
executable file
·25 lines (23 loc) · 1.07 KB
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
#!/bin/sh
NUM_ITER=20
BATCH_SIZE=25
EXP_NAME=baseline
RANDOM_SEED=42
for UNCERTAINTY_METHOD in softmax; do
for QUERY_STRATEGY in Rand; do
for RANDOM_SEED in 42 43 44 45 46; do
for DATASET in trec6 ag_news subj rotten imdb; do
python test.py --num_iterations $NUM_ITER --batch_size $BATCH_SIZE --exp_name $EXP_NAME --dataset $DATASET --random_seed $RANDOM_SEED --query_strategy $QUERY_STRATEGY --uncertainty_method $UNCERTAINTY_METHOD
done
done
done
done
for UNCERTAINTY_METHOD in softmax temp_scaling label_smoothing MonteCarlo inhibited evidential1 evidential2 bayesian ensembles trustscore model_calibration; do
for QUERY_STRATEGY in LC Ent MM; do
for RANDOM_SEED in 42 43 44 45 46; do
for DATASET in trec6 ag_news subj rotten imdb; do
python test.py --num_iterations $NUM_ITER --batch_size $BATCH_SIZE --exp_name $EXP_NAME --dataset $DATASET --random_seed $RANDOM_SEED --query_strategy $QUERY_STRATEGY --uncertainty_method $UNCERTAINTY_METHOD
done
done
done
done