DTS-SQL: Decomposed Text-to-SQL with Small Large Language Models

Mohammadreza Pourreza, Davood Rafiei
2/2/2024
cs.CLcs.DBcs.HC

No confident code implementation found for this paper. 3 possible matches can be shown below.

Abstract

Leading models for the text-to-SQL task heavily rely on proprietary Large Language Models (LLMs), posing concerns over data privacy. Closing the performance gap between small open-source models and large proprietary models is crucial to mitigate this reliance. To this end, we introduce a novel two-stage fine-tuning approach that decomposes the task into two simpler tasks. Through comprehensive evaluation on two large cross-domain datasets and two small LLMs, we show that this approach improves execution accuracy by 3 to 7 percent, effectively aligning the performance of open-source models with their proprietary counterparts.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 3 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{pourreza2024dtssql,
  title  = {DTS-SQL: Decomposed Text-to-SQL with Small Large Language Models},
  author = {Mohammadreza Pourreza and Davood Rafiei},
  year   = {2024},
  eprint = {2402.01117},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2402.01117v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.01117.svg)](https://codeofpaper.com/paper/2402.01117)

Discussion