Text-To-SQL

129 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,536

CodeS: Towards Building Open-source Language Models for Text-to-SQL

ruckbreasoning/codes 26 Feb 2024

To address the limitations, we introduce CodeS, a series of pre-trained language models with parameters ranging from 1B to 15B, specifically designed for the text-to-SQL task.

41
26 Feb 2024

Understanding the Effects of Noise in Text-to-SQL: An Examination of the BIRD-Bench Benchmark

niklaswretblad/the-effects-of-noise-in-text-to-SQL 19 Feb 2024

This study provides an in-depth analysis of the distribution and types of noise in the widely used BIRD-Bench benchmark and the impact of noise on models.

2
19 Feb 2024

When is Tree Search Useful for LLM Planning? It Depends on the Discriminator

osu-nlp-group/llm-planning-eval 16 Feb 2024

In this paper, we examine how large language models (LLMs) solve multi-step problems under a language agent framework with three components: a generator, a discriminator, and a planning method.

29
16 Feb 2024

Decomposition for Enhancing Attention: Improving LLM-based Text-to-SQL through Workflow Paradigm

flyingfeather/dea-sql 16 Feb 2024

To improve the contextual learning capabilities of LLMs in text-to-SQL, a workflow paradigm method is proposed, aiming to enhance the attention and problem-solving scope of LLMs through decomposition.

5
16 Feb 2024

Improving Generalization in Semantic Parsing by Increasing Natural Language Variation

saparina/text2sql-nlvariation 13 Feb 2024

Text-to-SQL semantic parsing has made significant progress in recent years, with various models demonstrating impressive performance on the challenging Spider benchmark.

2
13 Feb 2024

AraSpider: Democratizing Arabic-to-SQL

ahmedheakl/araspider 12 Feb 2024

The results showed that using back translation significantly improved the performance of both ChatGPT 3. 5 and SQLCoder models, which are considered top performers on the Spider dataset.

2
12 Feb 2024

Analyzing the Effectiveness of Large Language Models on Text-to-SQL Synthesis

cuplv/text-to-sql-wizardcoder 22 Jan 2024

This study investigates various approaches to using Large Language Models (LLMs) for Text-to-SQL program synthesis, focusing on the outcomes and insights derived.

38
22 Jan 2024

MAC-SQL: A Multi-Agent Collaborative Framework for Text-to-SQL

wbbeyourself/mac-sql 18 Dec 2023

Our framework comprises a core decomposer agent for Text-to-SQL generation with few-shot chain-of-thought reasoning, accompanied by two auxiliary agents that utilize external tools or models to acquire smaller sub-databases and refine erroneous SQL queries.

78
18 Dec 2023

LLM-SQL-Solver: Can LLMs Determine SQL Equivalence?

ZhaoFuheng/LLM-SQL-Solver 16 Dec 2023

Judging the equivalence between two SQL queries is a fundamental problem with many practical applications in data management and SQL generation (i. e., evaluating the quality of generated SQL queries in text-to-SQL task).

1
16 Dec 2023

DBCopilot: Scaling Natural Language Querying to Massive Databases

tshu-w/dbcopilot 6 Dec 2023

Text-to-SQL simplifies database interactions by enabling non-experts to convert their natural language (NL) questions into Structured Query Language (SQL) queries.

19
06 Dec 2023