Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
3.86k
23.5M
id
stringlengths
10
15
wikiname
stringclasses
1 value
page_id
int64
600
80.8M
title
stringlengths
1
116
url
stringlengths
31
146
date_modified
stringdate
2017-12-26 04:59:12
2025-08-21 00:01:29
in_language
stringclasses
1 value
wikidata_id
stringlengths
2
10
bytes_html
int64
9.5k
3.96M
wikitext
stringlengths
262
614k
version
int64
817M
1.31B
infoboxes
stringlengths
2
564k
has_math
bool
2 classes
# Room to Breathe (Reba McEntire album) Room to Breathe is the twenty-fifth studio album by American country music singer Reba McEntire. It was released on November 18, 2003, by MCA Nashville Records. It was produced by Buddy Cannon, McEntire, and Norro Wilson. Room to Breathe was McEntire's first album of new recordin...
enwiki/7070303
enwiki
7,070,303
Room to Breathe (Reba McEntire album)
https://en.wikipedia.org/wiki/Room_to_Breathe_(Reba_McEntire_album)
2025-06-03T02:14:54Z
en
Q7366300
116,953
{{Use mdy dates|date=June 2025}} {{Infobox album | name = Room to Breathe | type = studio | artist = [[Reba McEntire]] | cover = RebaRoomToBreathe.jpg | alt = | released = {{Start date|2003|11|18}} | recorded = | studio = | genre = [[Country music|Country]] ...
1,293,670,758
[{"title": "Studio album by Reba McEntire", "data": {"Released": "November 18, 2003", "Genre": "Country", "Length": "44:31", "Label": "MCA Nashville", "Producer": "Buddy Cannon Reba McEntire Norro Wilson"}}, {"title": "Reba McEntire chronology", "data": {"20th Century Masters \u2013 The Christmas Collection: The Best o...
false
# Nobody's Perfect (Jessie J song) "Nobody's Perfect" is a song by English singer-songwriter Jessie J from her debut studio album, Who You Are. The song was written by Jessie J, Claude Kelly and Andre Brissett, and it was produced by Brissett and Kelly, and refers to a struggle about perfection complex and regret over ...
enwiki/30995754
enwiki
30,995,754
Nobody's Perfect (Jessie J song)
https://en.wikipedia.org/wiki/Nobody%27s_Perfect_(Jessie_J_song)
2025-06-15T16:01:14Z
en
Q934751
192,760
{{short description|2011 single by Jessie J}} {{Use dmy dates|date=May 2017}} {{Use British English|date=June 2011}} {{Infobox song | name = Nobody's Perfect | cover = Nobody's perfect cover.png | alt = | type = single | artist = [[Jessie J]] | album = [[Who You Are (Jessie J album)|Who...
1,295,744,806
[{"title": "from the album Who You Are", "data": {"Released": "27 May 2011", "Studio": "Santisound (Los Angeles, CA)", "Genre": "R&B", "Length": "4:19 \u00b7 4:16 (alternate version) \u00b7 3:41 (radio edit)", "Label": "Lava Island", "Songwriter(s)": "Jessica Cornish", "Producer(s)": "Andre Brissett Claude Kelly"}}, {"...
false
# Seljuk (warlord) Seljuk (died c. 1007 or 1009), variously romanized, was an Oghuz Turk warlord. He was the eponymous founder of the Seljuk dynasty and the namesake of Selçuk, the modern town near the ruins of ancient Ephesus in Turkey. ## Name The warlord's personal name is Selçuk (/sɛl.tʃʰuk/) in modern Turkish, a ...
enwiki/219986
enwiki
219,986
Seljuk (warlord)
https://en.wikipedia.org/wiki/Seljuk_(warlord)
2025-07-13T10:49:10Z
en
Q5670642
115,153
{{Short description|Eponymous founder of the Seljuk dynasty}} {{Infobox royalty | name = Seljuk | title = [[Bey]] | image = | royal house = [[Seljuk dynasty]] | father = [[Tuqaq]] | death_date = {{circa}} 1007<ref name=Selçuk /> or 1009 (age 100/107) | death_place = [[Jand (Transoxania)...
1,300,277,343
[{"title": "Seljuk", "data": {"Died": "c. 1007 or 1009 (age 100/107) \u00b7 Jand", "Burial": "Unknown, possibly near Jand, Kazakhstan", "Issue": "- Mikail - Arslan - Musa - Yunus - Yusuf", "House": "Seljuk dynasty", "Father": "Tuqaq", "Religion": "- Previously: Tengrism - Later: Sunni Islam"}}]
false
# Société de transport de l'Outaouais Société de transport de l'Outaouais ([sɔsjete də tʁɑ̃spɔʁ də lutawɛ], STO) is the transit service of the Outaouais region of Quebec. It operates conventional services and the Rapibus, a bus rapid transit service, in Gatineau, Quebec, including the districts of Hull, Aylmer, Gatinea...
enwiki/30864603
enwiki
30,864,603
Société de transport de l'Outaouais
https://en.wikipedia.org/wiki/Soci%C3%A9t%C3%A9_de_transport_de_l%27Outaouais
2025-07-12T22:17:46Z
en
Q3488034
96,891
{{Short description|Transport agency in the Outaouais region of Quebec}} {{Use mdy dates|date=November 2011}} {{Infobox bus company | name = Société de transport de l'Outaouais | logo = Logo STO 02.svg | logo_size = | image = STO Bus.jpg | image_size = | image_caption ...
1,300,203,107
[{"title": "Soci\u00e9t\u00e9 de transport de l'Outaouais", "data": {"Founded": "1971", "Headquarters": "111, rue Jean-Proulx \u00b7 Gatineau, Quebec \u00b7 J8Z 1T4", "Locale": "Outaouais", "Service area": "Gatineau and Downtown Ottawa", "Service type": "Bus service, paratransit", "Routes": "66", "Stations": "11", "Fle...
false
# Yakimanka District Yakimanka District (Russian: райо́н Якима́нка) is a district of Central Administrative Okrug of the federal city of Moscow, Russia. Population: 26,578 (2010 Census); 22,822 (2002 Census). It is named after the former church of Saint Joachim and Saint Anne. Yakimanka contains the western half of the...
enwiki/9838525
enwiki
9,838,525
Yakimanka District
https://en.wikipedia.org/wiki/Yakimanka_District
2025-07-17T18:33:29Z
en
Q2704875
125,604
{{infobox Russian District |federal_subject=[[Moscow]] |en_name=Yakimanka District |ru_name=район Якиманка |image_view= Bolshaya Yakimanka Street.jpg }}{{Short description|District of Central Administrative Okrug, Moscow, Russia}} {{Moscow district OSM map |frame-align = right |plain = |text =...
1,301,029,756
[{"title": "Yakimanka District \u0440\u0430\u0439\u043e\u043d \u042f\u043a\u0438\u043c\u0430\u043d\u043a\u0430", "data": {"Country": "Russia", "Federal subject": "Moscow", "Time zone": "UTC+3 (MSK )", "OKTMO ID": "45384000"}}]
false
# Wanganui Education Board Provinces were abolished in New Zealand and the central government took control of education. The Education Act 1877 established twelve regional education boards, including this the Wanganui Education Board. ## Timeline - 1892 - Wanganui Technical School - founded by the Wanganui Education ...
enwiki/1814238
enwiki
1,814,238
Wanganui Education Board
https://en.wikipedia.org/wiki/Wanganui_Education_Board
2025-07-22T18:20:36Z
en
Q7967812
30,577
Provinces were abolished in New Zealand and the central government took control of education. The [[Education Act 1877 (New Zealand)|Education Act 1877]] established twelve regional education boards, including this the '''Wanganui Education Board'''. ==Timeline== * 1892 - Wanganui Technical School - founded by the Wa...
1,301,974,896
[]
false
# Bob McHugh (footballer) Robert McHugh (born 16 July 1991) is a Scottish professional footballer who plays as a striker for Pollok. McHugh has previously played for Motherwell, Falkirk, Greenock Morton and Queen's Park, as well as loan spells with Queen of the South, Airdrieonians and East Kilbride. ## Career ### Mo...
enwiki/20812813
enwiki
20,812,813
Bob McHugh (footballer)
https://en.wikipedia.org/wiki/Bob_McHugh_(footballer)
2025-08-09T18:54:49Z
en
Q2078856
127,279
{{short description|Scottish footballer}} {{Use British English|date=August 2014}} {{Use dmy dates|date=August 2014}} {{Infobox football biography | name = Bob McHugh | fullname = Robert McHugh | image = Robert McHugh.jpg | image_size = 200px | alt = | caption = McHugh (right) playing for Motherwell | birth_date = {{B...
1,305,046,034
[{"title": "Personal information", "data": {"Full name": "Robert McHugh", "Date of birth": "16 July 1991", "Place of birth": "Glasgow, Scotland", "Height": "5 ft 10 in (1.78 m)", "Position(s)": "Striker"}}, {"title": "Team information", "data": {"Current team": "Pollok FC"}}, {"title": "Senior career*", "data": {"Years...
false
"# Aubrey Dollar\nAubrey Dollar is an American actress. She is known for playing Marina Cooper on th(...TRUNCATED)
enwiki/2555812
enwiki
2,555,812
Aubrey Dollar
https://en.wikipedia.org/wiki/Aubrey_Dollar
2025-08-10T14:19:26Z
en
Q454272
60,956
"{{Short description|American actress|}}\n{{Infobox person\n| image = \n| birth_date = <!-- V(...TRUNCATED)
1,305,177,153
"[{\"title\": \"Aubrey Dollar\", \"data\": {\"Born\": \"Raleigh, North Carolina, U.S.\", \"Education(...TRUNCATED)
false
"# Clic Air\nClic Air (formerly known as EasyFly and officially Empresa Aérea de Servicios y Facili(...TRUNCATED)
enwiki/15126759
enwiki
15,126,759
Clic Air
https://en.wikipedia.org/wiki/Clic_Air
2025-08-12T18:19:28Z
en
Q1278338
99,673
"{{Short description|Low-cost airline of Colombia}}\n{{Distinguish|Clickair|EasyJet}}\n{{Infobox air(...TRUNCATED)
1,305,548,169
"[{\"title\": \"Clic Air\", \"data\": {\"IATA\": \"ICAO \\u00b7 Call sign\", \"VE\": \"EFY \\u00b7 E(...TRUNCATED)
false
"# Giorgi Japaridze\nGiorgi Japaridze (also spelled Giorgie Dzhaparidze) is a Georgian-American rese(...TRUNCATED)
enwiki/1866981
enwiki
1,866,981
Giorgi Japaridze
https://en.wikipedia.org/wiki/Giorgi_Japaridze
2025-01-30T02:43:19Z
en
Q5563424
92,923
"{{Multiple issues|\n{{Notability|1=Academics|date=June 2023}}\n{{Primary sources|date=June 2023}}\n(...TRUNCATED)
1,272,752,834
[]
false
End of preview. Expand in Data Studio

FineWiki Sampled Dataset (1,000,000,332 tokens)

This is a sampled subset of HuggingFaceFW/finewiki containing approximately 1,000,000,332 tokens.

Dataset Details

Source

  • Original Dataset: HuggingFaceFW/finewiki (English subset, train split)
  • Sampling Method: Reservoir sampling (unbiased random sampling)
  • Target Token Count: 1,000,000,332 tokens
  • Tokenizer: GPT-2 (50,257 vocabulary)

Sampling Statistics

  • Documents Sampled: 52,721
  • Average Tokens/Doc: 18971.0
  • Random Seed: 42

Sampling Method

This dataset was created using reservoir sampling, which ensures:

  • ✅ Unbiased random sample from the full dataset
  • ✅ Every document has equal probability of being selected
  • ✅ No distribution bias (early/late documents equally represented)
  • ✅ Streaming-based (no need to download full dataset)

The sampling algorithm:

  1. Streams through HuggingFaceFW/finewiki without downloading
  2. Uses GPT-2 tokenizer to count tokens per document
  3. Maintains a reservoir of documents using standard reservoir sampling
  4. Stops when target token count is reached

Usage

from datasets import load_dataset

# Load the dataset
dataset = load_dataset("codelion/finewiki-1B")

# Access the training data
for example in dataset['train']:
    print(example['text'])
    print(example['title'])
    print(example['url'])

Dataset Structure

Each example contains all fields from the original FineWiki dataset:

  • text (string): The Wikipedia article text (primary content)
  • id (string): Unique identifier
  • wikiname (string): Wikipedia source name
  • page_id (int64): Wikipedia page ID
  • title (string): Article title
  • url (string): Source Wikipedia URL
  • date_modified (string): Last modification date
  • in_language (string): Language code (always 'en' for this subset)
  • wikidata_id (string): Wikidata identifier
  • bytes_html (int64): Size of HTML content
  • wikitext (string): Original wikitext markup
  • version (int64): Article version number
  • infoboxes (string): Extracted infobox data
  • has_math (bool): Whether article contains mathematical formulas

Use Cases

This sampled dataset is ideal for:

  • 🔬 Small-scale language model pretraining experiments
  • 📊 Dataset composition studies
  • ⚡ Quick prototyping and testing
  • 💰 Low-cost training runs

Citation

If you use this model/dataset, please cite:

@article{sharma2025billion,
  title={The 1 Billion Token Challenge: Finding the Perfect Pre-training Mix},
  author={Sharma, Asankhaya},
  year={2025},
  url={https://huggingface.co/blog/codelion/optimal-dataset-mixing/}
}

For more details, see the blog post.

License

Apache 2.0 (same as original FineWiki dataset)

Dataset Card Authors

CodeLion

Dataset Card Contact

For questions or issues, please open an issue on the dataset repository.

Downloads last month
68

Collection including codelion/finewiki-1B