autonlp-data-processor
commited on
Commit
•
9a02dd2
1
Parent(s):
96a266b
Processed data from autonlp data processor ([2021-10-18 03:51 ]
Browse files- README.md +61 -0
- processed/dataset_dict.json +1 -0
- processed/train/dataset.arrow +3 -0
- processed/train/dataset_info.json +37 -0
- processed/train/indices.arrow +3 -0
- processed/train/state.json +23 -0
- processed/valid/dataset.arrow +3 -0
- processed/valid/dataset_info.json +37 -0
- processed/valid/indices.arrow +3 -0
- processed/valid/state.json +23 -0
README.md
ADDED
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- conditional-text-generation
|
4 |
+
|
5 |
+
---
|
6 |
+
# AutoNLP Dataset for project: Code_generation
|
7 |
+
|
8 |
+
## Table of content
|
9 |
+
- [Dataset Description](#dataset-description)
|
10 |
+
- [Languages](#languages)
|
11 |
+
- [Dataset Structure](#dataset-structure)
|
12 |
+
- [Data Instances](#data-instances)
|
13 |
+
- [Data Fields](#data-fields)
|
14 |
+
- [Data Splits](#data-splits)
|
15 |
+
|
16 |
+
## Dataset Descritpion
|
17 |
+
|
18 |
+
This dataset has been automatically processed by AutoNLP for project Code_generation.
|
19 |
+
|
20 |
+
### Languages
|
21 |
+
|
22 |
+
The BCP-47 code for the dataset's language is unk.
|
23 |
+
|
24 |
+
## Dataset Structure
|
25 |
+
|
26 |
+
### Data Instances
|
27 |
+
|
28 |
+
A sample from this dataset looks as follows:
|
29 |
+
|
30 |
+
```json
|
31 |
+
[
|
32 |
+
{
|
33 |
+
"text": "convert a list to a dictionary in python",
|
34 |
+
"target": "b = dict(zip(a[0::2], a[1::2]))"
|
35 |
+
},
|
36 |
+
{
|
37 |
+
"text": "python - sort a list of nested lists",
|
38 |
+
"target": "l.sort(key=sum_nested)"
|
39 |
+
}
|
40 |
+
]
|
41 |
+
```
|
42 |
+
|
43 |
+
### Dataset Fields
|
44 |
+
|
45 |
+
The dataset has the following fields (also called "features"):
|
46 |
+
|
47 |
+
```json
|
48 |
+
{
|
49 |
+
"text": "Value(dtype='string', id=None)",
|
50 |
+
"target": "Value(dtype='string', id=None)"
|
51 |
+
}
|
52 |
+
```
|
53 |
+
|
54 |
+
### Dataset Splits
|
55 |
+
|
56 |
+
This dataset is split into a train and validation split. The split sizes are as follow:
|
57 |
+
|
58 |
+
| Split name | Num samples |
|
59 |
+
| ------------ | ------------------- |
|
60 |
+
| train | 11125 |
|
61 |
+
| valid | 1237 |
|
processed/dataset_dict.json
ADDED
@@ -0,0 +1 @@
|
|
|
|
|
1 |
+
{"splits": ["train", "valid"]}
|
processed/train/dataset.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e18fe5f0aac9c4c4c3c9434cd6ba828ba2b814074b275b20c8bfe0d70db6d06
|
3 |
+
size 1221736
|
processed/train/dataset_info.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"builder_name": null,
|
3 |
+
"citation": "",
|
4 |
+
"config_name": null,
|
5 |
+
"dataset_size": null,
|
6 |
+
"description": "AutoNLP generated dataset",
|
7 |
+
"download_checksums": null,
|
8 |
+
"download_size": null,
|
9 |
+
"features": {
|
10 |
+
"text": {
|
11 |
+
"dtype": "string",
|
12 |
+
"id": null,
|
13 |
+
"_type": "Value"
|
14 |
+
},
|
15 |
+
"target": {
|
16 |
+
"dtype": "string",
|
17 |
+
"id": null,
|
18 |
+
"_type": "Value"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"homepage": "",
|
22 |
+
"license": "",
|
23 |
+
"post_processed": null,
|
24 |
+
"post_processing_size": null,
|
25 |
+
"size_in_bytes": null,
|
26 |
+
"splits": {
|
27 |
+
"train": {
|
28 |
+
"name": "train",
|
29 |
+
"num_bytes": 1220660,
|
30 |
+
"num_examples": 11125,
|
31 |
+
"dataset_name": null
|
32 |
+
}
|
33 |
+
},
|
34 |
+
"supervised_keys": null,
|
35 |
+
"task_templates": null,
|
36 |
+
"version": null
|
37 |
+
}
|
processed/train/indices.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:da80e6ec0bbf852919a0a945cc30040e7c203877f434b6610157b9d0da50a03f
|
3 |
+
size 91008
|
processed/train/state.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_data_files": [
|
3 |
+
{
|
4 |
+
"filename": "dataset.arrow"
|
5 |
+
}
|
6 |
+
],
|
7 |
+
"_fingerprint": "063f8ff18e9394b4",
|
8 |
+
"_format_columns": [
|
9 |
+
"split",
|
10 |
+
"target",
|
11 |
+
"text"
|
12 |
+
],
|
13 |
+
"_format_kwargs": {},
|
14 |
+
"_format_type": null,
|
15 |
+
"_indexes": {},
|
16 |
+
"_indices_data_files": [
|
17 |
+
{
|
18 |
+
"filename": "indices.arrow"
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"_output_all_columns": false,
|
22 |
+
"_split": null
|
23 |
+
}
|
processed/valid/dataset.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:5e18fe5f0aac9c4c4c3c9434cd6ba828ba2b814074b275b20c8bfe0d70db6d06
|
3 |
+
size 1221736
|
processed/valid/dataset_info.json
ADDED
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"builder_name": null,
|
3 |
+
"citation": "",
|
4 |
+
"config_name": null,
|
5 |
+
"dataset_size": null,
|
6 |
+
"description": "AutoNLP generated dataset",
|
7 |
+
"download_checksums": null,
|
8 |
+
"download_size": null,
|
9 |
+
"features": {
|
10 |
+
"text": {
|
11 |
+
"dtype": "string",
|
12 |
+
"id": null,
|
13 |
+
"_type": "Value"
|
14 |
+
},
|
15 |
+
"target": {
|
16 |
+
"dtype": "string",
|
17 |
+
"id": null,
|
18 |
+
"_type": "Value"
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"homepage": "",
|
22 |
+
"license": "",
|
23 |
+
"post_processed": null,
|
24 |
+
"post_processing_size": null,
|
25 |
+
"size_in_bytes": null,
|
26 |
+
"splits": {
|
27 |
+
"valid": {
|
28 |
+
"name": "valid",
|
29 |
+
"num_bytes": 1220660,
|
30 |
+
"num_examples": 1237,
|
31 |
+
"dataset_name": null
|
32 |
+
}
|
33 |
+
},
|
34 |
+
"supervised_keys": null,
|
35 |
+
"task_templates": null,
|
36 |
+
"version": null
|
37 |
+
}
|
processed/valid/indices.arrow
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:cf293c7abedc1896477f68d194471c19d8baebbe970de346665ae9770504d8a9
|
3 |
+
size 10464
|
processed/valid/state.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_data_files": [
|
3 |
+
{
|
4 |
+
"filename": "dataset.arrow"
|
5 |
+
}
|
6 |
+
],
|
7 |
+
"_fingerprint": "5452cda12174bb0c",
|
8 |
+
"_format_columns": [
|
9 |
+
"split",
|
10 |
+
"target",
|
11 |
+
"text"
|
12 |
+
],
|
13 |
+
"_format_kwargs": {},
|
14 |
+
"_format_type": null,
|
15 |
+
"_indexes": {},
|
16 |
+
"_indices_data_files": [
|
17 |
+
{
|
18 |
+
"filename": "indices.arrow"
|
19 |
+
}
|
20 |
+
],
|
21 |
+
"_output_all_columns": false,
|
22 |
+
"_split": null
|
23 |
+
}
|