Spaces:
Paused
Paused
victorli commited on
Commit ·
5f69e37
1
Parent(s): c963ad3
adding scripts
Browse files- .env.example +0 -10
- benchmarking_script.sh +14 -0
- medgemma_script.sh +14 -0
.env.example
DELETED
|
@@ -1,10 +0,0 @@
|
|
| 1 |
-
OPENAI_API_KEY=
|
| 2 |
-
OPENAI_BASE_URL=
|
| 3 |
-
GOOGLE_API_KEY=
|
| 4 |
-
GOOGLE_SEARCH_API_KEY=
|
| 5 |
-
GOOGLE_SEARCH_ENGINE_ID=
|
| 6 |
-
OPENROUTER_API_KEY=
|
| 7 |
-
OPENROUTER_BASE_URL=
|
| 8 |
-
COHERE_API_KEY=
|
| 9 |
-
PINECONE_API_KEY=
|
| 10 |
-
MEDGEMMA_API_URL=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
benchmarking_script.sh
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 2 |
+
|
| 3 |
+
#SBATCH --job-name=chestagentbench
|
| 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=chestagentbench-%j.out
|
| 10 |
+
#SBATCH --error=chestagentbench-%j.err
|
| 11 |
+
|
| 12 |
+
source venv/bin/activate
|
| 13 |
+
|
| 14 |
+
python -m benchmarking.cli run --model gpt-5 --provider medrax --system-prompt CHESTAGENTBENCH_PROMPT --benchmark chestagentbench --data-dir /scratch/ssd004/scratch/victorli/chestagentbench --output-dir temp --max-questions 2500 --concurrency 4
|
medgemma_script.sh
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
#!/bin/bash
|
| 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
|