-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfull_run_topic.sh
More file actions
executable file
·51 lines (39 loc) · 2.39 KB
/
full_run_topic.sh
File metadata and controls
executable file
·51 lines (39 loc) · 2.39 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
#!/bin/bash
source ~/.bashrc
source /home/tomerbitan/miniconda3/etc/profile.d/conda.sh
conda activate unipar
# echo "start with one"
if [[ $1 == "gpt" ]]; then
SCRIPT="./llm_evaluation/new_gpt_inference_topic.py"
else
./llm_evaluation/deploy_2.sh &
while ! grep -q "Starting vLLM API server on http://" ./nohup.out; do
sleep 10
done
SCRIPT="./llm_evaluation/llama_inference_2_topic.py"
fi
python -u $SCRIPT --num_shots 0 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Bioinformatics'
echo 'done running with 0 shots'
python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Bioinformatics'
python -u $SCRIPT --num_shots 0 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Computer_vision_and_image_processing'
echo 'done running with 0 shots'
python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Computer_vision_and_image_processing'
python -u $SCRIPT --num_shots 0 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Data_compression_and_reduction'
echo 'done running with 0 shots'
python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Data_compression_and_reduction'
python -u $SCRIPT --num_shots 0 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Data_encoding_decoding'
echo 'done running with 0 shots'
python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Data_encoding_decoding'
python -u $SCRIPT --num_shots 0 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Language_and_kernel_features'
echo 'done running with 0 shots'
python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Language_and_kernel_features'
python -u $SCRIPT --num_shots 0 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'math'
echo 'done running with 0 shots'
python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'math'
python -u $SCRIPT --num_shots 0 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'ml'
echo 'done running with 0 shots'
python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'ml'
python -u $SCRIPT --num_shots 0 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Simulation'
echo 'done running with 0 shots'
python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000 --subgroup 'Simulation'
# python -u $SCRIPT --num_shots 1 --temp 0.2 --top_p 0.9 --max_token 15000