ycsong-eugene commited on
Commit
c2d90f9
1 Parent(s): 6a6d0fb

copy origin hellaswag

Browse files
README.md ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language:
3
+ - en
4
+ paperswithcode_id: hellaswag
5
+ pretty_name: HellaSwag
6
+ dataset_info:
7
+ features:
8
+ - name: ind
9
+ dtype: int32
10
+ - name: activity_label
11
+ dtype: string
12
+ - name: ctx_a
13
+ dtype: string
14
+ - name: ctx_b
15
+ dtype: string
16
+ - name: ctx
17
+ dtype: string
18
+ - name: endings
19
+ sequence: string
20
+ - name: source_id
21
+ dtype: string
22
+ - name: split
23
+ dtype: string
24
+ - name: split_type
25
+ dtype: string
26
+ - name: label
27
+ dtype: string
28
+ splits:
29
+ - name: train
30
+ num_bytes: 43232624
31
+ num_examples: 39905
32
+ - name: test
33
+ num_bytes: 10791853
34
+ num_examples: 10003
35
+ - name: validation
36
+ num_bytes: 11175717
37
+ num_examples: 10042
38
+ download_size: 71494896
39
+ dataset_size: 65200194
40
+ ---
41
+
42
+ # Dataset Card for "hellaswag"
43
+
44
+ ## Table of Contents
45
+ - [Dataset Description](#dataset-description)
46
+ - [Dataset Summary](#dataset-summary)
47
+ - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
48
+ - [Languages](#languages)
49
+ - [Dataset Structure](#dataset-structure)
50
+ - [Data Instances](#data-instances)
51
+ - [Data Fields](#data-fields)
52
+ - [Data Splits](#data-splits)
53
+ - [Dataset Creation](#dataset-creation)
54
+ - [Curation Rationale](#curation-rationale)
55
+ - [Source Data](#source-data)
56
+ - [Annotations](#annotations)
57
+ - [Personal and Sensitive Information](#personal-and-sensitive-information)
58
+ - [Considerations for Using the Data](#considerations-for-using-the-data)
59
+ - [Social Impact of Dataset](#social-impact-of-dataset)
60
+ - [Discussion of Biases](#discussion-of-biases)
61
+ - [Other Known Limitations](#other-known-limitations)
62
+ - [Additional Information](#additional-information)
63
+ - [Dataset Curators](#dataset-curators)
64
+ - [Licensing Information](#licensing-information)
65
+ - [Citation Information](#citation-information)
66
+ - [Contributions](#contributions)
67
+
68
+ ## Dataset Description
69
+
70
+ - **Homepage:** [https://rowanzellers.com/hellaswag/](https://rowanzellers.com/hellaswag/)
71
+ - **Repository:** [https://github.com/rowanz/hellaswag/](https://github.com/rowanz/hellaswag/)
72
+ - **Paper:** [HellaSwag: Can a Machine Really Finish Your Sentence?](https://arxiv.org/abs/1905.07830)
73
+ - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
74
+ - **Size of downloaded dataset files:** 71.49 MB
75
+ - **Size of the generated dataset:** 65.32 MB
76
+ - **Total amount of disk used:** 136.81 MB
77
+
78
+ ### Dataset Summary
79
+
80
+ HellaSwag: Can a Machine Really Finish Your Sentence? is a new dataset for commonsense NLI. A paper was published at ACL2019.
81
+
82
+ ### Supported Tasks and Leaderboards
83
+
84
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
85
+
86
+ ### Languages
87
+
88
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
89
+
90
+ ## Dataset Structure
91
+
92
+ ### Data Instances
93
+
94
+ #### default
95
+
96
+ - **Size of downloaded dataset files:** 71.49 MB
97
+ - **Size of the generated dataset:** 65.32 MB
98
+ - **Total amount of disk used:** 136.81 MB
99
+
100
+ An example of 'train' looks as follows.
101
+ ```
102
+ This example was too long and was cropped:
103
+
104
+ {
105
+ "activity_label": "Removing ice from car",
106
+ "ctx": "Then, the man writes over the snow covering the window of a car, and a woman wearing winter clothes smiles. then",
107
+ "ctx_a": "Then, the man writes over the snow covering the window of a car, and a woman wearing winter clothes smiles.",
108
+ "ctx_b": "then",
109
+ "endings": "[\", the man adds wax to the windshield and cuts it.\", \", a person board a ski lift, while two men supporting the head of the per...",
110
+ "ind": 4,
111
+ "label": "3",
112
+ "source_id": "activitynet~v_-1IBHYS3L-Y",
113
+ "split": "train",
114
+ "split_type": "indomain"
115
+ }
116
+ ```
117
+
118
+ ### Data Fields
119
+
120
+ The data fields are the same among all splits.
121
+
122
+ #### default
123
+ - `ind`: a `int32` feature.
124
+ - `activity_label`: a `string` feature.
125
+ - `ctx_a`: a `string` feature.
126
+ - `ctx_b`: a `string` feature.
127
+ - `ctx`: a `string` feature.
128
+ - `endings`: a `list` of `string` features.
129
+ - `source_id`: a `string` feature.
130
+ - `split`: a `string` feature.
131
+ - `split_type`: a `string` feature.
132
+ - `label`: a `string` feature.
133
+
134
+ ### Data Splits
135
+
136
+ | name |train|validation|test |
137
+ |-------|----:|---------:|----:|
138
+ |default|39905| 10042|10003|
139
+
140
+ ## Dataset Creation
141
+
142
+ ### Curation Rationale
143
+
144
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
145
+
146
+ ### Source Data
147
+
148
+ #### Initial Data Collection and Normalization
149
+
150
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
151
+
152
+ #### Who are the source language producers?
153
+
154
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
155
+
156
+ ### Annotations
157
+
158
+ #### Annotation process
159
+
160
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
161
+
162
+ #### Who are the annotators?
163
+
164
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
165
+
166
+ ### Personal and Sensitive Information
167
+
168
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
169
+
170
+ ## Considerations for Using the Data
171
+
172
+ ### Social Impact of Dataset
173
+
174
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
175
+
176
+ ### Discussion of Biases
177
+
178
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
179
+
180
+ ### Other Known Limitations
181
+
182
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
183
+
184
+ ## Additional Information
185
+
186
+ ### Dataset Curators
187
+
188
+ [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
189
+
190
+ ### Licensing Information
191
+
192
+ MIT https://github.com/rowanz/hellaswag/blob/master/LICENSE
193
+
194
+ ### Citation Information
195
+
196
+ ```
197
+ @inproceedings{zellers2019hellaswag,
198
+ title={HellaSwag: Can a Machine Really Finish Your Sentence?},
199
+ author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},
200
+ booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},
201
+ year={2019}
202
+ }
203
+
204
+ ```
205
+
206
+
207
+ ### Contributions
208
+
209
+ Thanks to [@albertvillanova](https://github.com/albertvillanova), [@mariamabarham](https://github.com/mariamabarham), [@thomwolf](https://github.com/thomwolf), [@patrickvonplaten](https://github.com/patrickvonplaten), [@lewtun](https://github.com/lewtun) for adding this dataset.
dataset_dict.json DELETED
@@ -1 +0,0 @@
1
- {"splits": ["train", "test", "validation"]}
 
 
dataset_infos.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"default": {"description": "\nHellaSwag: Can a Machine Really Finish Your Sentence? is a new dataset for commonsense NLI. A paper was published at ACL2019.\n", "citation": "@inproceedings{zellers2019hellaswag,\n title={HellaSwag: Can a Machine Really Finish Your Sentence?},\n author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},\n booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},\n year={2019}\n}\n", "homepage": "https://rowanzellers.com/hellaswag/", "license": "", "features": {"ind": {"dtype": "int32", "id": null, "_type": "Value"}, "activity_label": {"dtype": "string", "id": null, "_type": "Value"}, "ctx_a": {"dtype": "string", "id": null, "_type": "Value"}, "ctx_b": {"dtype": "string", "id": null, "_type": "Value"}, "ctx": {"dtype": "string", "id": null, "_type": "Value"}, "endings": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "source_id": {"dtype": "string", "id": null, "_type": "Value"}, "split": {"dtype": "string", "id": null, "_type": "Value"}, "split_type": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "hellaswag", "config_name": "default", "version": {"version_str": "0.1.0", "description": null, "major": 0, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 43232624, "num_examples": 39905, "dataset_name": "hellaswag"}, "test": {"name": "test", "num_bytes": 10791853, "num_examples": 10003, "dataset_name": "hellaswag"}, "validation": {"name": "validation", "num_bytes": 11175717, "num_examples": 10042, "dataset_name": "hellaswag"}}, "download_checksums": {"https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_train.jsonl": {"num_bytes": 47496131, "checksum": "dae5e69249868cb9fe4e23ff925c60b66169564cfb7072d793cd7356a2b69f8d"}, "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_test.jsonl": {"num_bytes": 11752147, "checksum": "da082b00543e422b8d25394614d102944586986def4de5cd1bd36d86bcb76261"}, "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_val.jsonl": {"num_bytes": 12246618, "checksum": "0aa3b88843990f3f10a97b9575c94d7b71fb2205240ba04ae4884d9e9c992588"}}, "download_size": 71494896, "post_processing_size": null, "dataset_size": 65200194, "size_in_bytes": 136695090}}
syc-hellaswag2.py ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ """TODO(hellaswag): Add a description here."""
2
+
3
+
4
+ import json
5
+
6
+ import datasets
7
+
8
+
9
+ # TODO(hellaswag): BibTeX citation
10
+ _CITATION = """\
11
+ @inproceedings{zellers2019hellaswag,
12
+ title={HellaSwag: Can a Machine Really Finish Your Sentence?},
13
+ author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},
14
+ booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},
15
+ year={2019}
16
+ }
17
+ """
18
+
19
+ _DESCRIPTION = """
20
+ HellaSwag: Can a Machine Really Finish Your Sentence? is a new dataset for commonsense NLI. A paper was published at ACL2019.
21
+ """
22
+ _URL = "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/"
23
+ _URLS = {
24
+ "train": _URL + "hellaswag_train.jsonl",
25
+ "test": _URL + "hellaswag_test.jsonl",
26
+ "dev": _URL + "hellaswag_val.jsonl",
27
+ }
28
+
29
+
30
+ class Hellaswag(datasets.GeneratorBasedBuilder):
31
+ """TODO(hellaswag): Short description of my dataset."""
32
+
33
+ # TODO(hellaswag): Set up version.
34
+ VERSION = datasets.Version("0.1.0")
35
+
36
+ def _info(self):
37
+ # TODO(hellaswag): Specifies the datasets.DatasetInfo object
38
+ return datasets.DatasetInfo(
39
+ # This is the description that will appear on the datasets page.
40
+ description=_DESCRIPTION,
41
+ # datasets.features.FeatureConnectors
42
+ features=datasets.Features(
43
+ {
44
+ # These are the features of your dataset like images, labels ...
45
+ "ind": datasets.Value("int32"),
46
+ "activity_label": datasets.Value("string"),
47
+ "ctx_a": datasets.Value("string"),
48
+ "ctx_b": datasets.Value("string"),
49
+ "ctx": datasets.Value("string"),
50
+ "endings": datasets.features.Sequence(datasets.Value("string")),
51
+ "source_id": datasets.Value("string"),
52
+ "split": datasets.Value("string"),
53
+ "split_type": datasets.Value("string"),
54
+ "label": datasets.Value("string"),
55
+ }
56
+ ),
57
+ # If there's a common (input, target) tuple from the features,
58
+ # specify them here. They'll be used if as_supervised=True in
59
+ # builder.as_dataset.
60
+ supervised_keys=None,
61
+ # Homepage of the dataset for documentation
62
+ homepage="https://rowanzellers.com/hellaswag/",
63
+ citation=_CITATION,
64
+ )
65
+
66
+ def _split_generators(self, dl_manager):
67
+ """Returns SplitGenerators."""
68
+ # TODO(hellaswag): Downloads the data and defines the splits
69
+ # dl_manager is a datasets.download.DownloadManager that can be used to
70
+ # download and extract URLs
71
+ urls_to_download = _URLS
72
+ dl_dir = dl_manager.download_and_extract(urls_to_download)
73
+ return [
74
+ datasets.SplitGenerator(
75
+ name=datasets.Split.TRAIN,
76
+ # These kwargs will be passed to _generate_examples
77
+ gen_kwargs={"filepath": dl_dir["train"]},
78
+ ),
79
+ datasets.SplitGenerator(
80
+ name=datasets.Split.TEST,
81
+ # These kwargs will be passed to _generate_examples
82
+ gen_kwargs={"filepath": dl_dir["test"]},
83
+ ),
84
+ datasets.SplitGenerator(
85
+ name=datasets.Split.VALIDATION,
86
+ # These kwargs will be passed to _generate_examples
87
+ gen_kwargs={"filepath": dl_dir["dev"]},
88
+ ),
89
+ ]
90
+
91
+ def _generate_examples(self, filepath):
92
+ """Yields examples."""
93
+ # TODO(hellaswag): Yields (key, example) tuples from the dataset
94
+ with open(filepath, encoding="utf-8") as f:
95
+ for id_, row in enumerate(f):
96
+ data = json.loads(row)
97
+ yield id_, {
98
+ "ind": int(data["ind"]),
99
+ "activity_label": data["activity_label"],
100
+ "ctx_a": data.get("ctx_a", ""),
101
+ "ctx_b": data.get("ctx_b", ""),
102
+ "ctx": data["ctx"],
103
+ "endings": data.get("endings", []),
104
+ "source_id": data["source_id"],
105
+ "split": data["split"],
106
+ "split_type": data["split_type"],
107
+ "label": str(data.get("label", "")),
108
+ }
test/dataset.arrow DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:84744b23a0aa9ea6a8d1286c61f47ba6164c6e056268664bc1080e91f55e1352
3
- size 10794912
 
 
 
 
test/dataset_info.json DELETED
@@ -1,113 +0,0 @@
1
- {
2
- "builder_name": "hellaswag",
3
- "citation": "@inproceedings{zellers2019hellaswag,\n title={HellaSwag: Can a Machine Really Finish Your Sentence?},\n author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},\n booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},\n year={2019}\n}\n",
4
- "config_name": "default",
5
- "dataset_size": 65200194,
6
- "description": "\nHellaSwag: Can a Machine Really Finish Your Sentence? is a new dataset for commonsense NLI. A paper was published at ACL2019.\n",
7
- "download_checksums": {
8
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_train.jsonl": {
9
- "num_bytes": 47496131,
10
- "checksum": "dae5e69249868cb9fe4e23ff925c60b66169564cfb7072d793cd7356a2b69f8d"
11
- },
12
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_test.jsonl": {
13
- "num_bytes": 11752147,
14
- "checksum": "da082b00543e422b8d25394614d102944586986def4de5cd1bd36d86bcb76261"
15
- },
16
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_val.jsonl": {
17
- "num_bytes": 12246618,
18
- "checksum": "0aa3b88843990f3f10a97b9575c94d7b71fb2205240ba04ae4884d9e9c992588"
19
- }
20
- },
21
- "download_size": 71494896,
22
- "features": {
23
- "ind": {
24
- "dtype": "int32",
25
- "id": null,
26
- "_type": "Value"
27
- },
28
- "activity_label": {
29
- "dtype": "string",
30
- "id": null,
31
- "_type": "Value"
32
- },
33
- "ctx_a": {
34
- "dtype": "string",
35
- "id": null,
36
- "_type": "Value"
37
- },
38
- "ctx_b": {
39
- "dtype": "string",
40
- "id": null,
41
- "_type": "Value"
42
- },
43
- "ctx": {
44
- "dtype": "string",
45
- "id": null,
46
- "_type": "Value"
47
- },
48
- "endings": {
49
- "feature": {
50
- "dtype": "string",
51
- "id": null,
52
- "_type": "Value"
53
- },
54
- "length": -1,
55
- "id": null,
56
- "_type": "Sequence"
57
- },
58
- "source_id": {
59
- "dtype": "string",
60
- "id": null,
61
- "_type": "Value"
62
- },
63
- "split": {
64
- "dtype": "string",
65
- "id": null,
66
- "_type": "Value"
67
- },
68
- "split_type": {
69
- "dtype": "string",
70
- "id": null,
71
- "_type": "Value"
72
- },
73
- "label": {
74
- "dtype": "string",
75
- "id": null,
76
- "_type": "Value"
77
- }
78
- },
79
- "homepage": "https://rowanzellers.com/hellaswag/",
80
- "license": "",
81
- "post_processed": null,
82
- "post_processing_size": null,
83
- "size_in_bytes": 136695090,
84
- "splits": {
85
- "train": {
86
- "name": "train",
87
- "num_bytes": 43232624,
88
- "num_examples": 39905,
89
- "dataset_name": "hellaswag"
90
- },
91
- "test": {
92
- "name": "test",
93
- "num_bytes": 10791853,
94
- "num_examples": 10003,
95
- "dataset_name": "hellaswag"
96
- },
97
- "validation": {
98
- "name": "validation",
99
- "num_bytes": 11175717,
100
- "num_examples": 10042,
101
- "dataset_name": "hellaswag"
102
- }
103
- },
104
- "supervised_keys": null,
105
- "task_templates": null,
106
- "version": {
107
- "version_str": "0.1.0",
108
- "description": null,
109
- "major": 0,
110
- "minor": 1,
111
- "patch": 0
112
- }
113
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
test/state.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "_data_files": [
3
- {
4
- "filename": "dataset.arrow"
5
- }
6
- ],
7
- "_fingerprint": "126f4955bd0c79c0",
8
- "_format_columns": null,
9
- "_format_kwargs": {},
10
- "_format_type": null,
11
- "_indexes": {},
12
- "_output_all_columns": false,
13
- "_split": "test"
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
train/dataset.arrow DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:4a3d76e99f3ddd583e82f2e119aa6335d4e74f2b54f291ca55a4b91483285e9f
3
- size 43237408
 
 
 
 
train/dataset_info.json DELETED
@@ -1,113 +0,0 @@
1
- {
2
- "builder_name": "hellaswag",
3
- "citation": "@inproceedings{zellers2019hellaswag,\n title={HellaSwag: Can a Machine Really Finish Your Sentence?},\n author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},\n booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},\n year={2019}\n}\n",
4
- "config_name": "default",
5
- "dataset_size": 65200194,
6
- "description": "\nHellaSwag: Can a Machine Really Finish Your Sentence? is a new dataset for commonsense NLI. A paper was published at ACL2019.\n",
7
- "download_checksums": {
8
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_train.jsonl": {
9
- "num_bytes": 47496131,
10
- "checksum": "dae5e69249868cb9fe4e23ff925c60b66169564cfb7072d793cd7356a2b69f8d"
11
- },
12
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_test.jsonl": {
13
- "num_bytes": 11752147,
14
- "checksum": "da082b00543e422b8d25394614d102944586986def4de5cd1bd36d86bcb76261"
15
- },
16
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_val.jsonl": {
17
- "num_bytes": 12246618,
18
- "checksum": "0aa3b88843990f3f10a97b9575c94d7b71fb2205240ba04ae4884d9e9c992588"
19
- }
20
- },
21
- "download_size": 71494896,
22
- "features": {
23
- "ind": {
24
- "dtype": "int32",
25
- "id": null,
26
- "_type": "Value"
27
- },
28
- "activity_label": {
29
- "dtype": "string",
30
- "id": null,
31
- "_type": "Value"
32
- },
33
- "ctx_a": {
34
- "dtype": "string",
35
- "id": null,
36
- "_type": "Value"
37
- },
38
- "ctx_b": {
39
- "dtype": "string",
40
- "id": null,
41
- "_type": "Value"
42
- },
43
- "ctx": {
44
- "dtype": "string",
45
- "id": null,
46
- "_type": "Value"
47
- },
48
- "endings": {
49
- "feature": {
50
- "dtype": "string",
51
- "id": null,
52
- "_type": "Value"
53
- },
54
- "length": -1,
55
- "id": null,
56
- "_type": "Sequence"
57
- },
58
- "source_id": {
59
- "dtype": "string",
60
- "id": null,
61
- "_type": "Value"
62
- },
63
- "split": {
64
- "dtype": "string",
65
- "id": null,
66
- "_type": "Value"
67
- },
68
- "split_type": {
69
- "dtype": "string",
70
- "id": null,
71
- "_type": "Value"
72
- },
73
- "label": {
74
- "dtype": "string",
75
- "id": null,
76
- "_type": "Value"
77
- }
78
- },
79
- "homepage": "https://rowanzellers.com/hellaswag/",
80
- "license": "",
81
- "post_processed": null,
82
- "post_processing_size": null,
83
- "size_in_bytes": 136695090,
84
- "splits": {
85
- "train": {
86
- "name": "train",
87
- "num_bytes": 43232624,
88
- "num_examples": 39905,
89
- "dataset_name": "hellaswag"
90
- },
91
- "test": {
92
- "name": "test",
93
- "num_bytes": 10791853,
94
- "num_examples": 10003,
95
- "dataset_name": "hellaswag"
96
- },
97
- "validation": {
98
- "name": "validation",
99
- "num_bytes": 11175717,
100
- "num_examples": 10042,
101
- "dataset_name": "hellaswag"
102
- }
103
- },
104
- "supervised_keys": null,
105
- "task_templates": null,
106
- "version": {
107
- "version_str": "0.1.0",
108
- "description": null,
109
- "major": 0,
110
- "minor": 1,
111
- "patch": 0
112
- }
113
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
train/state.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "_data_files": [
3
- {
4
- "filename": "dataset.arrow"
5
- }
6
- ],
7
- "_fingerprint": "c69128f059fbf02b",
8
- "_format_columns": null,
9
- "_format_kwargs": {},
10
- "_format_type": null,
11
- "_indexes": {},
12
- "_output_all_columns": false,
13
- "_split": "train"
14
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
validation/dataset.arrow DELETED
@@ -1,3 +0,0 @@
1
- version https://git-lfs.github.com/spec/v1
2
- oid sha256:2acaf190c0df0c68605d206f43a5c6dbd0e1ad38cb6e51d62ff8e48e2abbeac9
3
- size 11178824
 
 
 
 
validation/dataset_info.json DELETED
@@ -1,113 +0,0 @@
1
- {
2
- "builder_name": "hellaswag",
3
- "citation": "@inproceedings{zellers2019hellaswag,\n title={HellaSwag: Can a Machine Really Finish Your Sentence?},\n author={Zellers, Rowan and Holtzman, Ari and Bisk, Yonatan and Farhadi, Ali and Choi, Yejin},\n booktitle ={Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics},\n year={2019}\n}\n",
4
- "config_name": "default",
5
- "dataset_size": 65200194,
6
- "description": "\nHellaSwag: Can a Machine Really Finish Your Sentence? is a new dataset for commonsense NLI. A paper was published at ACL2019.\n",
7
- "download_checksums": {
8
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_train.jsonl": {
9
- "num_bytes": 47496131,
10
- "checksum": "dae5e69249868cb9fe4e23ff925c60b66169564cfb7072d793cd7356a2b69f8d"
11
- },
12
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_test.jsonl": {
13
- "num_bytes": 11752147,
14
- "checksum": "da082b00543e422b8d25394614d102944586986def4de5cd1bd36d86bcb76261"
15
- },
16
- "https://raw.githubusercontent.com/rowanz/hellaswag/master/data/hellaswag_val.jsonl": {
17
- "num_bytes": 12246618,
18
- "checksum": "0aa3b88843990f3f10a97b9575c94d7b71fb2205240ba04ae4884d9e9c992588"
19
- }
20
- },
21
- "download_size": 71494896,
22
- "features": {
23
- "ind": {
24
- "dtype": "int32",
25
- "id": null,
26
- "_type": "Value"
27
- },
28
- "activity_label": {
29
- "dtype": "string",
30
- "id": null,
31
- "_type": "Value"
32
- },
33
- "ctx_a": {
34
- "dtype": "string",
35
- "id": null,
36
- "_type": "Value"
37
- },
38
- "ctx_b": {
39
- "dtype": "string",
40
- "id": null,
41
- "_type": "Value"
42
- },
43
- "ctx": {
44
- "dtype": "string",
45
- "id": null,
46
- "_type": "Value"
47
- },
48
- "endings": {
49
- "feature": {
50
- "dtype": "string",
51
- "id": null,
52
- "_type": "Value"
53
- },
54
- "length": -1,
55
- "id": null,
56
- "_type": "Sequence"
57
- },
58
- "source_id": {
59
- "dtype": "string",
60
- "id": null,
61
- "_type": "Value"
62
- },
63
- "split": {
64
- "dtype": "string",
65
- "id": null,
66
- "_type": "Value"
67
- },
68
- "split_type": {
69
- "dtype": "string",
70
- "id": null,
71
- "_type": "Value"
72
- },
73
- "label": {
74
- "dtype": "string",
75
- "id": null,
76
- "_type": "Value"
77
- }
78
- },
79
- "homepage": "https://rowanzellers.com/hellaswag/",
80
- "license": "",
81
- "post_processed": null,
82
- "post_processing_size": null,
83
- "size_in_bytes": 136695090,
84
- "splits": {
85
- "train": {
86
- "name": "train",
87
- "num_bytes": 43232624,
88
- "num_examples": 39905,
89
- "dataset_name": "hellaswag"
90
- },
91
- "test": {
92
- "name": "test",
93
- "num_bytes": 10791853,
94
- "num_examples": 10003,
95
- "dataset_name": "hellaswag"
96
- },
97
- "validation": {
98
- "name": "validation",
99
- "num_bytes": 11175717,
100
- "num_examples": 10042,
101
- "dataset_name": "hellaswag"
102
- }
103
- },
104
- "supervised_keys": null,
105
- "task_templates": null,
106
- "version": {
107
- "version_str": "0.1.0",
108
- "description": null,
109
- "major": 0,
110
- "minor": 1,
111
- "patch": 0
112
- }
113
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
validation/state.json DELETED
@@ -1,14 +0,0 @@
1
- {
2
- "_data_files": [
3
- {
4
- "filename": "dataset.arrow"
5
- }
6
- ],
7
- "_fingerprint": "9042f0834e9b2f00",
8
- "_format_columns": null,
9
- "_format_kwargs": {},
10
- "_format_type": null,
11
- "_indexes": {},
12
- "_output_all_columns": false,
13
- "_split": "validation"
14
- }