Pith. sign in

REVIEW 1 cited by

Blar-SQL: Faster, Stronger, Smaller NL2SQL

Not yet reviewed by Pith; the record is open.

This paper has not been read by Pith yet. Machine review is queued; the pith claim, tier, and objections will appear here once it completes.

SPECIMEN: schema-true, not a live event

T0 review · schema-true

One-sentence machine reading of the paper's core claim.

pith:XXXXXXXX · record.json · timestamp

arxiv 2401.02997 v1 pith:P3326PHY submitted 2024-01-04 cs.CL cs.AI

classification cs.CLcs.AI
keywords modelsorderquerytimesfastergpt-4languagellms
verification ladder T0 review T1 audit T2 compute T3 formal
0 comments
read the original abstract

Large Language Models (LLMs) have gained considerable notoriety in the field of natural language to SQL tasks (NL2SQL). In this study, we show how task decomposition can greatly benefit LLMs in database understanding and query generation in order to answer human questions with an SQL query. We fined-tuned open source models, specifically Llama-2 and Code Llama, by combining 2 different models each designated to focus on one of two tasks in order to leverage each model's core competency to further increase the accuracy of the final SQL query. We propose a new framework to divide the schema into chunks in order to fit more information into a limited context. Our results are comparable with those obtained by GPT-4 at the same time being 135 times smaller, 90 times faster and more than 100 times cheaper than GPT-4.

Discussion (0). Continue with ORCID to comment.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score. Full citation record

  1. Is Long Context All You Need? Leveraging LLM's Extended Context for NL2SQL

    cs.DB 2025-01 conditional novelty 6.0 of 10

    Feeding Gemini 1.5 a long context with all tables, sample column values, hints, and many synthetic examples reaches 67.41% execution accuracy on BIRD dev without fine-tuning or self-consistency.

Pith tools