wiki_snippets / README.md
albertvillanova's picture
Convert dataset to Parquet
4c7ebf6 verified
|
raw
history blame
9.38 kB
metadata
annotations_creators:
  - no-annotation
language_creators:
  - crowdsourced
language:
  - en
license:
  - unknown
multilinguality:
  - multilingual
size_categories:
  - 10M<n<100M
source_datasets:
  - extended|wiki40b
  - extended|wikipedia
task_categories:
  - text-generation
  - other
task_ids:
  - language-modeling
pretty_name: WikiSnippets
tags:
  - text-search
dataset_info:
  - config_name: wiki40b_en_100_0
    features:
      - name: _id
        dtype: string
      - name: datasets_id
        dtype: int32
      - name: wiki_id
        dtype: string
      - name: start_paragraph
        dtype: int32
      - name: start_character
        dtype: int32
      - name: end_paragraph
        dtype: int32
      - name: end_character
        dtype: int32
      - name: article_title
        dtype: string
      - name: section_title
        dtype: string
      - name: passage_text
        dtype: string
    splits:
      - name: train
        num_bytes: 12927635491
        num_examples: 17553713
    download_size: 7022389836
    dataset_size: 12927635491
  - config_name: wikipedia_en_100_0
    features:
      - name: _id
        dtype: string
      - name: datasets_id
        dtype: int32
      - name: wiki_id
        dtype: string
      - name: start_paragraph
        dtype: int32
      - name: start_character
        dtype: int32
      - name: end_paragraph
        dtype: int32
      - name: end_character
        dtype: int32
      - name: article_title
        dtype: string
      - name: section_title
        dtype: string
      - name: passage_text
        dtype: string
    splits:
      - name: train
        num_bytes: 26407884393
        num_examples: 33849898
    download_size: 0
    dataset_size: 26407884393
configs:
  - config_name: wiki40b_en_100_0
    data_files:
      - split: train
        path: wiki40b_en_100_0/train-*

Dataset Card for "wiki_snippets"

Table of Contents

Dataset Description

Dataset Summary

Wikipedia version split into plain text snippets for dense semantic indexing.

Supported Tasks and Leaderboards

More Information Needed

Languages

More Information Needed

Dataset Structure

We show detailed information for 2 configurations of the dataset (with 100 snippet passage length and 0 overlap) in English:

  • wiki40b_en_100_0: Wiki-40B
  • wikipedia_en_100_0: Wikipedia

Data Instances

wiki40b_en_100_0

  • Size of downloaded dataset files: 0.00 MB
  • Size of the generated dataset: 12.94 GB
  • Total amount of disk used: 12.94 GB

An example of 'train' looks as follows:

{'_id': '{"datasets_id": 0, "wiki_id": "Q1294448", "sp": 2, "sc": 0, "ep": 6, "ec": 610}',
 'datasets_id': 0,
 'wiki_id': 'Q1294448',
 'start_paragraph': 2,
 'start_character': 0,
 'end_paragraph': 6,
 'end_character': 610,
 'article_title': 'Ági Szalóki',
 'section_title': 'Life',
 'passage_text': "Ági Szalóki Life She started singing as a toddler, considering Márta Sebestyén a role model. Her musical background is traditional folk music; she first won recognition for singing with Ökrös in a traditional folk style, and Besh o droM, a Balkan gypsy brass band. With these ensembles she toured around the world from the Montreal Jazz Festival, through Glastonbury Festival to the Théatre de la Ville in Paris, from New York to Beijing.\nSince 2005, she began to pursue her solo career and explore various genres, such as jazz, thirties ballads, or children's songs.\nUntil now, three of her six released albums"}

wikipedia_en_100_0

  • Size of downloaded dataset files: 0.00 MB
  • Size of the generated dataset: 26.41 GB
  • Total amount of disk used: 26.41 GB

An example of 'train' looks as follows:

{'_id': '{"datasets_id": 0, "wiki_id": "Anarchism", "sp": 0, "sc": 0, "ep": 2, "ec": 129}',
 'datasets_id': 0,
 'wiki_id': 'Anarchism',
 'start_paragraph': 0,
 'start_character': 0,
 'end_paragraph': 2,
 'end_character': 129,
 'article_title': 'Anarchism',
 'section_title': 'Start',
 'passage_text': 'Anarchism is a political philosophy and movement that is sceptical of authority and rejects all involuntary, coercive forms of hierarchy. Anarchism calls for the abolition of the state, which it holds to be unnecessary, undesirable, and harmful. As a historically left-wing movement, placed on the farthest left of the political spectrum, it is usually described alongside communalism and libertarian Marxism as the libertarian wing (libertarian socialism) of the socialist movement, and has a strong historical association with anti-capitalism and socialism.  Humans lived in societies without formal hierarchies long before the establishment of formal states, realms, or empires. With the'}

Data Fields

The data fields are the same for all configurations:

  • _id: a string feature.
  • datasets_id: a int32 feature.
  • wiki_id: a string feature.
  • start_paragraph: a int32 feature.
  • start_character: a int32 feature.
  • end_paragraph: a int32 feature.
  • end_character: a int32 feature.
  • article_title: a string feature.
  • section_title: a string feature.
  • passage_text: a string feature.

Data Splits

name train
wiki40b_en_100_0 17553713
wikipedia_en_100_0 33849898

Dataset Creation

Curation Rationale

More Information Needed

Source Data

Initial Data Collection and Normalization

More Information Needed

Who are the source language producers?

More Information Needed

Annotations

Annotation process

More Information Needed

Who are the annotators?

More Information Needed

Personal and Sensitive Information

More Information Needed

Considerations for Using the Data

Social Impact of Dataset

More Information Needed

Discussion of Biases

More Information Needed

Other Known Limitations

More Information Needed

Additional Information

Dataset Curators

More Information Needed

Licensing Information

See licensing information of source datasets.

Citation Information

Cite source datasets:

  • Wiki-40B:
@inproceedings{49029,
title = {Wiki-40B: Multilingual Language Model Dataset},
author = {Mandy Guo and Zihang Dai and Denny Vrandecic and Rami Al-Rfou},
year = {2020},
booktitle   = {LREC 2020}
}
  • Wikipedia:
@ONLINE{wikidump,
    author = "Wikimedia Foundation",
    title  = "Wikimedia Downloads",
    url    = "https://dumps.wikimedia.org"
}

Contributions

Thanks to @thomwolf, @lhoestq, @mariamabarham, @yjernite for adding this dataset.