QUERION v0.6.0
Browse files
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.
|
| 37 |
|
| 38 |
-
|
|
| 39 |
|---|---|
|
| 40 |
-
| Pretrained, zero-shot | 4.84% |
|
| 41 |
-
|
|
| 42 |
-
|
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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 |
|