CSS: A Large-scale Cross-schema Chinese Text-to-SQL Medical Dataset

Hanchong Zhang, Jieyu Li, Lu Chen, Ruisheng Cao, Yunyan Zhang +3 more
5/25/2023
cs.CL

No official code found. Best implementation: X-LANCE/medical-dataset (9 stars, Apache-2.0, last commit 2023-05-26).

Abstract

The cross-domain text-to-SQL task aims to build a system that can parse user questions into SQL on complete unseen databases, and the single-domain text-to-SQL task evaluates the performance on identical databases. Both of these setups confront unavoidable difficulties in real-world applications. To this end, we introduce the cross-schema text-to-SQL task, where the databases of evaluation data are different from that in the training data but come from the same domain. Furthermore, we present CSS, a large-scale CrosS-Schema Chinese text-to-SQL dataset, to carry on corresponding studies. CSS originally consisted of 4,340 question/SQL pairs across 2 databases. In order to generalize models to different medical systems, we extend CSS and create 19 new databases along with 29,280 corresponding dataset examples. Moreover, CSS is also a large corpus for single-domain Chinese text-to-SQL studies. We present the data collection approach and a series of analyses of the data statistics. To show the potential and usefulness of CSS, benchmarking baselines have been conducted and reported. Our dataset is publicly available at \url{https://huggingface.co/datasets/zhanghanchong/css}.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

[ACL 2023 Findings] CSS: A Large-scale Cross-schema Chinese Text-to-SQL Medical Dataset

90PythonMay 25, 20233 years agoApache-2.0

Similar Papers

Cite this paper

@article{zhang2023css,
  title  = {CSS: A Large-scale Cross-schema Chinese Text-to-SQL Medical Dataset},
  author = {Hanchong Zhang and Jieyu Li and Lu Chen and Ruisheng Cao and Yunyan Zhang and Yu Huang and Yefeng Zheng and Kai Yu},
  year   = {2023},
  eprint = {2305.15891},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.15891v1}
}

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/2305.15891.svg)](https://codeofpaper.com/paper/2305.15891)

Discussion