HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Data

Moshe Hazoom Vibhor Malik Ben Bogin

Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Data

Abstract

Most available semantic parsing datasets, comprising of pairs of natural utterances and logical forms, were collected solely for the purpose of training and evaluation of natural language understanding systems. As a result, they do not contain any of the richness and variety of natural-occurring utterances, where humans ask about data they need or are curious about. In this work, we release SEDE, a dataset with 12,023 pairs of utterances and SQL queries collected from real usage on the Stack Exchange website. We show that these pairs contain a variety of real-world challenges which were rarely reflected so far in any other semantic parsing dataset, propose an evaluation metric based on comparison of partial query clauses that is more suitable for real-world queries, and conduct experiments with strong baselines, showing a large gap between the performance on SEDE compared to other common datasets.

Code Repositories

hirupert/sede
Official
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
text-to-sql-on-sedeT5-Large
PCM-F1 (dev): 48.2
PCM-F1 (test): 50.6

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
Text-to-SQL in the Wild: A Naturally-Occurring Dataset Based on Stack Exchange Data | Papers | HyperAI