Dataset Preview
Go to dataset viewer
text (string)
"<mediawiki xmlns="" xmlns:xsi="" xsi:schemaLocation="" version="0.3" xml:lang="en">"
"<generator>MediaWiki 1.6alpha</generator>"
"<namespace key="-2">Media</namespace>"
"<namespace key="-1">Special</namespace>"
"<namespace key="0" />"
"<namespace key="1">Talk</namespace>"
"<namespace key="2">User</namespace>"
"<namespace key="3">User talk</namespace>"
"<namespace key="4">Wikipedia</namespace>"
"<namespace key="5">Wikipedia talk</namespace>"
"<namespace key="6">Image</namespace>"
"<namespace key="7">Image talk</namespace>"
"<namespace key="8">MediaWiki</namespace>"
"<namespace key="9">MediaWiki talk</namespace>"
"<namespace key="10">Template</namespace>"
"<namespace key="11">Template talk</namespace>"
"<namespace key="12">Help</namespace>"
"<namespace key="13">Help talk</namespace>"
"<namespace key="14">Category</namespace>"
"<namespace key="15">Category talk</namespace>"
"<namespace key="100">Portal</namespace>"
"<namespace key="101">Portal talk</namespace>"
"<text xml:space="preserve">#REDIRECT [[AAA]]</text>"
"<minor />"
"<comment>adding cur_id=5: {{R from CamelCase}}</comment>"
"<text xml:space="preserve">#REDIRECT [[Algeria]]{{R from CamelCase}}</text>"
"<minor />"
"<comment>adding to cur_id=6 {{R from CamelCase}}</comment>"
"<text xml:space="preserve">#REDIRECT [[American Samoa]]{{R from CamelCase}}</text>"
"<ip>Conversion script</ip>"
"<minor />"
"<comment>Automated conversion</comment>"
"<text xml:space="preserve">#REDIRECT [[Applied ethics]]"
"<minor />"
"<comment>Fixing redirect</comment>"
"<text xml:space="preserve">#REDIRECT [[Accessible_computing]]</text>"
End of preview (truncated to 100 rows)

Dataset Card for enwik8

Dataset Summary

The enwik8 dataset is the first 100,000,000 (100M) bytes of the English Wikipedia XML dump on Mar. 3, 2006 and is typically used to measure a model's ability to compress data.

Supported Tasks and Leaderboards

A leaderboard for byte-level causal language modelling can be found on paperswithcode



Dataset Structure

Data Instances

  • Size of downloaded dataset files: 34.76 MB
  • Size of generated dataset files: 97.64 MB
  • Total size: 132.40 MB
   "text": "In [[Denmark]], the [[Freetown Christiania]] was created in downtown [[Copenhagen]]....",

Data Fields

The data fields are the same among all sets.


  • text: a string feature.


  • text: a string feature.

Data Splits

dataset train
enwik8 1128024
enwik8- raw 1

Dataset Creation

Curation Rationale

[Needs More Information]

Source Data

Initial Data Collection and Normalization

The data is just English Wikipedia XML dump on Mar. 3, 2006 split by line for enwik8 and not split by line for enwik8-raw.

Who are the source language producers?

[Needs More Information]


Annotation process

[Needs More Information]

Who are the annotators?

[Needs More Information]

Personal and Sensitive Information

[Needs More Information]

Considerations for Using the Data

Social Impact of Dataset

[Needs More Information]

Discussion of Biases

[Needs More Information]

Other Known Limitations

[Needs More Information]

Additional Information

Dataset Curators

[Needs More Information]

Licensing Information

[Needs More Information]

Citation Information

Dataset is not part of a publication, and can therefore not be cited.


Thanks to @HallerPatrick for adding this dataset and @mtanghu for updating it.

Edit dataset card
Evaluate models HF Leaderboard