Text-To-SQL

135 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,560
3
19 Apr 2024

Demonstration of DB-GPT: Next Generation Data Interaction System Empowered by Large Language Models

eosphoros-ai/db-gpt 16 Apr 2024

The recent breakthroughs in large language models (LLMs) are positioned to transition many areas of software.

10,991
16 Apr 2024

TabSQLify: Enhancing Reasoning Capabilities of LLMs Through Table Decomposition

mahadi-nahid/tabsqlify 15 Apr 2024

Table reasoning is a challenging task that requires understanding both natural language questions and structured tabular data.

1
15 Apr 2024

PET-SQL: A Prompt-enhanced Two-stage Text-to-SQL Framework with Cross-consistency

zhshlii/petsql 13 Mar 2024

Then, in the first stage, question-SQL pairs are retrieved as few-shot demonstrations, prompting the LLM to generate a preliminary SQL (PreSQL).

21
13 Mar 2024

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.

62
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.

5
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.

35
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.

9
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