arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2204.00498cs.CLcs.DBcs.LG
收藏

评估大语言模型的文本到SQL的能力

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

University of Cambridge(剑桥大学);ServiceNow(ServiceNow公司);Mila(米拉研究所);McGill University(麦吉尔大学)

Nitarshan Rajkumar, Raymond Li, Dzmitry Bahdanau

摘要:

我们执行的Codex语言模型的文本到SQL的能力的实证评估。我们发现,在没有任何微调的情况下,Codex是Spider基准测试的强大基线;我们还分析了Codex在此设置中的故障模式。此外,我们在GeoQuery和Scholar基准测试中证明,提示中提供的少量域内示例使Codex能够比在此类Few-Shot示例上微调的最先进模型表现更好。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