-
Notifications
You must be signed in to change notification settings - Fork 14
/
run_baselines.sh
executable file
·34 lines (30 loc) · 1.07 KB
/
run_baselines.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
29
30
31
32
33
34
#!/bin/bash
### REAL ESTATE
# for model in "gpt-4o" "gpt-4o-mini" "llama" "mixtral"
# do
# python demos/optimizerDemo.py --verbose --workload real-estate --datasetid real-estate-eval-100 --engine nosentinel --executor sequential --policy maxquality --model $model
# done
# for rank in 2 4 6 8 10
# do
# for num_samples in 5 10 15 20 25
# do
# if (( $num_samples < $rank + 1 )); then
# continue
# fi
# echo "RANK: ${rank} -- NUM_SAMPLES: ${num_samples}"
# sleep 5.0
# python demos/optimizerDemo.py --verbose \
# --workload real-estate \
# --datasetid real-estate-eval-100 \
# --engine sentinel \
# --executor sequential \
# --policy maxquality \
# --num-samples $num_samples \
# --rank $rank
# done
# done
### BIODEX
# for model in "gpt-4o" "gpt-4o-mini" "llama" "mixtral"
# do
# python demos/optimizerDemo.py --verbose --workload biodex --datasetid biodex --engine nosentinel --executor sequential --policy maxquality --model $model
# done