autotrain-data-processor
commited on
Commit
·
c1a7d84
1
Parent(s):
ccdc054
Processed data from AutoTrain data processor ([2023-04-19 02:19 ]
Browse files- README.md +143 -0
- processed/dataset_dict.json +1 -0
- processed/train/data-00000-of-00001.arrow +3 -0
- processed/train/dataset_info.json +49 -0
- processed/train/state.json +20 -0
- processed/valid/data-00000-of-00001.arrow +3 -0
- processed/valid/dataset_info.json +49 -0
- processed/valid/state.json +20 -0
README.md
ADDED
@@ -0,0 +1,143 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- translation
|
4 |
+
|
5 |
+
---
|
6 |
+
# AutoTrain Dataset for project: xx
|
7 |
+
|
8 |
+
## Dataset Description
|
9 |
+
|
10 |
+
This dataset has been automatically processed by AutoTrain for project xx.
|
11 |
+
|
12 |
+
### Languages
|
13 |
+
|
14 |
+
The BCP-47 code for the dataset's language is unk.
|
15 |
+
|
16 |
+
## Dataset Structure
|
17 |
+
|
18 |
+
### Data Instances
|
19 |
+
|
20 |
+
A sample from this dataset looks as follows:
|
21 |
+
|
22 |
+
```json
|
23 |
+
[
|
24 |
+
{
|
25 |
+
"feat_db_id": "department_management",
|
26 |
+
"target": "SELECT count(*) FROM head WHERE age > 56",
|
27 |
+
"source": "How many heads of the departments are older than 56 ?",
|
28 |
+
"feat_query_toks": [
|
29 |
+
"SELECT",
|
30 |
+
"count",
|
31 |
+
"(",
|
32 |
+
"*",
|
33 |
+
")",
|
34 |
+
"FROM",
|
35 |
+
"head",
|
36 |
+
"WHERE",
|
37 |
+
"age",
|
38 |
+
">",
|
39 |
+
"56"
|
40 |
+
],
|
41 |
+
"feat_query_toks_no_value": [
|
42 |
+
"select",
|
43 |
+
"count",
|
44 |
+
"(",
|
45 |
+
"*",
|
46 |
+
")",
|
47 |
+
"from",
|
48 |
+
"head",
|
49 |
+
"where",
|
50 |
+
"age",
|
51 |
+
">",
|
52 |
+
"value"
|
53 |
+
],
|
54 |
+
"feat_question_toks": [
|
55 |
+
"How",
|
56 |
+
"many",
|
57 |
+
"heads",
|
58 |
+
"of",
|
59 |
+
"the",
|
60 |
+
"departments",
|
61 |
+
"are",
|
62 |
+
"older",
|
63 |
+
"than",
|
64 |
+
"56",
|
65 |
+
"?"
|
66 |
+
]
|
67 |
+
},
|
68 |
+
{
|
69 |
+
"feat_db_id": "department_management",
|
70 |
+
"target": "SELECT name , born_state , age FROM head ORDER BY age",
|
71 |
+
"source": "List the name, born state and age of the heads of departments ordered by age.",
|
72 |
+
"feat_query_toks": [
|
73 |
+
"SELECT",
|
74 |
+
"name",
|
75 |
+
",",
|
76 |
+
"born_state",
|
77 |
+
",",
|
78 |
+
"age",
|
79 |
+
"FROM",
|
80 |
+
"head",
|
81 |
+
"ORDER",
|
82 |
+
"BY",
|
83 |
+
"age"
|
84 |
+
],
|
85 |
+
"feat_query_toks_no_value": [
|
86 |
+
"select",
|
87 |
+
"name",
|
88 |
+
",",
|
89 |
+
"born_state",
|
90 |
+
",",
|
91 |
+
"age",
|
92 |
+
"from",
|
93 |
+
"head",
|
94 |
+
"order",
|
95 |
+
"by",
|
96 |
+
"age"
|
97 |
+
],
|
98 |
+
"feat_question_toks": [
|
99 |
+
"List",
|
100 |
+
"the",
|
101 |
+
"name",
|
102 |
+
",",
|
103 |
+
"born",
|
104 |
+
"state",
|
105 |
+
"and",
|
106 |
+
"age",
|
107 |
+
"of",
|
108 |
+
"the",
|
109 |
+
"heads",
|
110 |
+
"of",
|
111 |
+
"departments",
|
112 |
+
"ordered",
|
113 |
+
"by",
|
114 |
+
"age",
|
115 |
+
"."
|
116 |
+
]
|
117 |
+
}
|
118 |
+
]
|
119 |
+
```
|
120 |
+
|
121 |
+
### Dataset Fields
|
122 |
+
|
123 |
+
The dataset has the following fields (also called "features"):
|
124 |
+
|
125 |
+
```json
|
126 |
+
{
|
127 |
+
"feat_db_id": "Value(dtype='string', id=None)",
|
128 |
+
"target": "Value(dtype='string', id=None)",
|
129 |
+
"source": "Value(dtype='string', id=None)",
|
130 |
+
"feat_query_toks": "Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)",
|
131 |
+
"feat_query_toks_no_value": "Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)",
|
132 |
+
"feat_question_toks": "Sequence(feature=Value(dtype='string', id=None), length=-1, id=None)"
|
133 |
+
}
|
134 |
+
```
|
135 |
+
|
136 |
+
### Dataset Splits
|
137 |
+
|
138 |
+
This dataset is split into a train and validation split. The split sizes are as follow:
|
139 |
+
|
140 |
+
| Split name | Num samples |
|
141 |
+
| ------------ | ------------------- |
|
142 |
+
| train | 1001 |
|
143 |
+
| valid | 1001 |
|
processed/dataset_dict.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"splits": ["train", "valid"]}
|
processed/train/data-00000-of-00001.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:61a88bb503a4baa34355484669591e1b8deb82cc522c2baad5cf5e42d62fe4df
|
3 |
+
size 632728
|
processed/train/dataset_info.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"citation": "",
|
3 |
+
"description": "AutoTrain generated dataset",
|
4 |
+
"features": {
|
5 |
+
"feat_db_id": {
|
6 |
+
"dtype": "string",
|
7 |
+
"_type": "Value"
|
8 |
+
},
|
9 |
+
"target": {
|
10 |
+
"dtype": "string",
|
11 |
+
"_type": "Value"
|
12 |
+
},
|
13 |
+
"source": {
|
14 |
+
"dtype": "string",
|
15 |
+
"_type": "Value"
|
16 |
+
},
|
17 |
+
"feat_query_toks": {
|
18 |
+
"feature": {
|
19 |
+
"dtype": "string",
|
20 |
+
"_type": "Value"
|
21 |
+
},
|
22 |
+
"_type": "Sequence"
|
23 |
+
},
|
24 |
+
"feat_query_toks_no_value": {
|
25 |
+
"feature": {
|
26 |
+
"dtype": "string",
|
27 |
+
"_type": "Value"
|
28 |
+
},
|
29 |
+
"_type": "Sequence"
|
30 |
+
},
|
31 |
+
"feat_question_toks": {
|
32 |
+
"feature": {
|
33 |
+
"dtype": "string",
|
34 |
+
"_type": "Value"
|
35 |
+
},
|
36 |
+
"_type": "Sequence"
|
37 |
+
}
|
38 |
+
},
|
39 |
+
"homepage": "",
|
40 |
+
"license": "",
|
41 |
+
"splits": {
|
42 |
+
"train": {
|
43 |
+
"name": "train",
|
44 |
+
"num_bytes": 630265,
|
45 |
+
"num_examples": 1001,
|
46 |
+
"dataset_name": null
|
47 |
+
}
|
48 |
+
}
|
49 |
+
}
|
processed/train/state.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_data_files": [
|
3 |
+
{
|
4 |
+
"filename": "data-00000-of-00001.arrow"
|
5 |
+
}
|
6 |
+
],
|
7 |
+
"_fingerprint": "bfb95b86a4714996",
|
8 |
+
"_format_columns": [
|
9 |
+
"feat_db_id",
|
10 |
+
"feat_query_toks",
|
11 |
+
"feat_query_toks_no_value",
|
12 |
+
"feat_question_toks",
|
13 |
+
"source",
|
14 |
+
"target"
|
15 |
+
],
|
16 |
+
"_format_kwargs": {},
|
17 |
+
"_format_type": null,
|
18 |
+
"_output_all_columns": false,
|
19 |
+
"_split": null
|
20 |
+
}
|
processed/valid/data-00000-of-00001.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7fcf1f4c5d3c6d361b7c416be96f21b26fbf419f9da7481193b2915904158d36
|
3 |
+
size 666192
|
processed/valid/dataset_info.json
ADDED
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"citation": "",
|
3 |
+
"description": "AutoTrain generated dataset",
|
4 |
+
"features": {
|
5 |
+
"feat_db_id": {
|
6 |
+
"dtype": "string",
|
7 |
+
"_type": "Value"
|
8 |
+
},
|
9 |
+
"target": {
|
10 |
+
"dtype": "string",
|
11 |
+
"_type": "Value"
|
12 |
+
},
|
13 |
+
"source": {
|
14 |
+
"dtype": "string",
|
15 |
+
"_type": "Value"
|
16 |
+
},
|
17 |
+
"feat_query_toks": {
|
18 |
+
"feature": {
|
19 |
+
"dtype": "string",
|
20 |
+
"_type": "Value"
|
21 |
+
},
|
22 |
+
"_type": "Sequence"
|
23 |
+
},
|
24 |
+
"feat_query_toks_no_value": {
|
25 |
+
"feature": {
|
26 |
+
"dtype": "string",
|
27 |
+
"_type": "Value"
|
28 |
+
},
|
29 |
+
"_type": "Sequence"
|
30 |
+
},
|
31 |
+
"feat_question_toks": {
|
32 |
+
"feature": {
|
33 |
+
"dtype": "string",
|
34 |
+
"_type": "Value"
|
35 |
+
},
|
36 |
+
"_type": "Sequence"
|
37 |
+
}
|
38 |
+
},
|
39 |
+
"homepage": "",
|
40 |
+
"license": "",
|
41 |
+
"splits": {
|
42 |
+
"valid": {
|
43 |
+
"name": "valid",
|
44 |
+
"num_bytes": 663747,
|
45 |
+
"num_examples": 1001,
|
46 |
+
"dataset_name": null
|
47 |
+
}
|
48 |
+
}
|
49 |
+
}
|
processed/valid/state.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_data_files": [
|
3 |
+
{
|
4 |
+
"filename": "data-00000-of-00001.arrow"
|
5 |
+
}
|
6 |
+
],
|
7 |
+
"_fingerprint": "3918d419ca0d1102",
|
8 |
+
"_format_columns": [
|
9 |
+
"feat_db_id",
|
10 |
+
"feat_query_toks",
|
11 |
+
"feat_query_toks_no_value",
|
12 |
+
"feat_question_toks",
|
13 |
+
"source",
|
14 |
+
"target"
|
15 |
+
],
|
16 |
+
"_format_kwargs": {},
|
17 |
+
"_format_type": null,
|
18 |
+
"_output_all_columns": false,
|
19 |
+
"_split": null
|
20 |
+
}
|