Text-To-SQL

136 papers with code • 6 benchmarks • 14 datasets

Text-to-SQL is a task in natural language processing (NLP) where the goal is to automatically generate SQL queries from natural language text. The task involves converting the text input into a structured representation and then using this representation to generate a semantically correct SQL query that can be executed on a database.

( Image credit: SyntaxSQLNet )

Libraries

Use these libraries to find Text-To-SQL models and implementations
4 papers
1,570

Benchmarking and Improving Text-to-SQL Generation under Ambiguity

testzer0/ambiqt 20 Oct 2023

Research in Text-to-SQL conversion has been largely benchmarked against datasets where each text query corresponds to one correct SQL.

6
20 Oct 2023

Semantic Decomposition of Question and SQL for Text-to-SQL Parsing

bgunlp/qpl 20 Oct 2023

However, this strategy encounters two major obstacles: (1) existing datasets lack question decomposition; (2) due to the syntactic complexity of SQL, most complex queries cannot be disentangled into sub-queries that can be readily recomposed.

1
20 Oct 2023

MAGNIFICo: Evaluating the In-Context Learning Ability of Large Language Models to Generalize to Novel Interpretations

mcgill-nlp/magnifico 18 Oct 2023

Additionally, our analysis uncovers the semantic predispositions in LLMs and reveals the impact of recency bias for information presented in long contexts.

0
18 Oct 2023

Selective Demonstrations for Cross-domain Text-to-SQL

shuaichenchang/odis-text-to-sql 10 Oct 2023

Large language models (LLMs) with in-context learning have demonstrated impressive generalization capabilities in the cross-domain text-to-SQL task, without the use of in-domain annotations.

4
10 Oct 2023

Can LLMs Effectively Leverage Graph Structural Information through Prompts, and Why?

CurryTang/Graph-LLM 28 Sep 2023

We aim to understand why the incorporation of structural information inherent in graph data can improve the prediction performance of LLMs.

180
28 Sep 2023

Enhancing Open-Domain Table Question Answering via Syntax- and Structure-aware Dense Retrieval

nzjin/odtqa 19 Sep 2023

Open-domain table question answering aims to provide answers to a question by retrieving and extracting information from a large collection of tables.

3
19 Sep 2023

Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluation

beachwang/dail-sql 29 Aug 2023

Our explorations highlight open-source LLMs' potential in Text-to-SQL, as well as the advantages and disadvantages of the supervised fine-tuning.

290
29 Aug 2023

C3: Zero-shot Text-to-SQL with ChatGPT

bigbigwatermalon/c3sql 14 Jul 2023

This paper proposes a ChatGPT-based zero-shot Text-to-SQL method, dubbed C3, which achieves 82. 3\% in terms of execution accuracy on the holdout test set of Spider and becomes the state-of-the-art zero-shot Text-to-SQL method on the Spider Challenge.

95
14 Jul 2023

T5-SR: A Unified Seq-to-Seq Decoding Strategy for Semantic Parsing

JuruoMP/T5-SR 14 Jun 2023

Translating natural language queries into SQLs in a seq2seq manner has attracted much attention recently.

1
14 Jun 2023

Correcting Semantic Parses with Natural Language through Dynamic Schema Encoding

parkervg/destt5 31 May 2023

In addressing the task of converting natural language to SQL queries, there are several semantic and syntactic challenges.

3
31 May 2023