HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

T5-SR: A Unified Seq-to-Seq Decoding Strategy for Semantic Parsing

Yuntao Li Zhenpeng Su Yutian Li Hanchu Zhang Sirui Wang Wei Wu Yan Zhang

T5-SR: A Unified Seq-to-Seq Decoding Strategy for Semantic Parsing

Abstract

Translating natural language queries into SQLs in a seq2seq manner has attracted much attention recently. However, compared with abstract-syntactic-tree-based SQL generation, seq2seq semantic parsers face much more challenges, including poor quality on schematical information prediction and poor semantic coherence between natural language queries and SQLs. This paper analyses the above difficulties and proposes a seq2seq-oriented decoding strategy called SR, which includes a new intermediate representation SSQL and a reranking method with score re-estimator to solve the above obstacles respectively. Experimental results demonstrate the effectiveness of our proposed techniques and T5-SR-3b achieves new state-of-the-art results on the Spider dataset.

Code Repositories

JuruoMP/T5-SR
Official
jax

Benchmarks

BenchmarkMethodologyMetrics
text-to-sql-on-spiderT5-SR
Exact Match Accuracy (Dev): 77.2
Exact Match Accuracy (Test): 72.4
Execution Accuracy (Test): 75.2

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp