Core Concepts
Two-stage framework enhances Text2SQL performance with cross-consistency.
Abstract
PET-SQL framework aims to improve Text2SQL tasks by enhancing prompts and leveraging cross-consistency.
The framework consists of a two-stage process: prompt enhancement and cross-consistency implementation.
Key components include reference-enhanced representation, schema linking, and fine-grained voting for diverse LLM results.
Achieved state-of-the-art results on the Spider benchmark with 87.6% execution accuracy.
Contributions include an elaborate prompt design, schema linking method, and effective cross-consistency strategy.
Stats
Our methods achieve new SOTA results on the Spider benchmark, with an execution accuracy of 87.6%.