SinghBro commited on
Commit
18fe6cb
·
verified ·
1 Parent(s): e6d776e

QUERION v0.6.0

Browse files
Files changed (1) hide show
  1. README.md +14 -8
README.md CHANGED
@@ -33,16 +33,22 @@ tokenizer (`tokenizer.json`).
33
 
34
  Spider dev, 1,034 questions. Metric: plain execution accuracy on the original dev
35
  databases (read-only SQLite). This is not Spider's official test-suite accuracy, which is
36
- stricter, so it is not comparable to leaderboard scores. Greedy decoding.
37
 
38
- | Model | Execution accuracy |
39
  |---|---|
40
- | Pretrained, zero-shot | 4.84% |
41
- | + SFT | 17.7% |
42
- | + SFT with identifier augmentation (this model) | 21.5% |
43
-
44
- Standard error is about 1.2 points. Most failures are schema errors: 533 of 674
45
- failing predictions name a column that does not exist.
 
 
 
 
 
 
46
 
47
  ## Prompt format
48
 
 
33
 
34
  Spider dev, 1,034 questions. Metric: plain execution accuracy on the original dev
35
  databases (read-only SQLite). This is not Spider's official test-suite accuracy, which is
36
+ stricter, so it is not comparable to leaderboard scores.
37
 
38
+ | Decoding | Execution accuracy |
39
  |---|---|
40
+ | Pretrained model, zero-shot, greedy | 4.84% |
41
+ | Fine-tuned, no identifier augmentation, greedy | 17.7% |
42
+ | This model, greedy | 21.5% |
43
+ | + schema-constrained decoding | 26.2% |
44
+ | + 8 samples with execution-guided vote | 35.3% |
45
+
46
+ The last row runs candidate queries on the target database and returns the result most
47
+ candidates agree on, so it needs database access at inference time. Gold answers are never
48
+ used. The constrained decoding and the vote are in the `infer/` package of the GitHub repo.
49
+ Standard error is about 1.5 points. Most remaining failures are wrong table choices: with
50
+ the constraint on, 304 of 497 unknown-column errors name a column from a table the query
51
+ does not use.
52
 
53
  ## Prompt format
54