The dataset viewer is not available for this dataset.
Cannot get the config names for the dataset.
Error code:   ConfigNamesError
Exception:    ImportError
Message:      To be able to use reyoung/wikipedia, you need to install the following dependency: mwparserfromhell.
Please install it using 'pip install mwparserfromhell' for instance.
Traceback:    Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/dataset/config_names.py", line 66, in compute_config_names_response
                  config_names = get_dataset_config_names(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/inspect.py", line 347, in get_dataset_config_names
                  dataset_module = dataset_module_factory(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1914, in dataset_module_factory
                  raise e1 from None
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1880, in dataset_module_factory
                  return HubDatasetModuleFactoryWithScript(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 1504, in get_module
                  local_imports = _download_additional_modules(
                File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/load.py", line 354, in _download_additional_modules
                  raise ImportError(
              ImportError: To be able to use reyoung/wikipedia, you need to install the following dependency: mwparserfromhell.
              Please install it using 'pip install mwparserfromhell' for instance.

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and 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

This repo is a fork of the original Hugging Face Wikipedia repo here. The difference is that this fork does away with the need for apache-beam, and this fork is very fast if you have a lot of CPUs on your machine. It will use all CPUs available to create a clean Wikipedia pretraining dataset. It takes less than an hour to process all of English wikipedia on a GCP n1-standard-96. This fork is also used in the OLM Project to pull and process up-to-date wikipedia snapshots.

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, and we use multiprocess for parallelization.

To load this dataset you need to install these first:

pip install mwparserfromhell==0.6.4 multiprocess==0.70.13

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

from datasets import load_dataset

load_dataset("olm/wikipedia", language="en", date="20220920")

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

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...'
}

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.

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"
}
Downloads last month
83