parquet-converter commited on
Commit
2419723
1 Parent(s): 3c1e08b

Update parquet files

Browse files
.gitattributes DELETED
@@ -1,27 +0,0 @@
1
- *.7z filter=lfs diff=lfs merge=lfs -text
2
- *.arrow filter=lfs diff=lfs merge=lfs -text
3
- *.bin filter=lfs diff=lfs merge=lfs -text
4
- *.bin.* filter=lfs diff=lfs merge=lfs -text
5
- *.bz2 filter=lfs diff=lfs merge=lfs -text
6
- *.ftz filter=lfs diff=lfs merge=lfs -text
7
- *.gz filter=lfs diff=lfs merge=lfs -text
8
- *.h5 filter=lfs diff=lfs merge=lfs -text
9
- *.joblib filter=lfs diff=lfs merge=lfs -text
10
- *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
- *.model filter=lfs diff=lfs merge=lfs -text
12
- *.msgpack filter=lfs diff=lfs merge=lfs -text
13
- *.onnx filter=lfs diff=lfs merge=lfs -text
14
- *.ot filter=lfs diff=lfs merge=lfs -text
15
- *.parquet filter=lfs diff=lfs merge=lfs -text
16
- *.pb filter=lfs diff=lfs merge=lfs -text
17
- *.pt filter=lfs diff=lfs merge=lfs -text
18
- *.pth filter=lfs diff=lfs merge=lfs -text
19
- *.rar filter=lfs diff=lfs merge=lfs -text
20
- saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
- *.tar.* filter=lfs diff=lfs merge=lfs -text
22
- *.tflite filter=lfs diff=lfs merge=lfs -text
23
- *.tgz filter=lfs diff=lfs merge=lfs -text
24
- *.xz filter=lfs diff=lfs merge=lfs -text
25
- *.zip filter=lfs diff=lfs merge=lfs -text
26
- *.zstandard filter=lfs diff=lfs merge=lfs -text
27
- *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.md DELETED
@@ -1,286 +0,0 @@
1
- ---
2
- annotations_creators:
3
- - crowdsourced
4
- - expert-generated
5
- language_creators:
6
- - found
7
- language:
8
- - en
9
- license:
10
- - unknown
11
- multilinguality:
12
- - monolingual
13
- size_categories:
14
- - 1K<n<10K
15
- source_datasets:
16
- - extended|wikipedia
17
- - original
18
- task_categories:
19
- - text-classification
20
- - text-retrieval
21
- task_ids:
22
- - text-scoring
23
- - fact-checking
24
- - fact-checking-retrieval
25
- - semantic-similarity-scoring
26
- - multi-input-text-classification
27
- paperswithcode_id: climate-fever
28
- pretty_name: ClimateFever
29
- dataset_info:
30
- features:
31
- - name: claim_id
32
- dtype: string
33
- - name: claim
34
- dtype: string
35
- - name: claim_label
36
- dtype:
37
- class_label:
38
- names:
39
- 0: SUPPORTS
40
- 1: REFUTES
41
- 2: NOT_ENOUGH_INFO
42
- 3: DISPUTED
43
- - name: evidences
44
- list:
45
- - name: evidence_id
46
- dtype: string
47
- - name: evidence_label
48
- dtype:
49
- class_label:
50
- names:
51
- 0: SUPPORTS
52
- 1: REFUTES
53
- 2: NOT_ENOUGH_INFO
54
- - name: article
55
- dtype: string
56
- - name: evidence
57
- dtype: string
58
- - name: entropy
59
- dtype: float32
60
- - name: votes
61
- list: string
62
- splits:
63
- - name: test
64
- num_bytes: 2429272
65
- num_examples: 1535
66
- download_size: 687133
67
- dataset_size: 2429272
68
- ---
69
-
70
- # Dataset Card for ClimateFever
71
-
72
- ## Table of Contents
73
- - [Dataset Description](#dataset-description)
74
- - [Dataset Summary](#dataset-summary)
75
- - [Supported Tasks and Leaderboards](#supported-tasks-and-leaderboards)
76
- - [Languages](#languages)
77
- - [Dataset Structure](#dataset-structure)
78
- - [Data Instances](#data-instances)
79
- - [Data Fields](#data-fields)
80
- - [Data Splits](#data-splits)
81
- - [Dataset Creation](#dataset-creation)
82
- - [Curation Rationale](#curation-rationale)
83
- - [Source Data](#source-data)
84
- - [Annotations](#annotations)
85
- - [Personal and Sensitive Information](#personal-and-sensitive-information)
86
- - [Considerations for Using the Data](#considerations-for-using-the-data)
87
- - [Social Impact of Dataset](#social-impact-of-dataset)
88
- - [Discussion of Biases](#discussion-of-biases)
89
- - [Other Known Limitations](#other-known-limitations)
90
- - [Additional Information](#additional-information)
91
- - [Dataset Curators](#dataset-curators)
92
- - [Licensing Information](#licensing-information)
93
- - [Citation Information](#citation-information)
94
- - [Contributions](#contributions)
95
-
96
- ## Dataset Description
97
-
98
- - **Homepage:** [CLIMATE-FEVER homepage](http://climatefever.ai)
99
- - **Repository:** [CLIMATE-FEVER repository](https://github.com/tdiggelm/climate-fever-dataset)
100
- - **Paper:** [CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claims](https://arxiv.org/abs/2012.00614)
101
- - **Leaderboard:** [Needs More Information]
102
- - **Point of Contact:** [Thomas Diggelmann](mailto:thomasdi@student.ethz.ch)
103
-
104
- ### Dataset Summary
105
-
106
- A dataset adopting the FEVER methodology that consists of 1,535 real-world claims regarding climate-change collected on the internet. Each claim is accompanied by five manually annotated evidence sentences retrieved from the English Wikipedia that support, refute or do not give enough information to validate the claim totalling in 7,675 claim-evidence pairs. The dataset features challenging claims that relate multiple facets and disputed cases of claims where both supporting and refuting evidence are present.
107
-
108
- ### Supported Tasks and Leaderboards
109
-
110
- [Needs More Information]
111
-
112
- ### Languages
113
-
114
- The text in the dataset is in English, as found in real-world claims about climate-change on the Internet. The associated BCP-47 code is `en`.
115
-
116
- ## Dataset Structure
117
-
118
- ### Data Instances
119
-
120
- ```
121
- {
122
- "claim_id": "0",
123
- "claim": "Global warming is driving polar bears toward extinction",
124
- "claim_label": 0, # "SUPPORTS"
125
- "evidences": [
126
- {
127
- "evidence_id": "Extinction risk from global warming:170",
128
- "evidence_label": 2, # "NOT_ENOUGH_INFO"
129
- "article": "Extinction risk from global warming",
130
- "evidence": "\"Recent Research Shows Human Activity Driving Earth Towards Global Extinction Event\".",
131
- "entropy": 0.6931471805599453,
132
- "votes": [
133
- "SUPPORTS",
134
- "NOT_ENOUGH_INFO",
135
- null,
136
- null,
137
- null
138
- ]
139
- },
140
- {
141
- "evidence_id": "Global warming:14",
142
- "evidence_label": 0, # "SUPPORTS"
143
- "article": "Global warming",
144
- "evidence": "Environmental impacts include the extinction or relocation of many species as their ecosystems change, most immediately the environments of coral reefs, mountains, and the Arctic.",
145
- "entropy": 0.0,
146
- "votes": [
147
- "SUPPORTS",
148
- "SUPPORTS",
149
- null,
150
- null,
151
- null
152
- ]
153
- },
154
- {
155
- "evidence_id": "Global warming:178",
156
- "evidence_label": 2, # "NOT_ENOUGH_INFO"
157
- "article": "Global warming",
158
- "evidence": "Rising temperatures push bees to their physiological limits, and could cause the extinction of bee populations.",
159
- "entropy": 0.6931471805599453,
160
- "votes": [
161
- "SUPPORTS",
162
- "NOT_ENOUGH_INFO",
163
- null,
164
- null,
165
- null
166
- ]
167
- },
168
- {
169
- "evidence_id": "Habitat destruction:61",
170
- "evidence_label": 0, # "SUPPORTS"
171
- "article": "Habitat destruction",
172
- "evidence": "Rising global temperatures, caused by the greenhouse effect, contribute to habitat destruction, endangering various species, such as the polar bear.",
173
- "entropy": 0.0,
174
- "votes": [
175
- "SUPPORTS",
176
- "SUPPORTS",
177
- null,
178
- null,
179
- null
180
- ]
181
- },
182
- {
183
- "evidence_id": "Polar bear:1328",
184
- "evidence_label": 2, # "NOT_ENOUGH_INFO"
185
- "article": "Polar bear",
186
- "evidence": "\"Bear hunting caught in global warming debate\".",
187
- "entropy": 0.6931471805599453,
188
- "votes": [
189
- "SUPPORTS",
190
- "NOT_ENOUGH_INFO",
191
- null,
192
- null,
193
- null
194
- ]
195
- }
196
- ]
197
- }
198
- ```
199
-
200
- ### Data Fields
201
-
202
- - `claim_id`: a `string` feature, unique claim identifier.
203
- - `claim`: a `string` feature, claim text.
204
- - `claim_label`: a `int` feature, overall label assigned to claim (based on evidence majority vote). The label correspond to 0: "supports", 1: "refutes", 2: "not enough info" and 3: "disputed".
205
- - `evidences`: a list of evidences with fields:
206
- - `evidence_id`: a `string` feature, unique evidence identifier.
207
- - `evidence_label`: a `int` feature, micro-verdict label. The label correspond to 0: "supports", 1: "refutes" and 2: "not enough info".
208
- - `article`: a `string` feature, title of source article (Wikipedia page).
209
- - `evidence`: a `string` feature, evidence sentence.
210
- - `entropy`: a `float32` feature, entropy reflecting uncertainty of `evidence_label`.
211
- - `votes`: a `list` of `string` features, corresponding to individual votes.
212
-
213
- ### Data Splits
214
-
215
- This benchmark dataset currently consists of a single data split `test` that consists of 1,535 claims or 7,675 claim-evidence pairs.
216
-
217
- ## Dataset Creation
218
-
219
- ### Curation Rationale
220
-
221
- [Needs More Information]
222
-
223
- ### Source Data
224
-
225
- #### Initial Data Collection and Normalization
226
-
227
- [Needs More Information]
228
-
229
- #### Who are the source language producers?
230
-
231
- [Needs More Information]
232
-
233
- ### Annotations
234
-
235
- #### Annotation process
236
-
237
- [Needs More Information]
238
-
239
- #### Who are the annotators?
240
-
241
- [Needs More Information]
242
-
243
- ### Personal and Sensitive Information
244
-
245
- [Needs More Information]
246
-
247
- ## Considerations for Using the Data
248
-
249
- ### Social Impact of Dataset
250
-
251
- [Needs More Information]
252
-
253
- ### Discussion of Biases
254
-
255
- [Needs More Information]
256
-
257
- ### Other Known Limitations
258
-
259
- [Needs More Information]
260
-
261
- ## Additional Information
262
-
263
- ### Dataset Curators
264
-
265
- [Needs More Information]
266
-
267
- ### Licensing Information
268
-
269
- [Needs More Information]
270
-
271
- ### Citation Information
272
-
273
- ```bibtex
274
- @misc{diggelmann2020climatefever,
275
- title={CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claims},
276
- author={Thomas Diggelmann and Jordan Boyd-Graber and Jannis Bulian and Massimiliano Ciaramita and Markus Leippold},
277
- year={2020},
278
- eprint={2012.00614},
279
- archivePrefix={arXiv},
280
- primaryClass={cs.CL}
281
- }
282
- ```
283
-
284
- ### Contributions
285
-
286
- Thanks to [@tdiggelm](https://github.com/tdiggelm) for adding this dataset.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
climate_fever.py DELETED
@@ -1,113 +0,0 @@
1
- # coding=utf-8
2
- # Copyright 2020 The HuggingFace Datasets Authors and the current dataset script contributor.
3
- #
4
- # Licensed under the Apache License, Version 2.0 (the "License");
5
- # you may not use this file except in compliance with the License.
6
- # You may obtain a copy of the License at
7
- #
8
- # http://www.apache.org/licenses/LICENSE-2.0
9
- #
10
- # Unless required by applicable law or agreed to in writing, software
11
- # distributed under the License is distributed on an "AS IS" BASIS,
12
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
- # See the License for the specific language governing permissions and
14
- # limitations under the License.
15
- """A dataset adopting the FEVER methodology that consists of 1,535 real-world claims regarding climate-change collected on the internet."""
16
-
17
-
18
- import json
19
- import os
20
-
21
- import datasets
22
-
23
-
24
- # Find for instance the citation on arxiv or on the dataset repo/website
25
- _CITATION = """\
26
- @misc{diggelmann2020climatefever,
27
- title={CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claims},
28
- author={Thomas Diggelmann and Jordan Boyd-Graber and Jannis Bulian and Massimiliano Ciaramita and Markus Leippold},
29
- year={2020},
30
- eprint={2012.00614},
31
- archivePrefix={arXiv},
32
- primaryClass={cs.CL}
33
- }
34
- """
35
-
36
- # You can copy an official description
37
- _DESCRIPTION = """\
38
- A dataset adopting the FEVER methodology that consists of 1,535 real-world claims regarding climate-change collected on the internet. Each claim is accompanied by five manually annotated evidence sentences retrieved from the English Wikipedia that support, refute or do not give enough information to validate the claim totalling in 7,675 claim-evidence pairs. The dataset features challenging claims that relate multiple facets and disputed cases of claims where both supporting and refuting evidence are present.
39
- """
40
-
41
- # dataset version (corresponds to release on GitHub)
42
- _VERSION = "1.0.1"
43
-
44
- # link to an official homepage
45
- _HOMEPAGE = "http://climatefever.ai"
46
-
47
- # TODO: Add the licence for the dataset here if you can find it
48
- _LICENSE = ""
49
-
50
- # url to dataset release on GitHub
51
- _URL = f"https://github.com/tdiggelm/climate-fever-dataset/archive/{_VERSION}.zip"
52
-
53
-
54
- class ClimateFever(datasets.GeneratorBasedBuilder):
55
- """CLIMATE-FEVER: A dataset adopting the FEVER methodology that consists of 1,535 real-world claims regarding climate-change collected on the internet. Each claim is accompanied by five manually annotated evidence sentences retrieved from the English Wikipedia that support, refute or do not give enough information to validate the claim totalling in 7,675 claim-evidence pairs. The dataset features challenging claims that relate multiple facets and disputed cases of claims where both supporting and refuting evidence are present."""
56
-
57
- VERSION = datasets.Version(_VERSION)
58
-
59
- def _info(self):
60
-
61
- features = datasets.Features(
62
- {
63
- "claim_id": datasets.Value("string"),
64
- "claim": datasets.Value("string"),
65
- "claim_label": datasets.ClassLabel(names=["SUPPORTS", "REFUTES", "NOT_ENOUGH_INFO", "DISPUTED"]),
66
- "evidences": [
67
- {
68
- "evidence_id": datasets.Value("string"),
69
- "evidence_label": datasets.ClassLabel(names=["SUPPORTS", "REFUTES", "NOT_ENOUGH_INFO"]),
70
- "article": datasets.Value("string"),
71
- "evidence": datasets.Value("string"),
72
- "entropy": datasets.Value("float32"),
73
- "votes": [datasets.Value("string")],
74
- },
75
- ],
76
- }
77
- )
78
-
79
- return datasets.DatasetInfo(
80
- # This is the description that will appear on the datasets page.
81
- description=_DESCRIPTION,
82
- # This defines the different columns of the dataset and their types
83
- features=features, # Here we define them above because they are different between the two configurations
84
- # If there's a common (input, target) tuple from the features,
85
- # specify them here. They'll be used if as_supervised=True in
86
- # builder.as_dataset.
87
- supervised_keys=None,
88
- # Homepage of the dataset for documentation
89
- homepage=_HOMEPAGE,
90
- # License for the dataset if available
91
- license=_LICENSE,
92
- # Citation for the dataset
93
- citation=_CITATION,
94
- )
95
-
96
- def _split_generators(self, dl_manager):
97
- """Returns SplitGenerators."""
98
- data_dir = dl_manager.download_and_extract(_URL)
99
- data_dir = os.path.join(data_dir, f"climate-fever-dataset-{_VERSION}", "dataset")
100
- return [
101
- datasets.SplitGenerator(
102
- name=datasets.Split.TEST,
103
- # These kwargs will be passed to _generate_examples
104
- gen_kwargs={"filepath": os.path.join(data_dir, "climate-fever.jsonl"), "split": "test"},
105
- ),
106
- ]
107
-
108
- def _generate_examples(self, filepath, split):
109
- """Yields examples."""
110
- with open(filepath, encoding="utf-8") as f:
111
- for id_, row in enumerate(f):
112
- doc = json.loads(row)
113
- yield id_, doc
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"default": {"description": "A dataset adopting the FEVER methodology that consists of 1,535 real-world claims regarding climate-change collected on the internet. Each claim is accompanied by five manually annotated evidence sentences retrieved from the English Wikipedia that support, refute or do not give enough information to validate the claim totalling in 7,675 claim-evidence pairs. The dataset features challenging claims that relate multiple facets and disputed cases of claims where both supporting and refuting evidence are present.\n", "citation": "@misc{diggelmann2020climatefever,\n title={CLIMATE-FEVER: A Dataset for Verification of Real-World Climate Claims},\n author={Thomas Diggelmann and Jordan Boyd-Graber and Jannis Bulian and Massimiliano Ciaramita and Markus Leippold},\n year={2020},\n eprint={2012.00614},\n archivePrefix={arXiv},\n primaryClass={cs.CL}\n}\n", "homepage": "http://climatefever.ai", "license": "", "features": {"claim_id": {"dtype": "string", "id": null, "_type": "Value"}, "claim": {"dtype": "string", "id": null, "_type": "Value"}, "claim_label": {"num_classes": 4, "names": ["SUPPORTS", "REFUTES", "NOT_ENOUGH_INFO", "DISPUTED"], "names_file": null, "id": null, "_type": "ClassLabel"}, "evidences": [{"evidence_id": {"dtype": "string", "id": null, "_type": "Value"}, "evidence_label": {"num_classes": 3, "names": ["SUPPORTS", "REFUTES", "NOT_ENOUGH_INFO"], "names_file": null, "id": null, "_type": "ClassLabel"}, "article": {"dtype": "string", "id": null, "_type": "Value"}, "evidence": {"dtype": "string", "id": null, "_type": "Value"}, "entropy": {"dtype": "float32", "id": null, "_type": "Value"}, "votes": [{"dtype": "string", "id": null, "_type": "Value"}]}]}, "post_processed": null, "supervised_keys": null, "builder_name": "climate_fever", "config_name": "default", "version": {"version_str": "1.0.1", "description": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"test": {"name": "test", "num_bytes": 2429272, "num_examples": 1535, "dataset_name": "climate_fever"}}, "download_checksums": {"https://github.com/tdiggelm/climate-fever-dataset/archive/1.0.1.zip": {"num_bytes": 687133, "checksum": "ee059c9fb35d25ca03505e9ba476a9f511a1345f52c3b2d8d1851edd6b90c38e"}}, "download_size": 687133, "post_processing_size": null, "dataset_size": 2429272, "size_in_bytes": 3116405}}
 
 
default/climate_fever-test.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ec601950813385ca8cb3e67956d7470317376e7adcab76a46ee415740b24d22b
3
+ size 868946