Datasets:

Languages:
English
ArXiv:
License:
albertvillanova HF staff commited on
Commit
945ea8b
1 Parent(s): 906f526

Replace data URL in SAMSum dataset within the same repository (#4267)

Browse files

* Replace data URL within the same repository

* Update metadata JSON

Commit from https://github.com/huggingface/datasets/commit/fe6476a08ad1890d166ae7a60103677c2ea357f9

Files changed (2) hide show
  1. dataset_infos.json +1 -1
  2. samsum.py +1 -1
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"samsum": {"description": "\nSAMSum Corpus contains over 16k chat dialogues with manually annotated\nsummaries.\nThere are two features:\n - dialogue: text of dialogue.\n - summary: human written summary of the dialogue.\n - id: id of a example.\n", "citation": "\n@article{gliwa2019samsum,\n title={SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarization},\n author={Gliwa, Bogdan and Mochol, Iwona and Biesek, Maciej and Wawer, Aleksander},\n journal={arXiv preprint arXiv:1911.12237},\n year={2019}\n}\n", "homepage": "https://arxiv.org/abs/1911.12237", "license": "CC BY-NC-ND 4.0", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "dialogue": {"dtype": "string", "id": null, "_type": "Value"}, "summary": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "samsum", "config_name": "samsum", "version": "0.0.0", "splits": {"train": {"name": "train", "num_bytes": 9479141, "num_examples": 14732, "dataset_name": "samsum"}, "test": {"name": "test", "num_bytes": 534492, "num_examples": 819, "dataset_name": "samsum"}, "validation": {"name": "validation", "num_bytes": 516431, "num_examples": 818, "dataset_name": "samsum"}}, "download_checksums": {"https://huggingface.co/datasets/datafiles/samsum/resolve/main/corpus.7z": {"num_bytes": 2944100, "checksum": "a97674c66726f66b98a08ca5e8868fb8af9d4843f2b05c4f839bc5cfe91e8899"}}, "download_size": 2944100, "post_processing_size": null, "dataset_size": 10530064, "size_in_bytes": 13474164}}
 
1
+ {"samsum": {"description": "\nSAMSum Corpus contains over 16k chat dialogues with manually annotated\nsummaries.\nThere are two features:\n - dialogue: text of dialogue.\n - summary: human written summary of the dialogue.\n - id: id of a example.\n", "citation": "\n@article{gliwa2019samsum,\n title={SAMSum Corpus: A Human-annotated Dialogue Dataset for Abstractive Summarization},\n author={Gliwa, Bogdan and Mochol, Iwona and Biesek, Maciej and Wawer, Aleksander},\n journal={arXiv preprint arXiv:1911.12237},\n year={2019}\n}\n", "homepage": "https://arxiv.org/abs/1911.12237", "license": "CC BY-NC-ND 4.0", "features": {"id": {"dtype": "string", "id": null, "_type": "Value"}, "dialogue": {"dtype": "string", "id": null, "_type": "Value"}, "summary": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "samsum", "config_name": "samsum", "version": "0.0.0", "splits": {"train": {"name": "train", "num_bytes": 9479141, "num_examples": 14732, "dataset_name": "samsum"}, "test": {"name": "test", "num_bytes": 534492, "num_examples": 819, "dataset_name": "samsum"}, "validation": {"name": "validation", "num_bytes": 516431, "num_examples": 818, "dataset_name": "samsum"}}, "download_checksums": {"https://huggingface.co/datasets/samsum/resolve/main/data/corpus.7z": {"num_bytes": 2944100, "checksum": "a97674c66726f66b98a08ca5e8868fb8af9d4843f2b05c4f839bc5cfe91e8899"}}, "download_size": 2944100, "post_processing_size": null, "dataset_size": 10530064, "size_in_bytes": 13474164}}
samsum.py CHANGED
@@ -44,7 +44,7 @@ _HOMEPAGE = "https://arxiv.org/abs/1911.12237"
44
 
45
  _LICENSE = "CC BY-NC-ND 4.0"
46
 
47
- _URL = "https://huggingface.co/datasets/datafiles/samsum/resolve/main/corpus.7z"
48
 
49
 
50
  class Samsum(datasets.GeneratorBasedBuilder):
 
44
 
45
  _LICENSE = "CC BY-NC-ND 4.0"
46
 
47
+ _URL = "https://huggingface.co/datasets/samsum/resolve/main/data/corpus.7z"
48
 
49
 
50
  class Samsum(datasets.GeneratorBasedBuilder):