joelleachkar commited on
Commit
2e835ea
·
verified ·
1 Parent(s): f1a22ca

Update README with validation and benchmark comparison

Browse files
Files changed (1) hide show
  1. README.md +36 -28
README.md CHANGED
@@ -16,7 +16,7 @@ tags:
16
 
17
  This is the final General Knowledge individual model for the CS-552 Modern NLP Spring 2026 standardized project.
18
 
19
- The submitted model is the SFT-only merged model. A later DPO experiment was run on ARC/CommonsenseQA mistakes, but it reduced benchmark accuracy, so it was not selected as the final model.
20
 
21
  ## Model behavior
22
 
@@ -77,8 +77,6 @@ The SFT training data was built from:
77
  5. SciQ train
78
  6. OpenBookQA train
79
 
80
- The final SFT dataset was capped below 30,000 training rows.
81
-
82
  Final SFT data sizes:
83
 
84
  - Train: 26,120
@@ -98,40 +96,49 @@ Validation answer distribution:
98
 
99
  The final selected model is the SFT-only merged model.
100
 
101
- Evaluation sets:
102
 
103
- - Validation set: 2,000
104
- - MMLU Pro: 2,000, uniformly sampled across categories
105
- - MMLU Redux: 2,000, uniformly sampled across subjects
106
- - SuperGPQA: 2,000, uniformly sampled across disciplines
107
 
108
- SFT-only results:
 
 
109
 
110
- | Benchmark | Boxed extraction | Accuracy |
111
- |---|---:|---:|
112
- | MMLU Pro 2k | 100.00% | 37.85% |
113
- | MMLU Redux 2k | 100.00% | 56.25% |
114
- | SuperGPQA 2k | 99.95% | 27.55% |
 
 
 
 
 
115
 
116
- Baseline comparison:
117
 
118
- | Benchmark | Baseline accuracy | SFT-only accuracy |
 
 
 
 
 
 
119
  |---|---:|---:|
120
- | Validation 2k | 16.00% | not logged in the final grep output |
121
- | MMLU Pro 2k | 18.05% | 37.85% |
122
- | MMLU Redux 2k | 11.40% | 56.25% |
123
- | SuperGPQA 2k | 15.85% | 27.55% |
 
 
 
 
124
 
125
- DPO experiment, not selected:
126
 
127
- | Benchmark | SFT + DPO accuracy |
128
- |---|---:|
129
- | Validation 2k | 79.75% |
130
- | MMLU Pro 2k | 35.25% |
131
- | MMLU Redux 2k | 50.90% |
132
- | SuperGPQA 2k | 23.45% |
133
 
134
- DPO improved the internal validation metric but reduced the external benchmark scores, so the SFT-only model was selected.
135
 
136
  ## Expected input format
137
 
@@ -155,6 +162,7 @@ Important files from the training folder:
155
 
156
  - SFT trainer: scripts/train_v3_lora_sft_masked.py
157
  - SFT data builder: scripts/build_my_sft_data_balanced.py
 
158
  - Merge script: scripts/merge_v3_lora_adapter.py
159
  - Evaluation script: scripts/evaluate_mcq_accuracy.py
160
 
 
16
 
17
  This is the final General Knowledge individual model for the CS-552 Modern NLP Spring 2026 standardized project.
18
 
19
+ The submitted model is the **SFT-only merged model**. A later DPO experiment was run on ARC/CommonsenseQA mistakes, but it reduced external benchmark accuracy, so it was **not selected** as the final model.
20
 
21
  ## Model behavior
22
 
 
77
  5. SciQ train
78
  6. OpenBookQA train
79
 
 
 
80
  Final SFT data sizes:
81
 
82
  - Train: 26,120
 
96
 
97
  The final selected model is the SFT-only merged model.
98
 
99
+ The “SFT validation” set in the table is the held-out validation set created from the same six dataset families used for LoRA SFT training: Kaggle LLM Science, EduQG, EduAdapt MCQ, NCERT_MCQs, SciQ, and OpenBookQA. It contains 2,000 examples and is answer-balanced across A through T.
100
 
101
+ External benchmark sets:
 
 
 
102
 
103
+ - MMLU Pro: 2,000 examples, uniformly sampled across categories
104
+ - MMLU Redux: 2,000 examples, uniformly sampled across subjects
105
+ - SuperGPQA: 2,000 examples, uniformly sampled across disciplines
106
 
107
+ | Evaluation set | Baseline boxed | Baseline accuracy | SFT-only boxed | SFT-only accuracy | SFT + DPO boxed | SFT + DPO accuracy |
108
+ |---|---:|---:|---:|---:|---:|---:|
109
+ | SFT validation 2k | 19.20% | 16.00% | 100.00% | 85.30% | 100.00% | 79.75% |
110
+ | MMLU Pro 2k | 60.25% | 18.05% | 100.00% | 37.85% | 100.00% | 35.25% |
111
+ | MMLU Redux 2k | 26.65% | 11.40% | 100.00% | 56.25% | 100.00% | 50.90% |
112
+ | SuperGPQA 2k | 66.95% | 15.85% | 99.95% | 27.55% | 100.00% | 23.45% |
113
+
114
+ The DPO experiment improved neither the selected SFT validation score nor the external benchmark scores. Therefore, the SFT-only merged model was selected as the final model.
115
+
116
+ ### SFT validation details
117
 
118
+ SFT-only evaluation on the held-out SFT validation set:
119
 
120
+ - Total: 2,000
121
+ - Extracted boxed answer: 2,000 / 2,000 = 100.00%
122
+ - Accuracy: 1,706 / 2,000 = 85.30%
123
+
124
+ Accuracy by validation source:
125
+
126
+ | Source | Accuracy | Boxed extraction |
127
  |---|---:|---:|
128
+ | eduadapt | 82.35% (14/17) | 100.00% (17/17) |
129
+ | eduqg | 76.86% (93/121) | 100.00% (121/121) |
130
+ | kaggle_llm_science | 58.30% (130/223) | 100.00% (223/223) |
131
+ | ncert_mcqs | 93.33% (14/15) | 100.00% (15/15) |
132
+ | openbookqa | 80.83% (430/532) | 100.00% (532/532) |
133
+ | sciq | 93.86% (1025/1092) | 100.00% (1092/1092) |
134
+
135
+ ### SuperGPQA boxed-answer edge case
136
 
137
+ The SFT-only model produced boxed answers for 1,999 out of 2,000 SuperGPQA examples. The single unboxed example was a long, LaTeX-heavy numerical analysis question whose answer choices contained multi-line mathematical derivations. Instead of producing a boxed option, the model continued/copy-completed part of one answer choice, generating text beginning with:
138
 
139
+ mathrm{d} x^{2} = 2.1730$ and $| R_{1} | ...
 
 
 
 
 
140
 
141
+ Increasing max_new_tokens from 20 to 64 did not change this outcome. The reported SuperGPQA result therefore keeps the strict extraction score of 99.95%.
142
 
143
  ## Expected input format
144
 
 
162
 
163
  - SFT trainer: scripts/train_v3_lora_sft_masked.py
164
  - SFT data builder: scripts/build_my_sft_data_balanced.py
165
+ - DPO trainer used for the unselected experiment: scripts/train_v3_lora_dpo_boxed.py
166
  - Merge script: scripts/merge_v3_lora_adapter.py
167
  - Evaluation script: scripts/evaluate_mcq_accuracy.py
168