autotrain-data-processor
commited on
Commit
·
8f3ed61
1
Parent(s):
bfffd84
Processed data from AutoTrain data processor ([2022-09-29 21:03 ]
Browse files- README.md +71 -0
- processed/dataset_dict.json +1 -0
- processed/train/dataset.arrow +3 -0
- processed/train/dataset_info.json +71 -0
- processed/train/state.json +23 -0
- processed/valid/dataset.arrow +3 -0
- processed/valid/dataset_info.json +71 -0
- processed/valid/state.json +23 -0
README.md
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
task_categories:
|
3 |
+
- text-classification
|
4 |
+
|
5 |
+
---
|
6 |
+
# AutoTrain Dataset for project: github-emotion-surprise
|
7 |
+
|
8 |
+
## Dataset Description
|
9 |
+
|
10 |
+
This dataset has been automatically processed by AutoTrain for project github-emotion-surprise.
|
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_id": 704844644,
|
26 |
+
"text": "This change doesn't affect anything but makes the code more clear. If you look at the line about, `currentUrlTree` is set to `urlAfterRedirects`.",
|
27 |
+
"feat_Anger": 0,
|
28 |
+
"feat_Love": 0,
|
29 |
+
"feat_Fear": 0,
|
30 |
+
"feat_Joy": 1,
|
31 |
+
"feat_Sadness": 0,
|
32 |
+
"target": 0
|
33 |
+
},
|
34 |
+
{
|
35 |
+
"feat_id": 886568180,
|
36 |
+
"text": "Thanks very much for your feedback [USER] Your point is totally fair. My intention was to highlight that camelCase or dash-case class names are perfectly fine to use in Angular templates. Most people, especially beginners, do not know that and end up using the `ngClass` directive. Do you think that rewording the alert towards that direction would make sense?",
|
37 |
+
"feat_Anger": 0,
|
38 |
+
"feat_Love": 1,
|
39 |
+
"feat_Fear": 0,
|
40 |
+
"feat_Joy": 0,
|
41 |
+
"feat_Sadness": 0,
|
42 |
+
"target": 0
|
43 |
+
}
|
44 |
+
]
|
45 |
+
```
|
46 |
+
|
47 |
+
### Dataset Fields
|
48 |
+
|
49 |
+
The dataset has the following fields (also called "features"):
|
50 |
+
|
51 |
+
```json
|
52 |
+
{
|
53 |
+
"feat_id": "Value(dtype='int64', id=None)",
|
54 |
+
"text": "Value(dtype='string', id=None)",
|
55 |
+
"feat_Anger": "Value(dtype='int64', id=None)",
|
56 |
+
"feat_Love": "Value(dtype='int64', id=None)",
|
57 |
+
"feat_Fear": "Value(dtype='int64', id=None)",
|
58 |
+
"feat_Joy": "Value(dtype='int64', id=None)",
|
59 |
+
"feat_Sadness": "Value(dtype='int64', id=None)",
|
60 |
+
"target": "ClassLabel(num_classes=2, names=['0', '1'], id=None)"
|
61 |
+
}
|
62 |
+
```
|
63 |
+
|
64 |
+
### Dataset Splits
|
65 |
+
|
66 |
+
This dataset is split into a train and validation split. The split sizes are as follow:
|
67 |
+
|
68 |
+
| Split name | Num samples |
|
69 |
+
| ------------ | ------------------- |
|
70 |
+
| train | 1600 |
|
71 |
+
| valid | 400 |
|
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:a1e735fb33507b6f030ed13f6c48b74123f27b9bfba68d7bfd1ce039f049a21c
|
3 |
+
size 365096
|
processed/train/dataset_info.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"builder_name": null,
|
3 |
+
"citation": "",
|
4 |
+
"config_name": null,
|
5 |
+
"dataset_size": null,
|
6 |
+
"description": "AutoTrain generated dataset",
|
7 |
+
"download_checksums": null,
|
8 |
+
"download_size": null,
|
9 |
+
"features": {
|
10 |
+
"feat_id": {
|
11 |
+
"dtype": "int64",
|
12 |
+
"id": null,
|
13 |
+
"_type": "Value"
|
14 |
+
},
|
15 |
+
"text": {
|
16 |
+
"dtype": "string",
|
17 |
+
"id": null,
|
18 |
+
"_type": "Value"
|
19 |
+
},
|
20 |
+
"feat_Anger": {
|
21 |
+
"dtype": "int64",
|
22 |
+
"id": null,
|
23 |
+
"_type": "Value"
|
24 |
+
},
|
25 |
+
"feat_Love": {
|
26 |
+
"dtype": "int64",
|
27 |
+
"id": null,
|
28 |
+
"_type": "Value"
|
29 |
+
},
|
30 |
+
"feat_Fear": {
|
31 |
+
"dtype": "int64",
|
32 |
+
"id": null,
|
33 |
+
"_type": "Value"
|
34 |
+
},
|
35 |
+
"feat_Joy": {
|
36 |
+
"dtype": "int64",
|
37 |
+
"id": null,
|
38 |
+
"_type": "Value"
|
39 |
+
},
|
40 |
+
"feat_Sadness": {
|
41 |
+
"dtype": "int64",
|
42 |
+
"id": null,
|
43 |
+
"_type": "Value"
|
44 |
+
},
|
45 |
+
"target": {
|
46 |
+
"num_classes": 2,
|
47 |
+
"names": [
|
48 |
+
"0",
|
49 |
+
"1"
|
50 |
+
],
|
51 |
+
"id": null,
|
52 |
+
"_type": "ClassLabel"
|
53 |
+
}
|
54 |
+
},
|
55 |
+
"homepage": "",
|
56 |
+
"license": "",
|
57 |
+
"post_processed": null,
|
58 |
+
"post_processing_size": null,
|
59 |
+
"size_in_bytes": null,
|
60 |
+
"splits": {
|
61 |
+
"train": {
|
62 |
+
"name": "train",
|
63 |
+
"num_bytes": 362946,
|
64 |
+
"num_examples": 1600,
|
65 |
+
"dataset_name": null
|
66 |
+
}
|
67 |
+
},
|
68 |
+
"supervised_keys": null,
|
69 |
+
"task_templates": null,
|
70 |
+
"version": null
|
71 |
+
}
|
processed/train/state.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_data_files": [
|
3 |
+
{
|
4 |
+
"filename": "dataset.arrow"
|
5 |
+
}
|
6 |
+
],
|
7 |
+
"_fingerprint": "052920ba6ff611a0",
|
8 |
+
"_format_columns": [
|
9 |
+
"feat_Anger",
|
10 |
+
"feat_Fear",
|
11 |
+
"feat_Joy",
|
12 |
+
"feat_Love",
|
13 |
+
"feat_Sadness",
|
14 |
+
"feat_id",
|
15 |
+
"target",
|
16 |
+
"text"
|
17 |
+
],
|
18 |
+
"_format_kwargs": {},
|
19 |
+
"_format_type": null,
|
20 |
+
"_indexes": {},
|
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:4caac00f09a41d7d26693e16282a88fa916a5816e6ff5d43b944f19230351ce4
|
3 |
+
size 99704
|
processed/valid/dataset_info.json
ADDED
@@ -0,0 +1,71 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"builder_name": null,
|
3 |
+
"citation": "",
|
4 |
+
"config_name": null,
|
5 |
+
"dataset_size": null,
|
6 |
+
"description": "AutoTrain generated dataset",
|
7 |
+
"download_checksums": null,
|
8 |
+
"download_size": null,
|
9 |
+
"features": {
|
10 |
+
"feat_id": {
|
11 |
+
"dtype": "int64",
|
12 |
+
"id": null,
|
13 |
+
"_type": "Value"
|
14 |
+
},
|
15 |
+
"text": {
|
16 |
+
"dtype": "string",
|
17 |
+
"id": null,
|
18 |
+
"_type": "Value"
|
19 |
+
},
|
20 |
+
"feat_Anger": {
|
21 |
+
"dtype": "int64",
|
22 |
+
"id": null,
|
23 |
+
"_type": "Value"
|
24 |
+
},
|
25 |
+
"feat_Love": {
|
26 |
+
"dtype": "int64",
|
27 |
+
"id": null,
|
28 |
+
"_type": "Value"
|
29 |
+
},
|
30 |
+
"feat_Fear": {
|
31 |
+
"dtype": "int64",
|
32 |
+
"id": null,
|
33 |
+
"_type": "Value"
|
34 |
+
},
|
35 |
+
"feat_Joy": {
|
36 |
+
"dtype": "int64",
|
37 |
+
"id": null,
|
38 |
+
"_type": "Value"
|
39 |
+
},
|
40 |
+
"feat_Sadness": {
|
41 |
+
"dtype": "int64",
|
42 |
+
"id": null,
|
43 |
+
"_type": "Value"
|
44 |
+
},
|
45 |
+
"target": {
|
46 |
+
"num_classes": 2,
|
47 |
+
"names": [
|
48 |
+
"0",
|
49 |
+
"1"
|
50 |
+
],
|
51 |
+
"id": null,
|
52 |
+
"_type": "ClassLabel"
|
53 |
+
}
|
54 |
+
},
|
55 |
+
"homepage": "",
|
56 |
+
"license": "",
|
57 |
+
"post_processed": null,
|
58 |
+
"post_processing_size": null,
|
59 |
+
"size_in_bytes": null,
|
60 |
+
"splits": {
|
61 |
+
"valid": {
|
62 |
+
"name": "valid",
|
63 |
+
"num_bytes": 98060,
|
64 |
+
"num_examples": 400,
|
65 |
+
"dataset_name": null
|
66 |
+
}
|
67 |
+
},
|
68 |
+
"supervised_keys": null,
|
69 |
+
"task_templates": null,
|
70 |
+
"version": null
|
71 |
+
}
|
processed/valid/state.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_data_files": [
|
3 |
+
{
|
4 |
+
"filename": "dataset.arrow"
|
5 |
+
}
|
6 |
+
],
|
7 |
+
"_fingerprint": "2caf85bb9077f0c7",
|
8 |
+
"_format_columns": [
|
9 |
+
"feat_Anger",
|
10 |
+
"feat_Fear",
|
11 |
+
"feat_Joy",
|
12 |
+
"feat_Love",
|
13 |
+
"feat_Sadness",
|
14 |
+
"feat_id",
|
15 |
+
"target",
|
16 |
+
"text"
|
17 |
+
],
|
18 |
+
"_format_kwargs": {},
|
19 |
+
"_format_type": null,
|
20 |
+
"_indexes": {},
|
21 |
+
"_output_all_columns": false,
|
22 |
+
"_split": null
|
23 |
+
}
|