richardr1126
commited on
Commit
•
42c8776
1
Parent(s):
4d3c5ff
Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,79 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
language:
|
3 |
+
- en
|
4 |
+
license:
|
5 |
+
- cc-by-4.0
|
6 |
+
source_datasets:
|
7 |
+
- spider
|
8 |
+
tags:
|
9 |
+
- sql
|
10 |
+
- spider
|
11 |
+
- natsql
|
12 |
+
- text-to-sql
|
13 |
+
- sql finetune
|
14 |
+
dataset_info:
|
15 |
+
features:
|
16 |
+
- name: db_id
|
17 |
+
dtype: string
|
18 |
+
- name: text
|
19 |
+
dtype: string
|
20 |
+
---
|
21 |
+
# Dataset Card for Spider NatSQL Context Validation
|
22 |
+
|
23 |
+
### Dataset Summary
|
24 |
+
|
25 |
+
[Spider](https://arxiv.org/abs/1809.08887) is a large-scale complex and cross-domain semantic parsing and text-to-SQL dataset annotated by 11 Yale students
|
26 |
+
The goal of the Spider challenge is to develop natural language interfaces to cross-domain databases.
|
27 |
+
|
28 |
+
This dataset was created to validate LLMs on the Spider dev dataset with database context using NatSQL.
|
29 |
+
|
30 |
+
### NatSQL
|
31 |
+
|
32 |
+
[NatSQL](https://arxiv.org/abs/2109.05153) is an intermediate representation for SQL that simplifies the queries and reduces the mismatch between
|
33 |
+
natural language and SQL. NatSQL preserves the core functionalities of SQL, but removes some clauses and keywords
|
34 |
+
that are hard to infer from natural language descriptions. NatSQL also makes schema linking easier by reducing the
|
35 |
+
number of schema items to predict. NatSQL can be easily converted to executable SQL queries and can improve the
|
36 |
+
performance of text-to-SQL models.
|
37 |
+
|
38 |
+
### Yale Lily Spider Leaderboards
|
39 |
+
|
40 |
+
The leaderboard can be seen at https://yale-lily.github.io/spider
|
41 |
+
|
42 |
+
### Languages
|
43 |
+
|
44 |
+
The text in the dataset is in English.
|
45 |
+
|
46 |
+
### Licensing Information
|
47 |
+
|
48 |
+
The spider dataset is licensed under
|
49 |
+
the [CC BY-SA 4.0](https://creativecommons.org/licenses/by-sa/4.0/legalcode)
|
50 |
+
|
51 |
+
### Citation
|
52 |
+
```
|
53 |
+
@article{yu2018spider,
|
54 |
+
title={Spider: A large-scale human-labeled dataset for complex and cross-domain semantic parsing and text-to-sql task},
|
55 |
+
author={Yu, Tao and Zhang, Rui and Yang, Kai and Yasunaga, Michihiro and Wang, Dongxu and Li, Zifan and Ma, James and Li, Irene and Yao, Qingning and Roman, Shanelle and others},
|
56 |
+
journal={arXiv preprint arXiv:1809.08887},
|
57 |
+
year={2018}
|
58 |
+
}
|
59 |
+
```
|
60 |
+
```
|
61 |
+
@inproceedings{gan-etal-2021-natural-sql,
|
62 |
+
title = "Natural {SQL}: Making {SQL} Easier to Infer from Natural Language Specifications",
|
63 |
+
author = "Gan, Yujian and
|
64 |
+
Chen, Xinyun and
|
65 |
+
Xie, Jinxia and
|
66 |
+
Purver, Matthew and
|
67 |
+
Woodward, John R. and
|
68 |
+
Drake, John and
|
69 |
+
Zhang, Qiaofu",
|
70 |
+
booktitle = "Findings of the Association for Computational Linguistics: EMNLP 2021",
|
71 |
+
month = nov,
|
72 |
+
year = "2021",
|
73 |
+
address = "Punta Cana, Dominican Republic",
|
74 |
+
publisher = "Association for Computational Linguistics",
|
75 |
+
url = "https://aclanthology.org/2021.findings-emnlp.174",
|
76 |
+
doi = "10.18653/v1/2021.findings-emnlp.174",
|
77 |
+
pages = "2030--2042",
|
78 |
+
}
|
79 |
+
```
|