Datasets:

Modalities:
Text
Formats:
parquet
ArXiv:
Libraries:
Datasets
Dask
wiki_bio / README.md
amirali1985's picture
Update README.md
c5f91f5 verified
metadata
dataset_info:
  features:
    - name: input_text
      struct:
        - name: table
          sequence:
            - name: column_header
              dtype: string
            - name: row_number
              dtype: int16
            - name: content
              dtype: string
        - name: context
          dtype: string
    - name: target_text
      dtype: string
  splits:
    - name: train
      num_bytes: 618360823
      num_examples: 582659
    - name: test
      num_bytes: 77151100
      num_examples: 72831
    - name: val
      num_bytes: 77221306
      num_examples: 72831
  download_size: 411803739
  dataset_size: 772733229
configs:
  - config_name: default
    data_files:
      - split: train
        path: data/train-*
      - split: test
        path: data/test-*
      - split: val
        path: data/val-*

Table of Contents

Dataset Description

We create this dataset as a mirror of the original huggingface dataset, since this contains remote code which is no longer supported by latest versions of the datasets library.

Dataset Summary

This Dataset contains 728321 biographies extracted from Wikipedia containing the first paragraph of the biography and the tabular infobox.

Supported Tasks and Leaderboards

The main purpose of this dataset is developing text generation models.

Languages

English.

Data Fields

The structure of a single sample is the following:

{
   "input_text":{
      "context":"pope michael iii of alexandria\n",
      "table":{
         "column_header":[
            "type",
            "ended",
            "death_date",
            "title",
            "enthroned",
            "name",
            "buried",
            "religion",
            "predecessor",
            "nationality",
            "article_title",
            "feast_day",
            "birth_place",
            "residence",
            "successor"
         ],
         "content":[
            "pope",
            "16 march 907",
            "16 march 907",
            "56th of st. mark pope of alexandria & patriarch of the see",
            "25 april 880",
            "michael iii of alexandria",
            "monastery of saint macarius the great",
            "coptic orthodox christian",
            "shenouda i",
            "egyptian",
            "pope michael iii of alexandria\n",
            "16 -rrb- march -lrb- 20 baramhat in the coptic calendar",
            "egypt",
            "saint mark 's church",
            "gabriel i"
         ],
         "row_number":[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]
      }
   },
   "target_text":"pope michael iii of alexandria -lrb- also known as khail iii -rrb- was the coptic pope of alexandria and patriarch of the see of st. mark -lrb- 880 -- 907 -rrb- .\nin 882 , the governor of egypt , ahmad ibn tulun , forced khail to pay heavy contributions , forcing him to sell a church and some attached properties to the local jewish community .\nthis building was at one time believed to have later become the site of the cairo geniza .\n"
}

where, in the "table" field, all the information of the Wikpedia infobox is stored (the header of the infobox is stored in "column_header" and the information in the "content" field).

Data Splits

  • Train: 582659 samples.
  • Test: 72831 samples.
  • Validation: 72831 samples.

Source Data

This dataset was announced in the paper Neural Text Generation from Structured Data with Application to the Biography Domain (arxiv link) and is stored in this repo (owned by DavidGrangier).

Licensing Information

This dataset is ditributed under Creative Comons CC BY-SA 3.0 License.

Citation Information

For refering the original paper in BibTex format:

@article{DBLP:journals/corr/LebretGA16,
  author    = {R{\'{e}}mi Lebret and
               David Grangier and
               Michael Auli},
  title     = {Generating Text from Structured Data with Application to the Biography
               Domain},
  journal   = {CoRR},
  volume    = {abs/1603.07771},
  year      = {2016},
  url       = {http://arxiv.org/abs/1603.07771},
  archivePrefix = {arXiv},
  eprint    = {1603.07771},
  timestamp = {Mon, 13 Aug 2018 16:48:30 +0200},
  biburl    = {https://dblp.org/rec/journals/corr/LebretGA16.bib},
  bibsource = {dblp computer science bibliography, https://dblp.org}
}

Contributions

Thanks to @alejandrocros for adding this dataset.