Junzhe Li commited on
Commit
58cffe9
·
1 Parent(s): 89321e2

useful scripts

Browse files
chestagentbench_script.sh ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ #SBATCH --job-name=chestagentbench
4
+ #SBATCH -c 4
5
+ #SBATCH --gres=gpu:l40s:1
6
+ #SBATCH --time=16:00:00
7
+ #SBATCH --mem=50G
8
+ #SBATCH --output=chestagentbench-%j.out
9
+ #SBATCH --error=chestagentbench-%j.err
10
+
11
+ module load arrow clang/18.1.8 scipy-stack
12
+
13
+ source venv/bin/activate
14
+
15
+ /scratch/lijunzh3/MedRAX2/venv/bin/python -m benchmarking.cli run --benchmark chestagentbench --provider google --model gemini-2.5-pro --system-prompt CHESTAGENTBENCH_PROMPT --data-dir benchmarking/data/chestagentbench --output-dir temp --max-questions 20 --temperature 0.7 --top-p 0.95 --max-tokens 5000 --concurrency 4 --random-seed 42
medgemma_script.sh CHANGED
@@ -2,13 +2,14 @@
2
 
3
  #SBATCH --job-name=medgemma
4
  #SBATCH -c 4
5
- #SBATCH --gres=gpu:rtx6000:1
6
- #SBATCH --exclude=gpu138
7
  #SBATCH --time=16:00:00
8
  #SBATCH --mem=50G
9
  #SBATCH --output=medgemma-%j.out
10
  #SBATCH --error=medgemma-%j.err
11
 
 
 
12
  source medgemma/bin/activate
13
 
14
- cd medrax/tools/vqa/medgemma && python medgemma.py
 
2
 
3
  #SBATCH --job-name=medgemma
4
  #SBATCH -c 4
5
+ #SBATCH --gres=gpu:l40s:1
 
6
  #SBATCH --time=16:00:00
7
  #SBATCH --mem=50G
8
  #SBATCH --output=medgemma-%j.out
9
  #SBATCH --error=medgemma-%j.err
10
 
11
+ cd medrax/tools/vqa/medgemma
12
+
13
  source medgemma/bin/activate
14
 
15
+ python medgemma.py
rexvqa_script.sh ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ #SBATCH --job-name=rexvqa
4
+ #SBATCH -c 4
5
+ #SBATCH --gres=gpu:l40s:1
6
+ #SBATCH --time=16:00:00
7
+ #SBATCH --mem=50G
8
+ #SBATCH --output=rexvqa-%j.out
9
+ #SBATCH --error=rexvqa-%j.err
10
+
11
+ module load arrow clang/18.1.8 scipy-stack
12
+
13
+ source venv/bin/activate
14
+
15
+ /scratch/lijunzh3/MedRAX2/venv/bin/python -m benchmarking.cli run --benchmark rexvqa --provider medrax --model gemini-2.5-pro --system-prompt CHESTAGENTBENCH_PROMPT --data-dir benchmarking/data/rexvqa --output-dir temp --max-questions 20 --temperature 0.7 --top-p 0.95 --max-tokens 5000 --concurrency 4 --random-seed 42