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

By Nitarshan Rajkumar, Raymond Li, Dzmitry Bahdanau. 2022

158 citations recorded by the source corpus.

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.

Subfields: Artificial Intelligence, Natural Language Processing

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Luke S. Zettlemoyer
  2. Percy Liang
  3. Graham Neubig
  4. Mohit Bansal
  5. Caiming Xiong
  6. Jianfeng Gao
  7. Jonathan Berant
  8. Hannaneh Hajishirzi

In Natural Language Processing

  1. Luke S. Zettlemoyer
  2. Percy Liang
  3. Graham Neubig
  4. Wen-tau Yih
  5. Caiming Xiong
  6. Jonathan Berant
  7. Richard Socher
  8. Mohit Bansal

Citations in the corpus