File size: 2,784 Bytes
571f5b2
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0641bb8
571f5b2
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
task_categories:
- text-generation
language:
- en
pretty_name: Wikimedia
---

# Wikimedia

## Description
Official Wikimedia wikis are released under a CC BY-SA license. We downloaded the official database dumps from March 2025 of the English-language wikis that are directly managed by the Wikimedia Foundation. These database dumps include the wikitext—MediaWiki’s custom markup language—for each page as well as talk pages, where editors discuss changes made to a page. We only use the most recent version of each page. We converted wikitext to plain text using [wtf_wikipedia](https://github.com/spencermountain/wtf_wikipedia) after light adjustments in formatting to avoid errors in section ordering caused by a bug. Before parsing, we converted wikitext math into LaTeX math using our custom code. Finally, any remaining HTML tags were removed via regexes. This collection includes data from the following Wikimedia wikis: [Wikipedia](https://wikipedia.org), [Wikinews](https://wikinews.org), [Wikibooks](https://wikibooks.org), [Wikiquote](https://wikiquote.org), [Wikisource](https://wikisource.org), [Wikiversity](https://wikiversity.org), [Wikivoyage](https://wikivoyage.org), and [Wiktionary](https://wiktionary.org).

## Dataset Statistics
| Documents | UTF-8 GB |
|-----------|----------|
| 16,311,574  | 57.4   |

## License Issues
While we aim to produce datasets with completely accurate licensing information, license laundering and inaccurate metadata can cause us to erroneously assign the incorrect license to some documents (for further discussion of this limitation, please see [our paper](https://huggingface.co/papers/2506.05209)). If you believe you have found an instance of incorrect licensing in this dataset, please [start a discussion](https://github.com/r-three/common-pile/discussions/new) on this repository.

## Other Versions
This is the "filtered" version of the Wikimedia dataset. If you are looking for the raw version, you can find it [here](https://huggingface.co/datasets/common-pile/wikimedia_raw).

## Citation
If you use this dataset, please cite:
```bibtex
@article{kandpal2025common,
  title={{The Common Pile v0.1: An 8TB Dataset of Public Domain and Openly Licensed Text}},
  author={Nikhil Kandpal and Brian Lester and Colin Raffel and Sebastian Majstorovic and Stella Biderman and Baber Abbasi and Luca Soldaini and Enrico Shippole and A. Feder Cooper and Aviya Skowron and Shayne Longpre and Lintang Sutawika and Alon Albalak and Zhenlin Xu and Guilherme Penedo and Loubna Ben  and Elie Bakouch and John David  and Honglu Fan and Dashiell Stander and Guangyu Song and Aaron Gokaslan and John Kirchenbauer and Tom Goldstein and Brian R and Bhavya Kailkhura and Tyler Murray},
  journal={arXiv preprint},
  year={2025}
}
```