Updated README
Browse files
README.md
CHANGED
@@ -20,3 +20,17 @@ configs:
|
|
20 |
- split: train
|
21 |
path: data/train-*
|
22 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
- split: train
|
21 |
path: data/train-*
|
22 |
---
|
23 |
+
|
24 |
+
|
25 |
+
# NSText2SQL Dataset (Reformatted for Fine Tuned Generative Models)
|
26 |
+
This is the exact same dataset as WikiSQL: https://huggingface.co/datasets/NumbersStation/NSText2SQL, but with the data reformatted to allow direct use to fine tune generative models. The original license and credits for the original dataset remain in place.
|
27 |
+
|
28 |
+
Specifically, the changes from standard WikiSQL are:
|
29 |
+
|
30 |
+
1. Removed non-english questions
|
31 |
+
|
32 |
+
2. Removed all rows with more than one input table, simplifying the problem for smaller models.
|
33 |
+
|
34 |
+
3. Updated SQL queries in the dataset to prefer using LIKE statements for string matches, to allow better partial matching of results in chat scenarios where a user may not fully specify all data.
|
35 |
+
|
36 |
+
4. Removed syntactically invalid SQL. Specifically, we created in-memory (SQLite) tables using the SQL DESCRIBE of the tables, then ran the SQL query against these in-memory tables. Any SQL queries that threw exceptions for any reason were discarded, and the rest that ran without exceptions were included in this dataset.
|