Datasets:
article_id uint64 0 460k | page_id uint64 12 1.87M | revision_id uint64 2 1.32B | title stringlengths 1 182 | timestamp stringdate 2016-11-15 19:00:16 2026-08-04 14:45:28 | md stringlengths 41 1M | warnings listlengths 0 0 |
|---|---|---|---|---|---|---|
0 | 12 | 37,877,400 | Anarchism | 2026-08-02T18:37:36Z | **Anarchism** is a political philosophy and movement that seeks to abolish all institutions that perpetuate authority, coercion, or hierarchy, primarily targeting the state, capitalism and organized religion. Anarchism advocates for the replacement of the state with stateless societies and voluntary free associations. ... | [] |
1 | 39 | 11,639 | Albedo | 2026-06-09T05:02:57Z | **Albedo** (IPAC: ælˈbiːdoʊ ; ) is the fraction of sunlight that is diffusely reflected by a body. It is measured on a scale from 0 (corresponding to a black body that absorbs all incident radiation) to 1 (corresponding to a body that reflects all incident radiation). *Surface albedo* is defined as the ratio of radiosi... | [] |
2 | 290 | 50,010,380 | A | 2026-07-15T11:20:39Z | **A** (minuscule: **a**) is the first letter and the first vowel letter of the Latin alphabet, used in the modern English alphabet, and others worldwide. Its name in English is *a* (pronounced as in *say*), plural *aes*.
It is similar in shape to the Ancient Greek letter alpha, from which it derives. The uppercase ver... | [] |
3 | 303 | 49,730,707 | Alabama | 2026-08-03T21:25:12Z | **Alabama** (IPAC: ,ælə'bæmə, ) is a state in the Southeastern and Deep Southern regions of the United States. It borders Tennessee to the north, Georgia to the east, Florida and the Gulf of Mexico to the south, and Mississippi to the west. Alabama is the 30th largest by area, and the 24th-most populous of the 50 U.S. ... | [] |
4 | 305 | 43,066,271 | Achilles | 2026-07-27T12:13:22Z | "In Greek mythology, **Achilles** (IPAC: əˈkɪliːz ) or **Achilleus** (Achilleús) was a hero of (...TRUNCATED) | [] |
5 | 307 | 53,396 | Abraham Lincoln | 2026-07-29T08:36:40Z | "**Abraham Lincoln** (February 12, 1809April 15, 1865) was the 16th president of the United States, (...TRUNCATED) | [] |
6 | 308 | 47,988,270 | Aristotle | 2026-08-01T02:21:14Z | "**Aristotle** (Aristotélēs; 384–322 BC) was an ancient Greek philosopher and polymath. His wri(...TRUNCATED) | [] |
7 | 309 | 4,637,213 | An American in Paris | 2026-07-20T05:44:28Z | "***An American in Paris*** is a jazz-influenced symphonic poem (or tone poem) for orchestra by Amer(...TRUNCATED) | [] |
8 | 316 | 196,446 | Academy Award for Best Production Design | 2026-07-27T18:04:36Z | "The **Academy Award for Best Production Design** recognizes achievement for art direction in film. (...TRUNCATED) | [] |
9 | 324 | 24,157,476 | Academy Awards | 2026-07-29T19:58:46Z | "The **Academy Awards**, more commonly known as the **Oscars**, are awards based on artistic and tec(...TRUNCATED) | [] |
English Wikipedia as clean md
This dataset is a cleaned, structurally faithful approximation of the English Wikipedia article corpus in Answer.AI's canonical md dialect. It was produced from the Wikimedia dump dated 20260801 by Answer.AI's parse-wiki pipeline.
It is designed for language-model training and for agent/RAG systems. The articles configuration provides complete documents for continued pretraining, corpus analysis, rechunking, and task-specific dataset creation. The chunks configuration provides section-aware retrieval units without duplicating article text: every chunk is a UTF-8 byte range into an article plus a small Markdown heading prefix. This keeps the corpus compact while preserving useful article and section breadcrumbs.
Contents
- articles — 6,836,823 cleaned articles with dense
article_id, Wikimedia page and revision IDs, title, revision timestamp, completemd, and conversion warnings. - chunks — 11,153,239 chunk indexes targeting about 700 words, with
article_id, per-articlechunk_id, UTF-8start_byte/byte_len,prefix_md,start_kind, andword_count.
The article row number equals article_id, and chunk rows are ordered by article_id then chunk_id. UTF-8 byte offsets—not Python character offsets—are used so ranges are stable across languages and tools.
from datasets import load_dataset
articles = load_dataset("answerdotai/enwiki", "articles", split="train")
chunks = load_dataset("answerdotai/enwiki", "chunks", split="train")
def materialize(article, chunk):
body = article["md"].encode()
start = chunk["start_byte"]
return chunk["prefix_md"] + body[start:start + chunk["byte_len"]].decode()
chunk = chunks[100]
text = materialize(articles[chunk["article_id"]], chunk)
materialize.py contains the same dependency-free reconstruction helper. Retrieval systems can store chunk rows in their vector index, fetch the corresponding article by dense row ID, and reconstruct only selected chunks. Training pipelines can stream complete article rows or materialize chunk rows on demand.
Processing
Redirects, disambiguation pages, and very short pages are excluded. References, footnotes, navigation boxes, sidebars, maintenance notices, citations, and other non-article material are removed. Links, lists, tables, math, and common templates are converted to md; other templates are retained in a readable form where possible.
Chunks target about 700 words and prefer section boundaries. Each chunk stores byte offsets into its article plus the headings needed to identify its section.
manifest.json records the dump date, settings, checksums, and row counts.
Uses and limitations
Useful applications include language-model pretraining or adaptation, embedding and retrieval corpora, grounded agent knowledge stores, search, summarization, and experiments with alternative chunking strategies. page_id, revision_id, and timestamp support provenance, exact revision links, auditing, and future incremental updates.
This is intentionally a fast, useful approximation rather than a browser-perfect rendering. MediaWiki templates requiring server-side expansion may be simplified, removed, or retained as raw syntax. Images and Wikipedia-only presentation/navigation are generally omitted. Consumers requiring exact current facts should follow the stored revision provenance and compare against Wikimedia.
License and attribution
Wikipedia text is provided by its contributors under the Creative Commons Attribution-ShareAlike 4.0 License and may also be available under the GFDL. This transformed dataset is distributed under CC BY-SA 4.0. Attribute English Wikipedia contributors, link to the relevant article or revision, and indicate that the text was transformed by Answer.AI's parse-wiki pipeline. For a row, an exact revision URL is:
url = f"https://en.wikipedia.org/w/index.php?oldid={article['revision_id']}"
See Wikimedia's reuse guidance for full terms.
- Downloads last month
- 85