Datasets:

Languages:
English
ArXiv:
License:
system HF staff commited on
Commit
2e57021
1 Parent(s): 93f534d

Update files from the datasets library (from 1.12.0)

Browse files

Release notes: https://github.com/huggingface/datasets/releases/tag/1.12.0

Files changed (3) hide show
  1. README.md +44 -23
  2. dataset_infos.json +1 -1
  3. totto.py +1 -1
README.md CHANGED
@@ -18,9 +18,10 @@ task_categories:
18
  task_ids:
19
  - table-to-text
20
  paperswithcode_id: totto
 
21
  ---
22
 
23
- # Dataset Card Creation Guide
24
 
25
  ## Table of Contents
26
  - [Dataset Description](#dataset-description)
@@ -56,7 +57,8 @@ paperswithcode_id: totto
56
 
57
  ### Dataset Summary
58
 
59
- [More Information Needed]
 
60
 
61
  ### Supported Tasks and Leaderboards
62
 
@@ -70,25 +72,6 @@ paperswithcode_id: totto
70
 
71
  ### Data Instances
72
 
73
- ```
74
- DatasetDict({
75
- train: Dataset({
76
- features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'],
77
- num_rows: 120761
78
- })
79
- validation: Dataset({
80
- features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'],
81
- num_rows: 7700
82
- })
83
- test: Dataset({
84
- features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'],
85
- num_rows: 7700
86
- })
87
- })
88
- ```
89
-
90
- ### Data Fields
91
-
92
  A sample training set is provided below
93
 
94
  ```
@@ -385,9 +368,40 @@ A sample training set is provided below
385
 
386
  Please note that in test set sentence annotations are not available and thus values inside `sentence_annotations` can be safely ignored.
387
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
388
  ### Data Splits
389
 
390
- [More Information Needed]
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  ## Dataset Creation
392
 
393
  ### Curation Rationale
@@ -448,7 +462,14 @@ Please note that in test set sentence annotations are not available and thus val
448
 
449
  ### Citation Information
450
 
451
- [More Information Needed]
 
 
 
 
 
 
 
452
 
453
  ### Contributions
454
 
 
18
  task_ids:
19
  - table-to-text
20
  paperswithcode_id: totto
21
+ pretty_name: ToTTo
22
  ---
23
 
24
+ # Dataset Card for ToTTo
25
 
26
  ## Table of Contents
27
  - [Dataset Description](#dataset-description)
 
57
 
58
  ### Dataset Summary
59
 
60
+ ToTTo is an open-domain English table-to-text dataset with over 120,000 training examples that proposes a controlled
61
+ generation task: given a Wikipedia table and a set of highlighted table cells, produce a one-sentence description.
62
 
63
  ### Supported Tasks and Leaderboards
64
 
 
72
 
73
  ### Data Instances
74
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  A sample training set is provided below
76
 
77
  ```
 
368
 
369
  Please note that in test set sentence annotations are not available and thus values inside `sentence_annotations` can be safely ignored.
370
 
371
+ ### Data Fields
372
+
373
+ - `table_webpage_url` (`str`): Table webpage URL.
374
+ - `table_page_title` (`str`): Table metadata with context about the table.
375
+ - `table_section_title` (`str`): Table metadata with context about the table.
376
+ - `table_section_text` (`str`): Table metadata with context about the table.
377
+ - `table` (`List[List[Dict]]`): The outer lists represents rows and the inner lists columns. Each Dict has the fields:
378
+ - `column_span` (`int`)
379
+ - `is_header` (`bool`)
380
+ - `row_span` (`int`)
381
+ - `value` (`str`)
382
+ - `highlighted_cells` (`List[[row_index, column_index]]`): Where each `[row_index, column_index]` pair indicates that `table[row_index][column_index]` is highlighted.
383
+ - `example_id` (`int`): A unique id for this example.
384
+ - `sentence_annotations`: Consists of the `original_sentence` and the sequence of revised sentences performed in order to produce the `final_sentence`.
385
+
386
  ### Data Splits
387
 
388
+ ```
389
+ DatasetDict({
390
+ train: Dataset({
391
+ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'],
392
+ num_rows: 120761
393
+ })
394
+ validation: Dataset({
395
+ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'],
396
+ num_rows: 7700
397
+ })
398
+ test: Dataset({
399
+ features: ['id', 'table_page_title', 'table_webpage_url', 'table_section_title', 'table_section_text', 'table', 'highlighted_cells', 'example_id', 'sentence_annotations', 'overlap_subset'],
400
+ num_rows: 7700
401
+ })
402
+ })
403
+ ```
404
+
405
  ## Dataset Creation
406
 
407
  ### Curation Rationale
 
462
 
463
  ### Citation Information
464
 
465
+ ```
466
+ @inproceedings{parikh2020totto,
467
+ title={{ToTTo}: A Controlled Table-To-Text Generation Dataset},
468
+ author={Parikh, Ankur P and Wang, Xuezhi and Gehrmann, Sebastian and Faruqui, Manaal and Dhingra, Bhuwan and Yang, Diyi and Das, Dipanjan},
469
+ booktitle={Proceedings of EMNLP},
470
+ year={2020}
471
+ }
472
+ ```
473
 
474
  ### Contributions
475
 
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"default": {"description": "ToTTo is an open-domain English table-to-text dataset with over 120,000 training examples that proposes a controlled generation task: given a Wikipedia table and a set of highlighted table cells, produce a one-sentence description.\n", "citation": "@inproceedings{parikh2020totto,\n title={{ToTTo}: A Controlled Table-To-Text Generation Dataset},\n author={Parikh, Ankur P and Wang, Xuezhi and Gehrmann, Sebastian and Faruqui, Manaal and Dhingra, Bhuwan and Yang, Diyi and Das, Dipanjan},\n booktitle={Proceedings of EMNLP},\n year={2020}\n }\n", "homepage": "", "license": "", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "table_page_title": {"dtype": "string", "id": null, "_type": "Value"}, "table_webpage_url": {"dtype": "string", "id": null, "_type": "Value"}, "table_section_title": {"dtype": "string", "id": null, "_type": "Value"}, "table_section_text": {"dtype": "string", "id": null, "_type": "Value"}, "table": [[{"column_span": {"dtype": "int32", "id": null, "_type": "Value"}, "is_header": {"dtype": "bool", "id": null, "_type": "Value"}, "row_span": {"dtype": "int32", "id": null, "_type": "Value"}, "value": {"dtype": "string", "id": null, "_type": "Value"}}]], "highlighted_cells": {"feature": {"feature": {"dtype": "int32", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "length": -1, "id": null, "_type": "Sequence"}, "example_id": {"dtype": "string", "id": null, "_type": "Value"}, "sentence_annotations": {"feature": {"original_sentence": {"dtype": "string", "id": null, "_type": "Value"}, "sentence_after_deletion": {"dtype": "string", "id": null, "_type": "Value"}, "sentence_after_ambiguity": {"dtype": "string", "id": null, "_type": "Value"}, "final_sentence": {"dtype": "string", "id": null, "_type": "Value"}}, "length": -1, "id": null, "_type": "Sequence"}, "overlap_subset": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "builder_name": "totto", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 652754806, "num_examples": 120761, "dataset_name": "totto"}, "validation": {"name": "validation", "num_bytes": 47277039, "num_examples": 7700, "dataset_name": "totto"}, "test": {"name": "test", "num_bytes": 40883586, "num_examples": 7700, "dataset_name": "totto"}}, "download_checksums": {"https://storage.googleapis.com/totto/totto_data.zip": {"num_bytes": 187724372, "checksum": "0aab72597057394514fd9659745fd2b318d1a64bf0b2ca1b2c339abe0692fdf2"}}, "download_size": 187724372, "post_processing_size": null, "dataset_size": 740915431, "size_in_bytes": 928639803}}
 
