Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Evaluating the Text-to-SQL Capabilities of Large Language Models

About

We perform an empirical evaluation of Text-to-SQL capabilities of the Codex language model. We find that, without any finetuning, Codex is a strong baseline on the Spider benchmark; we also analyze the failure modes of Codex in this setting. Furthermore, we demonstrate on the GeoQuery and Scholar benchmarks that a small number of in-domain examples provided in the prompt enables Codex to perform better than state-of-the-art models finetuned on such few-shot examples.

Nitarshan Rajkumar, Raymond Li, Dzmitry Bahdanau• 2022

Related benchmarks

TaskDatasetResultRank
Text-to-SQLSpider (dev)--
100
Table Question AnsweringWikiTQ (test)
Accuracy61.1
92
Table Question AnsweringWikiTableQuestions (test)
Accuracy52.9
86
Fact VerificationTabFact
Accuracy68.37
73
Table Question AnsweringWikiTQ
Accuracy52.9
65
Table-based Fact VerificationTabFact
Accuracy64.71
33
Showing 6 of 6 rows

Other info

Follow for update