The dataset viewer is not available for this dataset.
The dataset viewer doesn't support this dataset because it runs arbitrary python code. Please open a discussion in the discussion tab if you think this is an error and tag @lhoestq and @severo.
Error code:   DatasetWithScriptNotSupportedError

Need help to make the dataset viewer work? Open a discussion for direct support.

YAML Metadata Error: "configs[0]" must be of type object
YAML Metadata Error: "configs[1]" must be of type object
YAML Metadata Error: "configs[2]" must be of type object
YAML Metadata Error: "configs[3]" must be of type object
YAML Metadata Error: "configs[4]" must be of type object
YAML Metadata Error: "configs[5]" must be of type object
YAML Metadata Error: "configs[6]" must be of type object
YAML Metadata Error: "configs[7]" must be of type object
YAML Metadata Error: "configs[8]" must be of type object
YAML Metadata Error: "configs[9]" must be of type object
YAML Metadata Error: "configs[10]" must be of type object
YAML Metadata Error: "configs[11]" must be of type object
YAML Metadata Error: "configs[12]" must be of type object
YAML Metadata Error: "configs[13]" must be of type object
YAML Metadata Error: "configs[14]" must be of type object
YAML Metadata Error: "configs[15]" must be of type object
YAML Metadata Error: "configs[16]" must be of type object
YAML Metadata Error: "configs[17]" must be of type object
YAML Metadata Error: "configs[18]" must be of type object
YAML Metadata Error: "configs[19]" must be of type object
YAML Metadata Error: "configs[20]" must be of type object
YAML Metadata Error: "configs[21]" must be of type object
YAML Metadata Error: "configs[22]" must be of type object
YAML Metadata Error: "configs[23]" must be of type object
YAML Metadata Error: "configs[24]" must be of type object
YAML Metadata Error: "configs[25]" must be of type object
YAML Metadata Error: "configs[26]" must be of type object
YAML Metadata Error: "configs[27]" must be of type object
YAML Metadata Error: "configs[28]" must be of type object
YAML Metadata Error: "configs[29]" must be of type object
YAML Metadata Error: "configs[30]" must be of type object
YAML Metadata Error: "configs[31]" must be of type object
YAML Metadata Error: "configs[32]" must be of type object
YAML Metadata Error: "configs[33]" must be of type object
YAML Metadata Error: "configs[34]" must be of type object
YAML Metadata Error: "configs[35]" must be of type object
YAML Metadata Error: "configs[36]" must be of type object
YAML Metadata Error: "configs[37]" must be of type object
YAML Metadata Error: "configs[38]" must be of type object
YAML Metadata Error: "configs[39]" must be of type object
YAML Metadata Error: "configs[40]" must be of type object
YAML Metadata Error: "configs[41]" must be of type object
YAML Metadata Error: "configs[42]" must be of type object
YAML Metadata Error: "configs[43]" must be of type object
YAML Metadata Error: "configs[44]" must be of type object
YAML Metadata Error: "configs[45]" must be of type object
YAML Metadata Error: "configs[46]" must be of type object
YAML Metadata Error: "configs[47]" must be of type object
YAML Metadata Error: "configs[48]" must be of type object
YAML Metadata Error: "configs[49]" must be of type object
YAML Metadata Error: "configs[50]" must be of type object
YAML Metadata Error: "configs[51]" must be of type object
YAML Metadata Error: "configs[52]" must be of type object
YAML Metadata Error: "configs[53]" must be of type object
YAML Metadata Error: "configs[54]" must be of type object
YAML Metadata Error: "configs[55]" must be of type object
YAML Metadata Error: "configs[56]" must be of type object
YAML Metadata Error: "configs[57]" must be of type object
YAML Metadata Error: "configs[58]" must be of type object
YAML Metadata Error: "configs[59]" must be of type object
YAML Metadata Error: "configs[60]" must be of type object
YAML Metadata Error: "configs[61]" must be of type object
YAML Metadata Error: "configs[62]" must be of type object
YAML Metadata Error: "configs[63]" must be of type object
YAML Metadata Error: "configs[64]" must be of type object
YAML Metadata Error: "configs[65]" must be of type object
YAML Metadata Error: "configs[66]" must be of type object
YAML Metadata Error: "configs[67]" must be of type object
YAML Metadata Error: "configs[68]" must be of type object
YAML Metadata Error: "configs[69]" must be of type object
YAML Metadata Error: "configs[70]" must be of type object
YAML Metadata Error: "configs[71]" must be of type object
YAML Metadata Error: "configs[72]" must be of type object
YAML Metadata Error: "configs[73]" must be of type object
YAML Metadata Error: "configs[74]" must be of type object
YAML Metadata Error: "configs[75]" must be of type object
YAML Metadata Error: "configs[76]" must be of type object
YAML Metadata Error: "configs[77]" must be of type object
YAML Metadata Error: "configs[78]" must be of type object
YAML Metadata Error: "configs[79]" must be of type object
YAML Metadata Error: "configs[80]" must be of type object
YAML Metadata Error: "configs[81]" must be of type object
YAML Metadata Error: "configs[82]" must be of type object
YAML Metadata Error: "configs[83]" must be of type object
YAML Metadata Error: "configs[84]" must be of type object
YAML Metadata Error: "configs[85]" must be of type object
YAML Metadata Error: "configs[86]" must be of type object
YAML Metadata Error: "configs[87]" must be of type object
YAML Metadata Error: "configs[88]" must be of type object
YAML Metadata Error: "configs[89]" must be of type object
YAML Metadata Error: "configs[90]" must be of type object
YAML Metadata Error: "configs[91]" must be of type object
YAML Metadata Error: "configs[92]" must be of type object
YAML Metadata Error: "configs[93]" must be of type object
YAML Metadata Error: "configs[94]" must be of type object
YAML Metadata Error: "configs[95]" must be of type object
YAML Metadata Error: "configs[96]" must be of type object
YAML Metadata Error: "configs[97]" must be of type object
YAML Metadata Error: "configs[98]" must be of type object
YAML Metadata Error: "configs[99]" must be of type object
YAML Metadata Error: "configs[100]" must be of type object
YAML Metadata Error: "configs[101]" must be of type object
YAML Metadata Error: "configs[102]" must be of type object
YAML Metadata Error: "configs[103]" must be of type object
YAML Metadata Error: "configs[104]" must be of type object
YAML Metadata Error: "configs[105]" must be of type object
YAML Metadata Error: "configs[106]" must be of type object
YAML Metadata Error: "configs[107]" must be of type object
YAML Metadata Error: "configs[108]" must be of type object
YAML Metadata Error: "configs[109]" must be of type object
YAML Metadata Error: "configs[110]" must be of type object
YAML Metadata Error: "configs[111]" must be of type object
YAML Metadata Error: "configs[112]" must be of type object
YAML Metadata Error: "configs[113]" must be of type object
YAML Metadata Error: "configs[114]" must be of type object
YAML Metadata Error: "configs[115]" must be of type object
YAML Metadata Error: "configs[116]" must be of type object
YAML Metadata Error: "configs[117]" must be of type object
YAML Metadata Error: "configs[118]" must be of type object
YAML Metadata Error: "configs[119]" must be of type object
YAML Metadata Error: "configs[120]" must be of type object
YAML Metadata Error: "configs[121]" must be of type object
YAML Metadata Error: "configs[122]" must be of type object
YAML Metadata Error: "configs[123]" must be of type object
YAML Metadata Error: "configs[124]" must be of type object
YAML Metadata Error: "configs[125]" must be of type object
YAML Metadata Error: "configs[126]" must be of type object
YAML Metadata Error: "configs[127]" must be of type object
YAML Metadata Error: "configs[128]" must be of type object
YAML Metadata Error: "configs[129]" must be of type object
YAML Metadata Error: "configs[130]" must be of type object
YAML Metadata Error: "configs[131]" must be of type object
YAML Metadata Error: "configs[132]" must be of type object
YAML Metadata Error: "configs[133]" must be of type object
YAML Metadata Error: "configs[134]" must be of type object
YAML Metadata Error: "configs[135]" must be of type object
YAML Metadata Error: "configs[136]" must be of type object
YAML Metadata Error: "configs[137]" must be of type object
YAML Metadata Error: "configs[138]" must be of type object
YAML Metadata Error: "configs[139]" must be of type object
YAML Metadata Error: "configs[140]" must be of type object
YAML Metadata Error: "configs[141]" must be of type object
YAML Metadata Error: "configs[142]" must be of type object
YAML Metadata Error: "configs[143]" must be of type object
YAML Metadata Error: "configs[144]" must be of type object
YAML Metadata Error: "configs[145]" must be of type object
YAML Metadata Error: "configs[146]" must be of type object
YAML Metadata Error: "configs[147]" must be of type object
YAML Metadata Error: "configs[148]" must be of type object
YAML Metadata Error: "configs[149]" must be of type object
YAML Metadata Error: "configs[150]" must be of type object
YAML Metadata Error: "configs[151]" must be of type object
YAML Metadata Error: "configs[152]" must be of type object
YAML Metadata Error: "configs[153]" must be of type object
YAML Metadata Error: "configs[154]" must be of type object
YAML Metadata Error: "configs[155]" must be of type object
YAML Metadata Error: "configs[156]" must be of type object
YAML Metadata Error: "configs[157]" must be of type object
YAML Metadata Error: "configs[158]" must be of type object
YAML Metadata Error: "configs[159]" must be of type object
YAML Metadata Error: "configs[160]" must be of type object
YAML Metadata Error: "configs[161]" must be of type object
YAML Metadata Error: "configs[162]" must be of type object
YAML Metadata Error: "configs[163]" must be of type object
YAML Metadata Error: "configs[164]" must be of type object
YAML Metadata Error: "configs[165]" must be of type object
YAML Metadata Error: "configs[166]" must be of type object
YAML Metadata Error: "configs[167]" must be of type object
YAML Metadata Error: "configs[168]" must be of type object
YAML Metadata Error: "configs[169]" must be of type object
YAML Metadata Error: "configs[170]" must be of type object
YAML Metadata Error: "configs[171]" must be of type object
YAML Metadata Error: "configs[172]" must be of type object
YAML Metadata Error: "configs[173]" must be of type object
YAML Metadata Error: "configs[174]" must be of type object
YAML Metadata Error: "configs[175]" must be of type object
YAML Metadata Error: "configs[176]" must be of type object
YAML Metadata Error: "configs[177]" must be of type object
YAML Metadata Error: "configs[178]" must be of type object
YAML Metadata Error: "configs[179]" must be of type object
YAML Metadata Error: "configs[180]" must be of type object
YAML Metadata Error: "configs[181]" must be of type object
YAML Metadata Error: "configs[182]" must be of type object
YAML Metadata Error: "configs[183]" must be of type object
YAML Metadata Error: "configs[184]" must be of type object
YAML Metadata Error: "configs[185]" must be of type object
YAML Metadata Error: "configs[186]" must be of type object
YAML Metadata Error: "configs[187]" must be of type object
YAML Metadata Error: "configs[188]" must be of type object
YAML Metadata Error: "configs[189]" must be of type object
YAML Metadata Error: "configs[190]" must be of type object
YAML Metadata Error: "configs[191]" must be of type object
YAML Metadata Error: "configs[192]" must be of type object
YAML Metadata Error: "configs[193]" must be of type object
YAML Metadata Error: "configs[194]" must be of type object
YAML Metadata Error: "configs[195]" must be of type object
YAML Metadata Error: "configs[196]" must be of type object
YAML Metadata Error: "configs[197]" must be of type object
YAML Metadata Error: "configs[198]" must be of type object
YAML Metadata Error: "configs[199]" must be of type object
YAML Metadata Error: "configs[200]" must be of type object
YAML Metadata Error: "configs[201]" must be of type object
YAML Metadata Error: "configs[202]" must be of type object
YAML Metadata Error: "configs[203]" must be of type object
YAML Metadata Error: "configs[204]" must be of type object
YAML Metadata Error: "configs[205]" must be of type object
YAML Metadata Error: "configs[206]" must be of type object
YAML Metadata Error: "configs[207]" must be of type object
YAML Metadata Error: "configs[208]" must be of type object
YAML Metadata Error: "configs[209]" must be of type object
YAML Metadata Error: "configs[210]" must be of type object
YAML Metadata Error: "configs[211]" must be of type object
YAML Metadata Error: "configs[212]" must be of type object
YAML Metadata Error: "configs[213]" must be of type object
YAML Metadata Error: "configs[214]" must be of type object
YAML Metadata Error: "configs[215]" must be of type object
YAML Metadata Error: "configs[216]" must be of type object
YAML Metadata Error: "configs[217]" must be of type object
YAML Metadata Error: "configs[218]" must be of type object
YAML Metadata Error: "configs[219]" must be of type object
YAML Metadata Error: "configs[220]" must be of type object
YAML Metadata Error: "configs[221]" must be of type object
YAML Metadata Error: "configs[222]" must be of type object
YAML Metadata Error: "configs[223]" must be of type object
YAML Metadata Error: "configs[224]" must be of type object
YAML Metadata Error: "configs[225]" must be of type object
YAML Metadata Error: "configs[226]" must be of type object
YAML Metadata Error: "configs[227]" must be of type object
YAML Metadata Error: "configs[228]" must be of type object
YAML Metadata Error: "configs[229]" must be of type object
YAML Metadata Error: "configs[230]" must be of type object
YAML Metadata Error: "configs[231]" must be of type object
YAML Metadata Error: "configs[232]" must be of type object
YAML Metadata Error: "configs[233]" must be of type object
YAML Metadata Error: "configs[234]" must be of type object
YAML Metadata Error: "configs[235]" must be of type object
YAML Metadata Error: "configs[236]" must be of type object
YAML Metadata Error: "configs[237]" must be of type object
YAML Metadata Error: "configs[238]" must be of type object
YAML Metadata Error: "configs[239]" must be of type object
YAML Metadata Error: "configs[240]" must be of type object
YAML Metadata Error: "configs[241]" must be of type object
YAML Metadata Error: "configs[242]" must be of type object
YAML Metadata Error: "configs[243]" must be of type object
YAML Metadata Error: "configs[244]" must be of type object
YAML Metadata Error: "configs[245]" must be of type object
YAML Metadata Error: "configs[246]" must be of type object
YAML Metadata Error: "configs[247]" must be of type object
YAML Metadata Error: "configs[248]" must be of type object
YAML Metadata Error: "configs[249]" must be of type object
YAML Metadata Error: "configs[250]" must be of type object
YAML Metadata Error: "configs[251]" must be of type object
YAML Metadata Error: "configs[252]" must be of type object
YAML Metadata Error: "configs[253]" must be of type object
YAML Metadata Error: "configs[254]" must be of type object
YAML Metadata Error: "configs[255]" must be of type object
YAML Metadata Error: "configs[256]" must be of type object
YAML Metadata Error: "configs[257]" must be of type object
YAML Metadata Error: "configs[258]" must be of type object
YAML Metadata Error: "configs[259]" must be of type object
YAML Metadata Error: "configs[260]" must be of type object
YAML Metadata Error: "configs[261]" must be of type object
YAML Metadata Error: "configs[262]" must be of type object
YAML Metadata Error: "configs[263]" must be of type object
YAML Metadata Error: "configs[264]" must be of type object
YAML Metadata Error: "configs[265]" must be of type object
YAML Metadata Error: "configs[266]" must be of type object
YAML Metadata Error: "configs[267]" must be of type object
YAML Metadata Error: "configs[268]" must be of type object
YAML Metadata Error: "configs[269]" must be of type object
YAML Metadata Error: "configs[270]" must be of type object
YAML Metadata Error: "configs[271]" must be of type object
YAML Metadata Error: "configs[272]" must be of type object
YAML Metadata Error: "configs[273]" must be of type object
YAML Metadata Error: "configs[274]" must be of type object
YAML Metadata Error: "configs[275]" must be of type object
YAML Metadata Error: "configs[276]" must be of type object
YAML Metadata Error: "configs[277]" must be of type object
YAML Metadata Error: "configs[278]" must be of type object
YAML Metadata Error: "configs[279]" must be of type object
YAML Metadata Error: "configs[280]" must be of type object
YAML Metadata Error: "configs[281]" must be of type object
YAML Metadata Error: "configs[282]" must be of type object
YAML Metadata Error: "configs[283]" must be of type object
YAML Metadata Error: "configs[284]" must be of type object
YAML Metadata Error: "configs[285]" must be of type object
YAML Metadata Error: "configs[286]" must be of type object
YAML Metadata Error: "configs[287]" must be of type object
YAML Metadata Error: "configs[288]" must be of type object
YAML Metadata Error: "configs[289]" must be of type object
YAML Metadata Error: "configs[290]" must be of type object
YAML Metadata Error: "configs[291]" must be of type object
YAML Metadata Error: "configs[292]" must be of type object
YAML Metadata Error: "configs[293]" must be of type object
YAML Metadata Error: "configs[294]" must be of type object
YAML Metadata Error: "configs[295]" must be of type object
YAML Metadata Error: "configs[296]" must be of type object
YAML Metadata Error: "configs[297]" must be of type object
YAML Metadata Error: "configs[298]" must be of type object
YAML Metadata Error: "configs[299]" must be of type object

