Alpericon commited on
Commit
730d879
·
verified ·
1 Parent(s): f5f766e

Model card: add repair-step results

Browse files
Files changed (1) hide show
  1. README.md +6 -0
README.md CHANGED
@@ -39,6 +39,7 @@ column-permutation-tolerant multiset EX.
39
  | Qwen3-1.7B zero-shot (nf4) | 53.7% | 54.1% |
40
  | + GRPO, unfiltered data (nf4) | 57.1% | 58.1% |
41
  | **+ GRPO, pass-rate-filtered data (this model, nf4 + adapter)** | **58.5%** | **59.0%** |
 
42
 
43
  - **vs zero-shot:** 84 wins / 33 losses on the same questions (official metric, exact McNemar p<0.0001).
44
  - **vs the unfiltered run:** 39 / 30, p=0.34. That gap is not significant.
@@ -83,6 +84,11 @@ as `CREATE TABLE` statements followed by the question. The exact prompt is `tiny
83
  in the repository. The model answers with a ```sql block. Decode greedily, with no repetition penalty:
84
  llama-cpp-python's default `repeat_penalty=1.1` noticeably hurts it.
85
 
 
 
 
 
 
86
  ## Limitations
87
 
88
  - **Single seed per run.** The McNemar tests cover question sampling, not training variance.
 
39
  | Qwen3-1.7B zero-shot (nf4) | 53.7% | 54.1% |
40
  | + GRPO, unfiltered data (nf4) | 57.1% | 58.1% |
41
  | **+ GRPO, pass-rate-filtered data (this model, nf4 + adapter)** | **58.5%** | **59.0%** |
42
+ | this model + one retry on SQL errors (see Usage) | 60.3% | 60.8% |
43
 
44
  - **vs zero-shot:** 84 wins / 33 losses on the same questions (official metric, exact McNemar p<0.0001).
45
  - **vs the unfiltered run:** 39 / 30, p=0.34. That gap is not significant.
 
84
  in the repository. The model answers with a ```sql block. Decode greedily, with no repetition penalty:
85
  llama-cpp-python's default `repeat_penalty=1.1` noticeably hurts it.
86
 
87
+ **Repair:** if the SQL fails to run, or there is no block, one follow-up turn helps. Add the model's
88
+ answer as the assistant turn, then the user turn *"That SQL failed: `<error>`. Write a corrected
89
+ SQLite query that answers the question, in a ```sql block."*. This rescued 19 of 133 failures on
90
+ Spider dev. In 53 of the 133 retries the model repeated the same SQL.
91
+
92
  ## Limitations
93
 
94
  - **Single seed per run.** The McNemar tests cover question sampling, not training variance.