1
+ {"default": {"description": "ToTTo is an open-domain English table-to-text dataset with over 120,000 training examples that proposes a controlled generation task: given a Wikipedia table and a set of highlighted table cells, produce a one-sentence description.\n", "citation": "@inproceedings{parikh2020totto,\n title={{ToTTo}: A Controlled Table-To-Text Generation Dataset},\n author={Parikh, Ankur P and Wang, Xuezhi and Gehrmann, Sebastian and Faruqui, Manaal and Dhingra, Bhuwan and Yang, Diyi and Das, Dipanjan},\n booktitle={Proceedings of EMNLP},\n year={2020}\n }\n", "homepage": "", "license": "", "features": {"id": {"dtype": "int32", "id": null, "_type": "Value"}, "table_page_title": {"dtype": "string", "id": null, "_type": "Value"}, "table_webpage_url": {"dtype": "string", "id": null, "_type": "Value"}, "table_section_title": {"dtype": "string", "id": null, "_type": "Value"}, "table_section_text": {"dtype": "string", "id": null, "_type": "Value"}, "table": [[{"column_span": {"dtype": "int32", "id": null, "_type": "Value"}, "is_header": {"dtype": "bool", "id": null, "_type": "Value"}, "row_span": {"dtype": "int32", "id": null, "_type": "Value"}, "value": {"dtype": "string", "id": null, "_type": "Value"}}]], "highlighted_cells": {"feature": {"feature": {"dtype": "int32", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}, "length": -1, "id": null, "_type": "Sequence"}, "example_id": {"dtype": "string", "id": null, "_type": "Value"}, "sentence_annotations": {"feature": {"original_sentence": {"dtype": "string", "id": null, "_type": "Value"}, "sentence_after_deletion": {"dtype": "string", "id": null, "_type": "Value"}, "sentence_after_ambiguity": {"dtype": "string", "id": null, "_type": "Value"}, "final_sentence": {"dtype": "string", "id": null, "_type": "Value"}}, "length": -1, "id": null, "_type": "Sequence"}, "overlap_subset": {"dtype": "string", "id": null, "_type": "Value"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "totto", "config_name": "default", "version": {"version_str": "1.0.0", "description": null, "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 652754806, "num_examples": 120761, "dataset_name": "totto"}, "validation": {"name": "validation", "num_bytes": 47277039, "num_examples": 7700, "dataset_name": "totto"}, "test": {"name": "test", "num_bytes": 40883586, "num_examples": 7700, "dataset_name": "totto"}}, "download_checksums": {"https://storage.googleapis.com/totto-public/totto_data.zip": {"num_bytes": 187724372, "checksum": "0aab72597057394514fd9659745fd2b318d1a64bf0b2ca1b2c339abe0692fdf2"}}, "download_size": 187724372, "post_processing_size": null, "dataset_size": 740915431, "size_in_bytes": 928639803}}
totto.py CHANGED
@@ -24,7 +24,7 @@ _DESCRIPTION = """\
24
  ToTTo is an open-domain English table-to-text dataset with over 120,000 training examples that proposes a controlled generation task: given a Wikipedia table and a set of highlighted table cells, produce a one-sentence description.
25
  """
26
  _HOMEPAGE_URL = ""
27
- _URL = "https://storage.googleapis.com/totto/totto_data.zip"
28
  _CITATION = """\
29
  @inproceedings{parikh2020totto,
30
  title={{ToTTo}: A Controlled Table-To-Text Generation Dataset},
 
24
  ToTTo is an open-domain English table-to-text dataset with over 120,000 training examples that proposes a controlled generation task: given a Wikipedia table and a set of highlighted table cells, produce a one-sentence description.
25
  """
26
  _HOMEPAGE_URL = ""
27
+ _URL = "https://storage.googleapis.com/totto-public/totto_data.zip"
28
  _CITATION = """\
29
  @inproceedings{parikh2020totto,
30
  title={{ToTTo}: A Controlled Table-To-Text Generation Dataset},