konabuta / my-scratch-book

MIT License
0 stars 0 forks source link

Paper: DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction #11

Open konabuta opened 4 months ago

konabuta commented 4 months ago

DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correction

Summary by Copilot

Summary: DIN-SQL is a novel method for generating SQL queries from natural language using large language models and self-correction. It achieves state-of-the-art results on two text-to-SQL benchmarks. The paper is submitted to NeurIPS 2023 and can be accessed online.

reference Source: Conversation with Bing, 2/28/2024 ([1](https://arxiv.org/abs/2304.11015)) DIN-SQL: Decomposed In-Context Learning of Text-to-SQL .... https://arxiv.org/abs/[2](https://ar5iv.labs.arxiv.org/html/2304.11015)304.11015. (2) DIN-SQL: Decomposed In-Context Learning of Text-to-SQL .... https://ar5iv.labs.arxiv.org/html/2304.[1](https://arxiv.org/abs/2304.11015)1015. (3) GitHub - madhup-google/DIN-SQL: https://arxiv.org/pdf/[2](https://ar5iv.labs.arxiv.org/html/2304.11015)304. .... https://github.com/madhup-google/DIN-SQL. (4) DIN-SQL: Decomposed In-Context Learning of Text-to-SQL .... https://deepai.org/publication/din-sql-decomposed-in-context-learning-of-text-to-sql-with-self-correction. (5) undefined. https://doi.org/[1](https://arxiv.org/abs/2304.11015)0.48550/arXiv.[2](https://ar5iv.labs.arxiv.org/html/2304.11015)304.[1](https://arxiv.org/abs/2304.11015)1015. (6) undefined. https://arxiv.org/pdf/[2](https://ar5iv.labs.arxiv.org/html/2304.11015)304. (7) undefined. https://arxiv.org/pdf/2304.[1](https://arxiv.org/abs/2304.11015)[1](https://arxiv.org/abs/2304.11015)0[1](https://arxiv.org/abs/2304.11015)5.pdf.
konabuta commented 4 months ago

Spider dataset

image
konabuta commented 4 months ago

Bird Benchmark

konabuta commented 4 months ago

Methodology

  1. Schema Linking
  2. Query Classification and decomposition
  3. SQL generation
  4. Self-correction
image
konabuta commented 4 months ago

Schema Linking Module

konabuta commented 4 months ago

Classification & Decomposition Module

image
konabuta commented 4 months ago

SQL Generation Module

Self-correction Module