Update files from the datasets library (from 1.15.0)
Browse filesRelease notes: https://github.com/huggingface/datasets/releases/tag/1.15.0
- README.md +1 -0
- dataset_infos.json +1 -1
- hlgd.py +1 -1
README.md
CHANGED
@@ -17,6 +17,7 @@ task_ids:
|
|
17 |
- text-classification-other-headline-grouping
|
18 |
size_categories:
|
19 |
- 10K<n<100K
|
|
|
20 |
---
|
21 |
|
22 |
# Dataset Card for Headline Grouping (HLGD)
|
|
|
17 |
- text-classification-other-headline-grouping
|
18 |
size_categories:
|
19 |
- 10K<n<100K
|
20 |
+
pretty_name: Headline Grouping (HLGD)
|
21 |
---
|
22 |
|
23 |
# Dataset Card for Headline Grouping (HLGD)
|
dataset_infos.json
CHANGED
@@ -1 +1 @@
|
|
1 |
-
{"default": {"description": "HLGD is a binary classification dataset consisting of 20,056 labeled news headlines pairs indicating\nwhether the two headlines describe the same underlying world event or not.\n", "citation": "@inproceedings{Laban2021NewsHG,\n title={News Headline Grouping as a Challenging NLU Task},\n author={Philippe Laban and Lucas Bandarkar},\n booktitle={NAACL 2021},\n publisher = {Association for Computational Linguistics},\n year={2021}\n}\n", "homepage": "https://github.com/tingofurro/headline_grouping", "license": "Apache-2.0 License", "features": {"timeline_id": {"num_classes": 10, "names": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "names_file": null, "id": null, "_type": "ClassLabel"}, "headline_a": {"dtype": "string", "id": null, "_type": "Value"}, "headline_b": {"dtype": "string", "id": null, "_type": "Value"}, "date_a": {"dtype": "string", "id": null, "_type": "Value"}, "date_b": {"dtype": "string", "id": null, "_type": "Value"}, "url_a": {"dtype": "string", "id": null, "_type": "Value"}, "url_b": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["
|
|
|
1 |
+
{"default": {"description": "HLGD is a binary classification dataset consisting of 20,056 labeled news headlines pairs indicating\nwhether the two headlines describe the same underlying world event or not.\n", "citation": "@inproceedings{Laban2021NewsHG,\n title={News Headline Grouping as a Challenging NLU Task},\n author={Philippe Laban and Lucas Bandarkar},\n booktitle={NAACL 2021},\n publisher = {Association for Computational Linguistics},\n year={2021}\n}\n", "homepage": "https://github.com/tingofurro/headline_grouping", "license": "Apache-2.0 License", "features": {"timeline_id": {"num_classes": 10, "names": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], "names_file": null, "id": null, "_type": "ClassLabel"}, "headline_a": {"dtype": "string", "id": null, "_type": "Value"}, "headline_b": {"dtype": "string", "id": null, "_type": "Value"}, "date_a": {"dtype": "string", "id": null, "_type": "Value"}, "date_b": {"dtype": "string", "id": null, "_type": "Value"}, "url_a": {"dtype": "string", "id": null, "_type": "Value"}, "url_b": {"dtype": "string", "id": null, "_type": "Value"}, "label": {"num_classes": 2, "names": ["same_event", "different_event"], "names_file": null, "id": null, "_type": "ClassLabel"}}, "post_processed": null, "supervised_keys": null, "builder_name": "hlgd", "config_name": "default", "version": {"version_str": "1.1.0", "description": null, "major": 1, "minor": 1, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 6447212, "num_examples": 15492, "dataset_name": "hlgd"}, "test": {"name": "test", "num_bytes": 941145, "num_examples": 2495, "dataset_name": "hlgd"}, "validation": {"name": "validation", "num_bytes": 798302, "num_examples": 2069, "dataset_name": "hlgd"}}, "download_checksums": {"https://github.com/tingofurro/headline_grouping/releases/download/0.1/hlgd_classification_0.1.zip": {"num_bytes": 1858948, "checksum": "8192c72e28766debf548f0ba1f0b5c3d592cf7097af26a5d67b172c908614601"}}, "download_size": 1858948, "post_processing_size": null, "dataset_size": 8186659, "size_in_bytes": 10045607}}
|
hlgd.py
CHANGED
@@ -58,7 +58,7 @@ class HLGD(datasets.GeneratorBasedBuilder):
|
|
58 |
"date_b": datasets.Value("string"),
|
59 |
"url_a": datasets.Value("string"),
|
60 |
"url_b": datasets.Value("string"),
|
61 |
-
"label": datasets.features.ClassLabel(names=["
|
62 |
}
|
63 |
)
|
64 |
|
|
|
58 |
"date_b": datasets.Value("string"),
|
59 |
"url_a": datasets.Value("string"),
|
60 |
"url_b": datasets.Value("string"),
|
61 |
+
"label": datasets.features.ClassLabel(names=["same_event", "different_event"]),
|
62 |
}
|
63 |
)
|
64 |
|