wikimedia_filtered
收藏魔搭社区2025-08-01 更新2025-06-14 收录
下载链接:
https://modelscope.cn/datasets/common-pile/wikimedia_filtered
下载链接
链接失效反馈官方服务:
资源简介:
# 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}
}
```
# 维基媒体(Wikimedia)
## 数据集描述
官方维基媒体旗下维基站点均采用CC BY-SA (Creative Commons Attribution-ShareAlike)许可协议发布。我们于2025年3月下载了由维基媒体基金会(Wikimedia Foundation)直接管理的英语维基站点的官方数据库快照。这些数据库快照包含每个页面的维基文本(wikitext)——MediaWiki的自定义标记语言——以及讨论页(talk pages),供编辑者讨论页面的修改内容。我们仅使用每个页面的最新版本。在对格式进行轻量调整以修复因某一漏洞导致的章节顺序错乱问题后,我们借助[wtf_wikipedia](https://github.com/spencermountain/wtf_wikipedia)工具将维基文本转换为纯文本。在解析前,我们通过自研代码将维基文本中的数学公式转换为LaTeX格式数学公式。最后,通过正则表达式移除所有残留的HTML标签。本数据集包含以下维基媒体旗下维基站点的数据:[维基百科(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)及[维基词典(Wiktionary)](https://wiktionary.org)。
## 数据集统计
| 文档数量 | UTF-8 存储量(GB) |
|-----------|----------|
| 16,311,574 | 57.4 |
## 许可问题
尽管我们致力于为数据集提供完全准确的许可信息,但许可洗白与元数据不准确的问题可能导致我们为部分文档错误分配了错误的许可协议(关于该局限性的详细讨论,请参阅[我们的论文](https://huggingface.co/papers/2506.05209))。若您发现本数据集存在许可信息错误的情况,请前往本仓库[发起讨论](https://github.com/r-three/common-pile/discussions/new)。
## 其他版本
本数据集为维基媒体数据集的"过滤版"。若您需要原始版本,请前往[此处](https://huggingface.co/datasets/common-pile/wikimedia_raw)获取。
## 引用声明
若您使用本数据集,请引用如下文献:
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}
}
提供机构:
maas
创建时间:
2025-06-11



