-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlunch_test.sh
More file actions
executable file
·27 lines (24 loc) · 1.06 KB
/
Copy pathlunch_test.sh
File metadata and controls
executable file
·27 lines (24 loc) · 1.06 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
26
27
#!/bin/sh
NUM_ITER=2
BATCH_SIZE=25
EXP_NAME=lunchtest
RANDOM_SEED=42
for UNCERTAINTY_METHOD in softmax; do
for QUERY_STRATEGY in Rand; do
for RANDOM_SEED in 42; 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; 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
./run_all.sh