Dataset Viewer (First 5GB)
Auto-converted to Parquet Duplicate
id
int64
url
string
title
string
text
string
revid
int64
12
https://en.wikipedia.org/wiki?curid=12
Anarchism
Anarchism is a political philosophy and movement that seeks to abolish all institutions that perpetuate authority, coercion, or hierarchy, primarily targeting the state and capitalism. Anarchism advocates for the replacement of the state with stateless societies and voluntary free associations. A historically left-wing...
49,892,593
39
https://en.wikipedia.org/wiki?curid=39
Albedo
Albedo ( ; ) 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 radiosity "J"e to the irra...
28,481,209
290
https://en.wikipedia.org/wiki?curid=290
A
A, or 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 ), plural "aes". It is similar in shape to the Ancient Greek letter alpha, from which it derives. The uppercase version consists of the two sla...
8,653,616
303
https://en.wikipedia.org/wiki?curid=303
Alabama
Alabama ( ) 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. states. Alabama is n...
1,216,158
305
https://en.wikipedia.org/wiki?curid=305
Achilles
In Greek mythology, Achilles ( ) or Achilleus () was a hero of the Trojan War who was known as being the greatest of all the Greek warriors. The central character in Homer's "Iliad", he was the son of the Nereid Thetis and Peleus, king of Phthia and famous Argonaut. Achilles was raised in Phthia along with his childhoo...
31,329,595
307
https://en.wikipedia.org/wiki?curid=307
Abraham Lincoln
"Abraham Lincoln (February 12, 1809 – April 15, 1865) was the 16th president of the United States,(...TRUNCATED)
32,589,484
308
https://en.wikipedia.org/wiki?curid=308
Aristotle
"Aristotle (; 384–322 BC) was an Ancient Greek philosopher and polymath. His writings cover a bro(...TRUNCATED)
7,903,804
309
https://en.wikipedia.org/wiki?curid=309
An American in Paris
"An American in Paris is a jazz-influenced symphonic poem (or tone poem) for orchestra by American c(...TRUNCATED)
27,823,944
316
https://en.wikipedia.org/wiki?curid=316
Academy Award for Best Production Design
"The Academy Award for Best Production Design recognizes achievement for art direction in film. The (...TRUNCATED)
44,422,690
324
https://en.wikipedia.org/wiki?curid=324
Academy Awards
"The Academy Awards, commonly known as the Oscars, are awards for artistic and technical merit in fi(...TRUNCATED)
6,381,306
End of preview. Expand in Data Studio

Dataset Card for Wikipedia-20250721


Dataset Summary

Wikipedia-20250721 is a cleaned, preprocessed version of the English Wikipedia “pages-articles” dump (July 21, 2025) converted into Parquet format and published on Hugging Face. It contains article titles and full article text suitable for large-scale language model pretraining or downstream NLP tasks.

Supported Tasks and Use Cases

  • Language Modeling / Pretraining: Raw text for LLM pretraining.
  • Text Classification / Regression: Fine-tune on article text for various classification tasks.
  • Information Retrieval / QA: Source text for retrieval-based QA systems.
  • Summarization / Generation: Input documents for summarization and text generation.

Dataset Structure

The dataset is provided as a single Parquet file wikipedia_20250721.parquet with the following columns:

Column Type Description
id string Wikipedia page identifier (curid)
url string URL to the page
title string Article title
text string Full cleaned article content

Data Splits

This dataset is provided as a single split (train) containing all cleaned articles.

Dataset Creation

  1. Source: Official English Wikipedia XML dump (July 21, 2025) from https://dumps.wikimedia.org/enwiki/latest/.
  2. Extraction: Used WikiExtractor with --no-templates and post-filtering to remove empty or stub articles.
  3. Cleaning: Dropped rows with missing or empty text fields.
  4. Conversion: Converted cleaned CSV to Parquet via pandas + pyarrow.
  5. Upload: Pushed Parquet file to Hugging Face Hub under yash3056/wikipedia-20250721.

Usage Example

from datasets import load_dataset

dataset = load_dataset("yash3056/wikipedia-20250721")
print(dataset)
# DatasetDict({ 'train': Dataset({ ... }) })

# Access examples
print(dataset['train'][0])
# { 'id': '1', 'url': 'https://en.wikipedia.org/wiki?curid=1', 'title': 'AccessibleComputing', 'text': 'Accessible computing is ...' }

Citation

If you use this dataset, please cite:

@misc{yash3056_wikipedia_20250721,
  author = {Yash and Wikipedia contributors},
  title = {Wikipedia-20250721: Cleaned English Wikipedia Articles in Parquet Format},
  year = {2025},
  howpublished = {\url{https://huggingface.co/datasets/yash3056/wikipedia-20250721}}
}

License

This dataset is released under Creative Commons Attribution-ShareAlike 4.0 International (CC BY-SA 4.0). You are free to share and adapt under the terms of the license.

Downloads last month
14