albertvillanova HF staff commited on
Commit
c315cc4
1 Parent(s): 921e4b3

Host data files (#5)

Browse files

- Host data files (82d5bd2a19ef889279cccb1a5bb24f0a2f9a4c3e)
- Update loading script (0b450001caccf2e4254452e18f66e17f84157661)
- Update citation, paper and data metadata (6a87266e459a12f7e5ce65b0d9b945f5abfcf04e)
- Delete legacy metadata JSON file (79efa10e3d01650339c31df002c98ae87b98333e)

README.md CHANGED
@@ -101,7 +101,8 @@ dataset_info:
101
 
102
  - **Homepage:** [https://pan.webis.de/semeval19/semeval19-web/](https://pan.webis.de/semeval19/semeval19-web/)
103
  - **Repository:** https://github.com/pan-webis-de/pan-code/tree/master/semeval19
104
- - **Paper:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
105
  - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
106
  - **Size of downloaded dataset files:** 1.00 GB
107
  - **Size of the generated dataset:** 5.61 GB
@@ -257,10 +258,25 @@ The collection (including labels) are licensed under a [Creative Commons Attribu
257
  ### Citation Information
258
 
259
  ```
260
- @article{kiesel2019data,
261
- title={Data for pan at semeval 2019 task 4: Hyperpartisan news detection},
262
- author={Kiesel, Johannes and Mestre, Maria and Shukla, Rishabh and Vincent, Emmanuel and Corney, David and Adineh, Payam and Stein, Benno and Potthast, Martin},
263
- year={2019}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
264
  }
265
  ```
266
 
 
101
 
102
  - **Homepage:** [https://pan.webis.de/semeval19/semeval19-web/](https://pan.webis.de/semeval19/semeval19-web/)
103
  - **Repository:** https://github.com/pan-webis-de/pan-code/tree/master/semeval19
104
+ - **Paper:** https://aclanthology.org/S19-2145
105
+ - **Data:** https://doi.org/10.5281/zenodo.1489920
106
  - **Point of Contact:** [More Information Needed](https://github.com/huggingface/datasets/blob/master/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
107
  - **Size of downloaded dataset files:** 1.00 GB
108
  - **Size of the generated dataset:** 5.61 GB
 
258
  ### Citation Information
259
 
260
  ```
261
+ @inproceedings{kiesel-etal-2019-semeval,
262
+ title = "{S}em{E}val-2019 Task 4: Hyperpartisan News Detection",
263
+ author = "Kiesel, Johannes and
264
+ Mestre, Maria and
265
+ Shukla, Rishabh and
266
+ Vincent, Emmanuel and
267
+ Adineh, Payam and
268
+ Corney, David and
269
+ Stein, Benno and
270
+ Potthast, Martin",
271
+ booktitle = "Proceedings of the 13th International Workshop on Semantic Evaluation",
272
+ month = jun,
273
+ year = "2019",
274
+ address = "Minneapolis, Minnesota, USA",
275
+ publisher = "Association for Computational Linguistics",
276
+ url = "https://aclanthology.org/S19-2145",
277
+ doi = "10.18653/v1/S19-2145",
278
+ pages = "829--839",
279
+ abstract = "Hyperpartisan news is news that takes an extreme left-wing or right-wing standpoint. If one is able to reliably compute this meta information, news articles may be automatically tagged, this way encouraging or discouraging readers to consume the text. It is an open question how successfully hyperpartisan news detection can be automated, and the goal of this SemEval task was to shed light on the state of the art. We developed new resources for this purpose, including a manually labeled dataset with 1,273 articles, and a second dataset with 754,000 articles, labeled via distant supervision. The interest of the research community in our task exceeded all our expectations: The datasets were downloaded about 1,000 times, 322 teams registered, of which 184 configured a virtual machine on our shared task cloud service TIRA, of which in turn 42 teams submitted a valid run. The best team achieved an accuracy of 0.822 on a balanced sample (yes : no hyperpartisan) drawn from the manually tagged corpus; an ensemble of the submitted systems increased the accuracy by 0.048.",
280
  }
281
  ```
282
 
data/articles-training-byarticle-20181122.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:62b4a71275ef2724faddc74d6ff3d782ee9898c732cd66119c7976f6f5168990
3
+ size 971841
data/articles-training-bypublisher-20181122.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5816b0c9fecd1a38f6cba8eb4f6f77d04637b5c6209e714b7ab32dc3bc24e28
3
+ size 980769009
data/articles-validation-bypublisher-20181122.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dd1cd3d7f34d7f35564ba2b7002cad796877507bec503cc1dd02076dc289ae34
3
+ size 337386275
data/ground-truth-training-byarticle-20181122.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0c02f4c33317287758e6fbbc976cbfd7a0978923899ddf30cb9dd2cd740af43c
3
+ size 28511
data/ground-truth-training-bypublisher-20181122.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f1c0494af86ff1e961479a63d432d649ccda875d302888f4d080dbec0382b1ef
3
+ size 22426411
data/ground-truth-validation-bypublisher-20181122.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:23f7cd8b410a91193e2b6548ba274d7da1061ea7c86083e9b5ced4cac9bb34e7
3
+ size 5239324
dataset_infos.json DELETED
@@ -1 +0,0 @@
1
- {"byarticle": {"description": "Hyperpartisan News Detection was a dataset created for PAN @ SemEval 2019 Task 4.\nGiven a news article text, decide whether it follows a hyperpartisan argumentation, i.e., whether it exhibits blind, prejudiced, or unreasoning allegiance to one party, faction, cause, or person.\n\nThere are 2 parts:\n- byarticle: Labeled through crowdsourcing on an article basis. The data contains only articles for which a consensus among the crowdsourcing workers existed.\n- bypublisher: Labeled by the overall bias of the publisher as provided by BuzzFeed journalists or MediaBiasFactCheck.com.\n", "citation": "@article{kiesel2019data,\n title={Data for pan at semeval 2019 task 4: Hyperpartisan news detection},\n author={Kiesel, Johannes and Mestre, Maria and Shukla, Rishabh and Vincent, Emmanuel and Corney, David and Adineh, Payam and Stein, Benno and Potthast, Martin},\n year={2019}\n}\n", "homepage": "https://pan.webis.de/semeval19/semeval19-web/", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}, "hyperpartisan": {"dtype": "bool", "id": null, "_type": "Value"}, "url": {"dtype": "string", "id": null, "_type": "Value"}, "published_at": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": {"features": null, "resources_checksums": {"train": {}}}, "supervised_keys": {"input": "text", "output": "label"}, "builder_name": "hyperpartisan_news_detection", "config_name": "byarticle", "version": {"version_str": "1.0.0", "description": "Version Training and validation v1", "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 2803943, "num_examples": 645, "dataset_name": "hyperpartisan_news_detection"}}, "download_checksums": {"https://zenodo.org/record/1489920/files/articles-training-byarticle-20181122.zip?download=1": {"num_bytes": 971841, "checksum": "62b4a71275ef2724faddc74d6ff3d782ee9898c732cd66119c7976f6f5168990"}, "https://zenodo.org/record/1489920/files/ground-truth-training-byarticle-20181122.zip?download=1": {"num_bytes": 28511, "checksum": "0c02f4c33317287758e6fbbc976cbfd7a0978923899ddf30cb9dd2cd740af43c"}}, "download_size": 1000352, "post_processing_size": 0, "dataset_size": 2803943, "size_in_bytes": 3804295}, "bypublisher": {"description": "Hyperpartisan News Detection was a dataset created for PAN @ SemEval 2019 Task 4.\nGiven a news article text, decide whether it follows a hyperpartisan argumentation, i.e., whether it exhibits blind, prejudiced, or unreasoning allegiance to one party, faction, cause, or person.\n\nThere are 2 parts:\n- byarticle: Labeled through crowdsourcing on an article basis. The data contains only articles for which a consensus among the crowdsourcing workers existed.\n- bypublisher: Labeled by the overall bias of the publisher as provided by BuzzFeed journalists or MediaBiasFactCheck.com.\n", "citation": "@article{kiesel2019data,\n title={Data for pan at semeval 2019 task 4: Hyperpartisan news detection},\n author={Kiesel, Johannes and Mestre, Maria and Shukla, Rishabh and Vincent, Emmanuel and Corney, David and Adineh, Payam and Stein, Benno and Potthast, Martin},\n year={2019}\n}\n", "homepage": "https://pan.webis.de/semeval19/semeval19-web/", "license": "", "features": {"text": {"dtype": "string", "id": null, "_type": "Value"}, "title": {"dtype": "string", "id": null, "_type": "Value"}, "hyperpartisan": {"dtype": "bool", "id": null, "_type": "Value"}, "url": {"dtype": "string", "id": null, "_type": "Value"}, "published_at": {"dtype": "string", "id": null, "_type": "Value"}, "bias": {"num_classes": 5, "names": ["right", "right-center", "least", "left-center", "left"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": {"features": null, "resources_checksums": {"train": {}, "validation": {}}}, "supervised_keys": {"input": "text", "output": "label"}, "builder_name": "hyperpartisan_news_detection", "config_name": "bypublisher", "version": {"version_str": "1.0.1", "description": "Version Training and validation v1", "datasets_version_to_prepare": null, "major": 1, "minor": 0, "patch": 1}, "splits": {"train": {"name": "train", "num_bytes": 2805711609, "num_examples": 600000, "dataset_name": "hyperpartisan_news_detection"}, "validation": {"name": "validation", "num_bytes": 960356598, "num_examples": 150000, "dataset_name": "hyperpartisan_news_detection"}}, "download_checksums": {"https://zenodo.org/record/1489920/files/articles-training-bypublisher-20181122.zip?download=1": {"num_bytes": 980769009, "checksum": "e5816b0c9fecd1a38f6cba8eb4f6f77d04637b5c6209e714b7ab32dc3bc24e28"}, "https://zenodo.org/record/1489920/files/ground-truth-training-bypublisher-20181122.zip?download=1": {"num_bytes": 22426411, "checksum": "f1c0494af86ff1e961479a63d432d649ccda875d302888f4d080dbec0382b1ef"}, "https://zenodo.org/record/1489920/files/articles-validation-bypublisher-20181122.zip?download=1": {"num_bytes": 337386275, "checksum": "dd1cd3d7f34d7f35564ba2b7002cad796877507bec503cc1dd02076dc289ae34"}, "https://zenodo.org/record/1489920/files/ground-truth-validation-bypublisher-20181122.zip?download=1": {"num_bytes": 5239324, "checksum": "23f7cd8b410a91193e2b6548ba274d7da1061ea7c86083e9b5ced4cac9bb34e7"}}, "download_size": 1345821019, "post_processing_size": 0, "dataset_size": 3766068207, "size_in_bytes": 6614618638}}
 
 
hyperpartisan_news_detection.py CHANGED
@@ -25,10 +25,25 @@ import datasets
25
 
26
 
27
  _CITATION = """\
28
- @article{kiesel2019data,
29
- title={Data for pan at semeval 2019 task 4: Hyperpartisan news detection},
30
- author={Kiesel, Johannes and Mestre, Maria and Shukla, Rishabh and Vincent, Emmanuel and Corney, David and Adineh, Payam and Stein, Benno and Potthast, Martin},
31
- year={2019}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
32
  }
33
  """
34
 
@@ -40,7 +55,7 @@ There are 2 parts:
40
  - byarticle: Labeled through crowdsourcing on an article basis. The data contains only articles for which a consensus among the crowdsourcing workers existed.
41
  - bypublisher: Labeled by the overall bias of the publisher as provided by BuzzFeed journalists or MediaBiasFactCheck.com.
42
  """
43
- _URL_BASE = "https://zenodo.org/record/1489920/files/"
44
 
45
 
46
  class HyperpartisanNewsDetection(datasets.GeneratorBasedBuilder):
@@ -101,14 +116,14 @@ class HyperpartisanNewsDetection(datasets.GeneratorBasedBuilder):
101
  """Returns SplitGenerators."""
102
  urls = {
103
  datasets.Split.TRAIN: {
104
- "articles_file": _URL_BASE + "articles-training-" + self.config.name + "-20181122.zip?download=1",
105
- "labels_file": _URL_BASE + "ground-truth-training-" + self.config.name + "-20181122.zip?download=1",
106
  },
107
  }
108
  if self.config.name == "bypublisher":
109
  urls[datasets.Split.VALIDATION] = {
110
- "articles_file": _URL_BASE + "articles-validation-" + self.config.name + "-20181122.zip?download=1",
111
- "labels_file": _URL_BASE + "ground-truth-validation-" + self.config.name + "-20181122.zip?download=1",
112
  }
113
 
114
  data_dir = {}
 
25
 
26
 
27
  _CITATION = """\
28
+ @inproceedings{kiesel-etal-2019-semeval,
29
+ title = "{S}em{E}val-2019 Task 4: Hyperpartisan News Detection",
30
+ author = "Kiesel, Johannes and
31
+ Mestre, Maria and
32
+ Shukla, Rishabh and
33
+ Vincent, Emmanuel and
34
+ Adineh, Payam and
35
+ Corney, David and
36
+ Stein, Benno and
37
+ Potthast, Martin",
38
+ booktitle = "Proceedings of the 13th International Workshop on Semantic Evaluation",
39
+ month = jun,
40
+ year = "2019",
41
+ address = "Minneapolis, Minnesota, USA",
42
+ publisher = "Association for Computational Linguistics",
43
+ url = "https://aclanthology.org/S19-2145",
44
+ doi = "10.18653/v1/S19-2145",
45
+ pages = "829--839",
46
+ abstract = "Hyperpartisan news is news that takes an extreme left-wing or right-wing standpoint. If one is able to reliably compute this meta information, news articles may be automatically tagged, this way encouraging or discouraging readers to consume the text. It is an open question how successfully hyperpartisan news detection can be automated, and the goal of this SemEval task was to shed light on the state of the art. We developed new resources for this purpose, including a manually labeled dataset with 1,273 articles, and a second dataset with 754,000 articles, labeled via distant supervision. The interest of the research community in our task exceeded all our expectations: The datasets were downloaded about 1,000 times, 322 teams registered, of which 184 configured a virtual machine on our shared task cloud service TIRA, of which in turn 42 teams submitted a valid run. The best team achieved an accuracy of 0.822 on a balanced sample (yes : no hyperpartisan) drawn from the manually tagged corpus; an ensemble of the submitted systems increased the accuracy by 0.048.",
47
  }
48
  """
49
 
 
55
  - byarticle: Labeled through crowdsourcing on an article basis. The data contains only articles for which a consensus among the crowdsourcing workers existed.
56
  - bypublisher: Labeled by the overall bias of the publisher as provided by BuzzFeed journalists or MediaBiasFactCheck.com.
57
  """
58
+ _URL_BASE = "data/"
59
 
60
 
61
  class HyperpartisanNewsDetection(datasets.GeneratorBasedBuilder):
 
116
  """Returns SplitGenerators."""
117
  urls = {
118
  datasets.Split.TRAIN: {
119
+ "articles_file": _URL_BASE + "articles-training-" + self.config.name + "-20181122.zip",
120
+ "labels_file": _URL_BASE + "ground-truth-training-" + self.config.name + "-20181122.zip",
121
  },
122
  }
123
  if self.config.name == "bypublisher":
124
  urls[datasets.Split.VALIDATION] = {
125
+ "articles_file": _URL_BASE + "articles-validation-" + self.config.name + "-20181122.zip",
126
+ "labels_file": _URL_BASE + "ground-truth-validation-" + self.config.name + "-20181122.zip",
127
  }
128
 
129
  data_dir = {}