debugger123 commited on
Commit
640f532
·
verified ·
1 Parent(s): 5f700cd

Add concise dataset overview, subset details and usage to README

Browse files
Files changed (1) hide show
  1. README.md +25 -1
README.md CHANGED
@@ -13,4 +13,28 @@ configs:
13
 
14
  # DataFlow-SQL-150k
15
 
16
- This dataset contains **Aug (75,386 examples)** and **Gen (75,378 examples)**, for a total of **150,764 examples**.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  # DataFlow-SQL-150k
15
 
16
+ DataFlow-SQL-150k is a text-to-SQL dataset containing **150,764 examples** across two subsets: **Aug** and **Gen**. Both subsets provide natural-language questions, SQL queries, and generated reasoning text for text-to-SQL research.
17
+
18
+ ## Subsets
19
+
20
+ | Subset | Description | Examples |
21
+ |---|---|---:|
22
+ | **Aug** | SQL-based data augmentation on Spider, BIRD, and EHRSQL. | 75,386 |
23
+ | **Gen** | Generated text-to-SQL examples with SQL complexity and question style labels. | 75,378 |
24
+ | **Total** | | **150,764** |
25
+
26
+ ## Usage
27
+
28
+ ```python
29
+ from datasets import load_dataset
30
+
31
+ repo_id = "debugger123/DataFlow-SQL-150k"
32
+ aug = load_dataset(repo_id, "aug", split="train")
33
+ gen = load_dataset(repo_id, "gen", split="train")
34
+ ```
35
+
36
+ The SQL and reasoning fields are `SQL` / `cot_reasoning` in Aug and `sql` / `cot` in Gen. Original field names are preserved.
37
+
38
+ ## License
39
+
40
+ [CC-BY-NC-SA-4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/).