Reja1 Claude Opus 4.8 commited on
Commit
dd2d72e
·
1 Parent(s): 0bee923

docs: refresh README run examples and make them copy-friendly

Browse files

Replace stale example model (openai/o3) and year (2024) with current
ones, put each command in its own code block for easy copying, and add
more usage examples: question-ID filter, --num_runs variance, temperature
override, a JEE Advanced run, and an Analyse results section covering the
leaderboard and aggregate_runs.py.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Files changed (1) hide show
  1. README.md +71 -8
README.md CHANGED
@@ -80,25 +80,88 @@ image = example["image"] # PIL image
80
  correct = json.loads(example["correct_answer"]) # e.g. ["A"], ["B", "C"], ["42"]
81
  ```
82
 
83
- ### Run the benchmark
84
 
85
  ```bash
86
  git clone https://huggingface.co/datasets/Reja1/jee-neet-benchmark
87
  cd jee-neet-benchmark
88
- git lfs pull # fetch images + metadata (stored in Git LFS)
 
 
 
 
 
 
89
  uv sync
 
 
 
90
  echo "OPENROUTER_API_KEY=your_key" > .env
 
 
 
91
 
92
- # Evaluate a vision-capable model on the full dataset
 
 
93
  uv run python src/benchmark_runner.py --model "google/gemini-3.1-pro-preview"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
 
95
- # Filter by exam / year, resume a run, or re-score after an answer-key update
96
- uv run python src/benchmark_runner.py --model "openai/o3" --exam_name NEET --exam_year 2024
97
- uv run python src/benchmark_runner.py --model "openai/o3" --resume results/<run_dir>
98
- uv run python src/benchmark_runner.py --score-only results/<run_dir> # no API calls
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  ```
100
 
101
- Configure the model list and parameters in `configs/benchmark_config.yaml`; run with `--help` for all options (`--question_ids`, `--num_runs`, `--temperature`, …). Each run writes a timestamped folder under `results/` containing `predictions.jsonl` (raw responses), `summary.jsonl` (per-question scores, tokens, cost, latency), and `summary.md` (human-readable report). Build a cross-model leaderboard with `uv run python scripts/generate_leaderboard.py`.
102
 
103
  ## Scoring
104
 
 
80
  correct = json.loads(example["correct_answer"]) # e.g. ["A"], ["B", "C"], ["42"]
81
  ```
82
 
83
+ ### Setup
84
 
85
  ```bash
86
  git clone https://huggingface.co/datasets/Reja1/jee-neet-benchmark
87
  cd jee-neet-benchmark
88
+ ```
89
+
90
+ ```bash
91
+ git lfs pull # fetch images + metadata (stored in Git LFS)
92
+ ```
93
+
94
+ ```bash
95
  uv sync
96
+ ```
97
+
98
+ ```bash
99
  echo "OPENROUTER_API_KEY=your_key" > .env
100
+ ```
101
+
102
+ ### Run the benchmark
103
 
104
+ Evaluate a vision-capable model on the full dataset:
105
+
106
+ ```bash
107
  uv run python src/benchmark_runner.py --model "google/gemini-3.1-pro-preview"
108
+ ```
109
+
110
+ Run a single exam and year:
111
+
112
+ ```bash
113
+ uv run python src/benchmark_runner.py --model "openai/gpt-5.5" --exam_name NEET --exam_year 2026
114
+ ```
115
+
116
+ ```bash
117
+ uv run python src/benchmark_runner.py --model "anthropic/claude-opus-4.7" --exam_name JEE_ADVANCED --exam_year 2026
118
+ ```
119
+
120
+ Run only specific questions (comma-separated IDs):
121
+
122
+ ```bash
123
+ uv run python src/benchmark_runner.py --model "openai/gpt-5.5" --question_ids "N24T3001,JA26P1M01"
124
+ ```
125
+
126
+ Run a model 3 times for variance analysis:
127
+
128
+ ```bash
129
+ uv run python src/benchmark_runner.py --model "x-ai/grok-4.3" --exam_name NEET --exam_year 2026 --num_runs 3
130
+ ```
131
+
132
+ Override the sampling temperature from the config:
133
 
134
+ ```bash
135
+ uv run python src/benchmark_runner.py --model "openai/gpt-5.5" --temperature 0.7
136
+ ```
137
+
138
+ Resume an interrupted run (skips already-completed questions):
139
+
140
+ ```bash
141
+ uv run python src/benchmark_runner.py --model "openai/gpt-5.5" --resume results/<run_dir>
142
+ ```
143
+
144
+ Re-score an existing run after updating the answer key — no API calls:
145
+
146
+ ```bash
147
+ uv run python src/benchmark_runner.py --score-only results/<run_dir>
148
+ ```
149
+
150
+ ### Analyse results
151
+
152
+ Build a cross-model leaderboard from all local results:
153
+
154
+ ```bash
155
+ uv run python scripts/generate_leaderboard.py
156
+ ```
157
+
158
+ Aggregate repeated runs of one model for variance stats:
159
+
160
+ ```bash
161
+ uv run python scripts/aggregate_runs.py --pattern "x-ai_grok-4.3_NEET_2026"
162
  ```
163
 
164
+ Configure the model list and parameters in `configs/benchmark_config.yaml`; run `src/benchmark_runner.py --help` for the full option list. Each run writes a timestamped folder under `results/` with `predictions.jsonl` (raw responses), `summary.jsonl` (per-question scores, tokens, cost, latency), and `summary.md` (human-readable report).
165
 
166
  ## Scoring
167