paper-with-me

홈 › Papers

BASE-SQL: A powerful open source Text-To-SQL baseline approach

2025-02-15 · Lei Sheng, Shuai-Shuai Xu, Wei Xie

The conversion of natural language into SQL language for querying databases (Text-to-SQL) has broad application prospects and has attracted widespread attention. At present, the mainstream Text-to-SQL methods are mainly divided into in-context learning (ICL) based methods and supervised fine-tuning (SFT) based methods. ICL-based methods can achieve relatively good results thanks to the use of the most advanced closed-source models. However, in real-world application scenarios, factors such as data privacy, SQL generation efficiency and cost need to be considered. SFT-based methods have certain advantages. At present, methods based on fine-tuning of open source models lack easy-to-implement and effective (cost-effective) baseline methods. We propose a pipeline-based method using open source model fine-tuning, referred to as BASE-SQL, which includes four components: Schema Linking, Candidate SQL Generate, SQL Revision and SQL Merge Revision. Experimental results show that BASE-SQL uses the open source model Qwen2.5-Coder-32B-Instruct, and achieves an accuracy of 67.47% on the BIRD development set and 88.9% on the Spider test set, which is significantly better than other methods using open source models, and even exceeds several methods using the GPT-4o closed-source model. At the same time, BASE-SQL is easy to implement and highly efficient (on average, only five calls to the large language model are required to generate SQL once). The code will be open sourced at https://github.com/CycloneBoy/base_sql.

📄 PDF Abstract BibTeX arXiv:2502.10739

Code (1)

cycloneboy/base_sql 공식 구현

Tasks

In-Context LearningLarge Language ModelText to SQLText-To-SQL

Methods 이 논문이 사용한 방법론

SET Dynamic Sparse Training method where weight mask is updated randomly periodically

Similar Papers 제목 키워드 기반

MnTTS: An Open-Source Mongolian Text-to-Speech Synthesis Dataset and Accompanied Baseline

2022-09-22 · Yifan Hu, Pengkai Yin, Rui Liu, Feilong Bao 외

This paper introduces a high-quality open-source text-to-speech (TTS) synthesis dataset for Mongolian, a low-resource language spoken by over 10 million people worldwide. The dataset, named MnTTS, consists of about 8 hou…

Speech Synthesistext-to-speechText to SpeechText-To-Speech Synthesis

ContextQFormer: A New Context Modeling Method for Multi-Turn Multi-Modal Conversations

2025-05-29 · Yiming Lei, Zhizheng Yang, Zeming Liu, Haitao Leng 외

Multi-modal large language models have demonstrated remarkable zero-shot abilities and powerful image-understanding capabilities. However, the existing open-source multi-modal models suffer from the weak capability of mu…

Open Deep Search: Democratizing Search with Open-source Reasoning Agents

2025-03-26 · Salaheddin Alzubi, Creston Brooks, Purva Chiniya, Edoardo Contente 외

We introduce Open Deep Search (ODS) to close the increasing gap between the proprietary search AI solutions, such as Perplexity's Sonar Reasoning Pro and OpenAI's GPT-4o Search Preview, and their open-source counterparts…

10-shot image generation

DocXChain: A Powerful Open-Source Toolchain for Document Parsing and Beyond

2023-10-19 · Cong Yao

In this report, we introduce DocXChain, a powerful open-source toolchain for document parsing, which is designed and developed to automatically convert the rich information embodied in unstructured documents, such as tex…

Document AIDocument Layout Analysisdocument understandingOptical Character Recognition (OCR)+3

OpenTSLM: Time-Series Language Models for Reasoning over Multivariate Medical Text- and Time-Series Data

2025-10-02 · Patrick Langer, Thomas Kaar, Max Rosenblattl, Maxwell A. Xu 외 arxiv

LLMs have emerged as powerful tools for interpreting multimodal data. In medicine, they hold particular promise for synthesizing large volumes of clinical information into actionable insights and digital health applicati…