denverbaumgartner commited on
Commit
7c5b9e7
·
verified ·
1 Parent(s): 1c73b80

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +29 -0
README.md CHANGED
@@ -16,4 +16,33 @@ configs:
16
  data_files:
17
  - split: train
18
  path: data/train-*
 
 
 
 
 
 
 
19
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
16
  data_files:
17
  - split: train
18
  path: data/train-*
19
+ license: apache-2.0
20
+ task_categories:
21
+ - text2text-generation
22
+ language:
23
+ - en
24
+ size_categories:
25
+ - 100K<n<1M
26
  ---
27
+
28
+ # Dataset Card for SynQL-Spider-Train-Source-Templates
29
+
30
+ - Developed by: Semiotic Labs
31
+ - Model type: [Text to SQL]
32
+ - License: [Apache-2.0]
33
+
34
+ ## Dataset Details
35
+
36
+ Example view of data:
37
+ ```json
38
+ {
39
+ "0": "SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?)",
40
+ "1": "SELECT COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? != ?",
41
+ "2": "SELECT ? FROM ? WHERE ? = ? OR ? = ?",
42
+ "3": "SELECT ? FROM ? WHERE ? LIKE ? ORDER BY ?",
43
+ ...
44
+ "911": "SELECT ? FROM ?, ?, ? JOIN ? ON ? = ? AND ? = ? AND ? = ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) >= ?"
45
+ }
46
+ ```
47
+
48
+ The Query templates above have been sourced from the Spider dataset ([link](https://huggingface.co/datasets/xlangai/spider)). They have been anonymized using sqlglot ([link](https://github.com/tobymao/sqlglot)).