Mudasir692 commited on
Commit
607d488
·
verified ·
1 Parent(s): de43292

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +140 -3
README.md CHANGED
@@ -1,3 +1,140 @@
1
- ---
2
- license: apache-2.0
3
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ This dataset is a merged collection of multiple text-to-SQL datasets, designed to provide a comprehensive resource for training and evaluating text-to-SQL models. It combines data from several popular benchmarks, including Spider, CoSQL, SparC, and others, to create a diverse and robust dataset for natural language to SQL query generation tasks.
2
+
3
+ Dataset Details
4
+ Dataset Description
5
+ Curated by: Mudasir Ahmad Mir
6
+
7
+ Language(s) (NLP): English
8
+
9
+ License: Apache 2.0
10
+
11
+ This dataset is ideal for researchers and developers working on natural language processing (NLP), semantic parsing, and database query generation. It supports a wide range of SQL complexities, from simple queries to nested and multi-turn interactions, making it suitable for both beginner and advanced text-to-SQL tasks.
12
+
13
+ Dataset Sources [optional]
14
+ Repository: Hugging Face Dataset Link
15
+
16
+ Original Datasets:
17
+
18
+ Spider: Yale-LILY Lab
19
+
20
+ CoSQL: Yale-LILY Lab
21
+
22
+ SparC: Yale-LILY Lab
23
+
24
+ Uses
25
+ Direct Use
26
+ This dataset is intended for:
27
+
28
+ Training Text-to-SQL Models: Use this dataset to train models for converting natural language questions into SQL queries.
29
+
30
+ Benchmarking: Evaluate the performance of text-to-SQL models across diverse queries and domains.
31
+
32
+ Research: Study the challenges of semantic parsing, cross-domain generalization, and conversational SQL generation.
33
+
34
+ Out-of-Scope Use
35
+ This dataset is not suitable for:
36
+
37
+ Tasks requiring domain-specific knowledge beyond the included datasets.
38
+
39
+ Applications requiring real-time or low-latency SQL generation without further fine-tuning.
40
+
41
+ Dataset Structure
42
+ The dataset contains the following columns:
43
+
44
+ sentence: A natural language question or query.
45
+
46
+ sql: The corresponding SQL query for the given sentence.
47
+
48
+ Dataset Composition
49
+ The dataset is created by merging the following sources:
50
+
51
+ Spider Dataset: A cross-domain text-to-SQL dataset with complex SQL queries.
52
+
53
+ CoSQL Dataset: A conversational text-to-SQL dataset with multi-turn interactions.
54
+
55
+ SparC Dataset: A context-dependent text-to-SQL dataset for cross-domain tasks.
56
+
57
+ Custom Text-to-SQL Dataset: A dataset containing additional sentence-SQL pairs.
58
+
59
+ Train Dataset: A dataset with context-question-answer pairs, adapted for text-to-SQL tasks.
60
+
61
+ Dataset Statistics
62
+ Total Rows: [Insert total number of rows]
63
+
64
+ Unique SQL Patterns: [Insert number of unique SQL patterns]
65
+
66
+ Domains Covered: Academia, geography, conversational systems, and more.
67
+
68
+ Dataset Creation
69
+ Curation Rationale
70
+ This dataset was created to provide a unified and diverse resource for text-to-SQL tasks, combining high-quality datasets from multiple domains and use cases. The goal is to support research and development in natural language understanding and database query generation.
71
+
72
+ Source Data
73
+ Data Collection and Processing
74
+ The dataset was created by merging publicly available text-to-SQL datasets, including Spider, CoSQL, and SparC. The data was cleaned and standardized to ensure consistency in column names and formats.
75
+
76
+ Who are the source data producers?
77
+ Spider: Yale-LILY Lab
78
+
79
+ CoSQL: Yale-LILY Lab
80
+
81
+ SparC: Yale-LILY Lab
82
+
83
+ Custom Dataset: Mudasir Ahmad Mir
84
+
85
+ Annotations [optional]
86
+ The SQL queries in this dataset are manually curated and validated by the original dataset creators.
87
+
88
+ Annotation process
89
+ Annotations were created as part of the original datasets. For example:
90
+
91
+ Spider: Annotators were provided with database schemas and asked to write SQL queries for given natural language questions.
92
+
93
+ CoSQL: Annotators engaged in multi-turn conversations to generate context-dependent SQL queries.
94
+
95
+ Who are the annotators?
96
+ The annotators include researchers and contributors from Yale-LILY Lab and other organizations involved in the original datasets.
97
+
98
+ Personal and Sensitive Information
99
+ This dataset does not contain personal, sensitive, or private information.
100
+
101
+ Bias, Risks, and Limitations
102
+ Recommendations
103
+ Users should be aware of the following:
104
+
105
+ The dataset may contain biases inherent in the original datasets, such as domain-specific language or query complexity.
106
+
107
+ The dataset is not designed for real-time applications without further fine-tuning or optimization.
108
+
109
+ Citation [optional]
110
+ If you use this dataset in your research, please cite the original datasets (Spider, CoSQL, SparC, etc.) along with this merged version.
111
+
112
+ BibTeX:
113
+
114
+ bibtex
115
+ Copy
116
+ @misc{text-to-sql,
117
+ author = {Mudasir Ahmad Mir},
118
+ title = {Text-to-SQL Dataset},
119
+ year = {2023},
120
+ publisher = {Hugging Face},
121
+ howpublished = {\url{https://huggingface.co/datasets/Mudasir692/text-to-sql}}
122
+ }
123
+ APA:
124
+ Mudasir Ahmad Mir. (2023). Merged Text-to-SQL Dataset. Hugging Face. https://huggingface.co/datasets/Mudasir692/text-to-sql
125
+
126
+ Glossary [optional]
127
+ Text-to-SQL: The task of converting natural language questions into SQL queries.
128
+
129
+ Cross-Domain: Refers to datasets that cover multiple domains or topics.
130
+
131
+ Multi-Turn Interactions: Conversations where SQL queries depend on previous interactions.
132
+
133
+ More Information [optional]
134
+ For more information, visit the Hugging Face dataset page: Merged Text-to-SQL Dataset.
135
+
136
+ Dataset Card Authors [optional]
137
+ Mudasir Ahmad Mir
138
+
139
+ Dataset Card Contact
140
+ For questions or feedback, please contact Mudasir Ahmad Mir.