Dataset Card for Wikipedia

Dataset Summary

Wikipedia dataset containing cleaned articles of all languages. The datasets are built from the Wikipedia dump (https://dumps.wikimedia.org/) with one split per language. Each example contains the content of one full Wikipedia article with cleaning to strip markdown and unwanted sections (references, etc.).

The articles are parsed using the mwparserfromhell tool.

To load this dataset you need to install Apache Beam and mwparserfromhell first:

pip install apache_beam mwparserfromhell

Then, you can load any subset of Wikipedia per language and per date this way:

from datasets import load_dataset

load_dataset("wikipedia", language="sw", date="20220120", beam_runner=...)

where you can pass as beam_runner any Apache Beam supported runner for (distributed) data processing (see here). Pass "DirectRunner" to run it on your machine.

You can find the full list of languages and dates here.

Some subsets of Wikipedia have already been processed by HuggingFace, and you can load them just with:

from datasets import load_dataset

load_dataset("wikipedia", "20220301.en")

The list of pre-processed subsets is:

  • "20220301.de"
  • "20220301.en"
  • "20220301.fr"
  • "20220301.frr"
  • "20220301.it"
  • "20220301.simple"

Supported Tasks and Leaderboards

The dataset is generally used for Language Modeling.

Languages

You can find the list of languages here.

Dataset Structure

Data Instances

An example looks as follows:

{'id': '1',
 'url': 'https://simple.wikipedia.org/wiki/April',
 'title': 'April',
 'text': 'April is the fourth month...'
}

Some subsets of Wikipedia have already been processed by HuggingFace, as you can see below:

20220301.de

  • Size of downloaded dataset files: 6523.22 MB
  • Size of the generated dataset: 8905.28 MB
  • Total amount of disk used: 15428.50 MB

20220301.en

  • Size of downloaded dataset files: 20598.31 MB
  • Size of the generated dataset: 20275.52 MB
  • Total amount of disk used: 40873.83 MB

20220301.fr

  • Size of downloaded dataset files: 5602.57 MB
  • Size of the generated dataset: 7375.92 MB
  • Total amount of disk used: 12978.49 MB

20220301.frr

  • Size of downloaded dataset files: 12.44 MB
  • Size of the generated dataset: 9.13 MB
  • Total amount of disk used: 21.57 MB

20220301.it

  • Size of downloaded dataset files: 3516.44 MB
  • Size of the generated dataset: 4539.94 MB
  • Total amount of disk used: 8056.39 MB

20220301.simple

  • Size of downloaded dataset files: 239.68 MB
  • Size of the generated dataset: 235.07 MB
  • Total amount of disk used: 474.76 MB

Data Fields

The data fields are the same among all configurations:

  • id (str): ID of the article.
  • url (str): URL of the article.
  • title (str): Title of the article.
  • text (str): Text content of the article.

Data Splits

Here are the number of examples for several configurations:

name train
20220301.de 2665357
20220301.en 6458670
20220301.fr 2402095
20220301.frr 15199
20220301.it 1743035
20220301.simple 205328

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

Most of Wikipedia's text and many of its images are co-licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License (CC BY-SA) and the GNU Free Documentation License (GFDL) (unversioned, with no invariant sections, front-cover texts, or back-cover texts).

Some text has been imported only under CC BY-SA and CC BY-SA-compatible license and cannot be reused under GFDL; such text will be identified on the page footer, in the page history, or on the discussion page of the article that utilizes the text.

Citation Information

@ONLINE{wikidump,
    author = "Wikimedia Foundation",
    title  = "Wikimedia Downloads",
    url    = "https://dumps.wikimedia.org"
}

Contributions

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

Downloads last month
0
Edit dataset card