Did You Ask a Good Question? A Cross-Domain Question Intention Classification Benchmark for Text-to-SQL

Yusen Zhang, Xiangyu Dong, Shuaichen Chang, Tao Yu, Peng Shi +1 more
10/23/2020
cs.CL

Official code: yszh8/TriageSQL (32 stars, Python, CC-BY-SA-4.0, last commit 2021-07-05).

Abstract

Neural models have achieved significant results on the text-to-SQL task, in which most current work assumes all the input questions are legal and generates a SQL query for any input. However, in the real scenario, users can input any text that may not be able to be answered by a SQL query.

Show full abstract

In this work, we propose TriageSQL, the first cross-domain text-to-SQL question intention classification benchmark that requires models to distinguish four types of unanswerable questions from answerable questions. The baseline RoBERTa model achieves a 60% F1 score on the test set, demonstrating the need for further improvement on this task. Our dataset is available at https://github.com/chatc/TriageSQL.

View on arXivView PDF

Code Implementations(1)

yszh8/TriageSQLOfficial100%
CC-BY-SA-4.0

The dataset and source code for our paper: "Did You Ask a Good Question? A Cross-Domain Question IntentionClassification Benchmark for Text-to-SQL"

324PythonOct 8, 20205 years agoCC-BY-SA-4.0
benchmarkintent-classificationtext-to-sqltext2sql

Similar Papers

Cite this paper

@article{zhang2020good,
  title  = {Did You Ask a Good Question? A Cross-Domain Question Intention Classification Benchmark for Text-to-SQL},
  author = {Yusen Zhang and Xiangyu Dong and Shuaichen Chang and Tao Yu and Peng Shi and Rui Zhang},
  year   = {2020},
  eprint = {2010.12634},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2010.12634}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2010.12634.svg)](https://codeofpaper.com/paper/2010.12634)

Discussion