mlsanityData to 14 Oct 2026

Open-SQL Framework: Enhancing Text-to-SQL on Open-source Large Language Models

arXiv 2405.06674 ↗First posted 4 May 2024cs.CL cs.AIcited by 5

Not on the map. Why?

Abstract (arXiv)

Despite the success of large language models (LLMs) in Text-to-SQL tasks, open-source LLMs encounter challenges in contextual understanding and response coherence. To tackle these issues, we present ours, a systematic methodology tailored for Text-to-SQL with open-source LLMs. Our contributions include a comprehensive evaluation of open-source LLMs in Text-to-SQL tasks, the openprompt strategy for effective question representation, and novel strategies for supervised fine-tuning. We explore the benefits of Chain-of-Thought in step-by-step inference and propose the openexample method for enhanced few-shot learning. Additionally, we introduce token-efficient techniques, such as Variable-length Open DB Schema, Target Column Truncation, and Example Column Truncation, addressing challenges in large-scale databases. Our findings emphasize the need for further investigation into the impact of supervised fine-tuning on contextual learning capabilities. Remarkably, our method significantly improved Llama2-7B from 2.54% to 41.04% and Code Llama-7B from 14.54% to 48.24% on the BIRD-Dev dataset. Notably, the performance of Code Llama-7B surpassed GPT-4 (46.35%) on the BIRD-Dev dataset.

Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Builds on 21 of its 30 references that are in the map. First posted on arXiv 4 May 2024.

Builds on

21 of 30 references.

References · 21

  1. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  2. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  4. 2021What Makes Good In-Context Examples for GPT-3?cited by 1,195
  5. 2023Can LLM Already Serve as A Database Interface? A BIg Bench for Large-Scale Database Grounded Text-to-SQLscited by 688
  6. 2023DIN-SQL: Decomposed In-Context Learning of Text-to-SQL with Self-Correctioncited by 477
  7. 2019RAT-SQL: Relation-Aware Schema Encoding and Linking for Text-to-SQL Parserscited by 424
  8. 2021PICARD: Parsing Incrementally for Constrained Auto-Regressive Decoding from Language Modelscited by 411
  9. 2020TaBERT: Pretraining for Joint Understanding of Textual and Tabular Datacited by 398
  10. 2023Text-to-SQL Empowered by Large Language Models: A Benchmark Evaluationcited by 385
  11. 2019Towards Complex Text-to-SQL in Cross-Domain Database with Intermediate Representationcited by 210
  12. 2023C3: Zero-shot Text-to-SQL with ChatGPTcited by 164
9 more
  1. 2023Graphix-T5: Mixing Pre-Trained Transformers with Graph-Aware Layers for Text-to-SQL Parsingcited by 93
  2. 2022RASAT: Integrating Relational Structures into Pretrained Seq2Seq Model for Text-to-SQLcited by 85
  3. 2023How to Prompt LLMs for Text-to-SQL: A Study in Zero-shot, Single-domain, and Cross-domain Settingscited by 58
  4. 2022Recent Advances in Text-to-SQL: A Survey of What We Have and What We Expectcited by 47
  5. 2023Enhancing Few-shot Text-to-SQL Capabilities of Large Language Models: A Study on Prompt Design Strategiescited by 45
  6. 2018SQL-to-Text Generation with Graph-to-Sequence Modelcited by 31
  7. 2022Proton: Probing Schema Linking Information from Pre-trained Language Models for Text-to-SQL Parsingcited by 30
  8. 2022HIE-SQL: History Information Enhanced Network for Context-Dependent Text-to-SQL Semantic Parsingcited by 26
  9. 2017An Encoder-Decoder Framework Translating Natural Language to Database Queriescited by 23

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 2; 2025: 2; 2026: 1.

5 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025SLM-SQL: An Exploration of Small Language Models for Text-to-SQL
  2. 2025SQLForge: Synthesizing Reliable and Diverse Data to Enhance Text-to-SQL Reasoning in LLMs
  3. 2024Lucy: Think and Reason to Solve Text-to-SQL
  4. 2026Integrating Reasoning and Generalization in Text-to-SQL via Self-Enhanced Fine-Tuning
  5. 2024ROUTE: Robust Multitask Tuning and Collaboration for Text-to-SQL
  6. 2025LLMSQL: Upgrading WikiSQL for the LLM Era of Text-to-SQL
  7. 2024Evaluating and Enhancing LLMs for Multi-turn Text-to-SQL with Multiple Question Types
  8. 2026Knowledge Distillation for Low-Resource Open-source Text-to-SQL Model