Datasets:
attribution string | history_url string | id string | license string | raw_text_chars int64 | raw_text_sha256 string | raw_text_utf8_bytes int64 | revision_id string | revision_timestamp string | revision_url string | source_snapshot string | text string | text_chars int64 | text_sha256 string | text_utf8_bytes int64 | title string | url string | whitespace_normalized_sha256 string |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=734&action=history | 734 | CC-BY-SA-4.0 | 49,857 | e6b1d47317d7d431c01dde1f727b4140c836b07559c0a9cb27a820f2b91c17d1 | 50,046 | 1369857745 | 2026-08-17T16:40:25Z | https://en.wikipedia.org/w/index.php?oldid=1369857745 | enwiki-20260901 | Actinopterygii (; ), members of which are known as ray-finned fish or actinopterygians, is a class of bony fish that constitutes nearly 99% of the over 30,000 living species of fish. The vast majority of extant actinopterygian species are teleosts, and by species count they dominate the subphylum Vertebrata, comprising... | 15,932 | 1db219e6b463ef550012856b45afc4cdfe50b79b622c9f854f9b4c338043b6e6 | 16,047 | Actinopterygii | https://en.wikipedia.org/wiki/Actinopterygii | c5faf3a4f43fd94939aeb79844eb268efa8c452fb8e51be6965de97c1e3545ab |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=2763&action=history | 2763 | CC-BY-SA-4.0 | 26,587 | 3269c5eac5625da9c0d70b7a53dfd53ebeba340051037fb441be921d3b9b5de5 | 26,692 | 1371632137 | 2026-08-27T14:38:41Z | https://en.wikipedia.org/w/index.php?oldid=1371632137 | enwiki-20260901 | Acetylene
Propyne
1-Butyne
In organic chemistry, an alkyne is an unsaturated hydrocarbon containing at least one carbon—carbon triple bond. The simplest acyclic alkynes with only one triple bond and no other functional groups form a homologous series with the general chemical formula {{chem2|C_{n}H_{2n-2} }}. Alkyne... | 15,406 | 44b33aa043f7ab27bf0baee3b37f2dfad99905d20b44a355423f55fded3a639a | 15,476 | Alkyne | https://en.wikipedia.org/wiki/Alkyne | 312817954b0ca1f3161018248d4dd82c9e7fc371531961d61b8a385a26052e14 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=1543&action=history | 1543 | CC-BY-SA-4.0 | 8,250 | 75dd10692c9c6f0ea24e0867af7f9bce14041a8f7bc22d5f33b3dc0f81c698a3 | 8,256 | 1359646305 | 2026-06-16T11:50:10Z | https://en.wikipedia.org/w/index.php?oldid=1359646305 | enwiki-20260901 | Agapanthus africanus, commonly named the African lily, is a flowering plant from the genus Agapanthus found only on rocky sandstone slopes of the winter rainfall fynbos from the Cape Peninsula to Swellendam. It is also called the lily of the Nile in spite of only growing in South Africa.
Description
The plant is a rhiz... | 3,285 | 3c345014df9bd2afba69401f42224e3ee3b57bb39a09993f7b9315aca3468f7a | 3,285 | Agapanthus africanus | https://en.wikipedia.org/wiki/Agapanthus_africanus | 0f76594ecaa3dee11c57519cc0139726c688ff7c6e6e3130b00dd37f6b36d749 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=3277&action=history | 3277 | CC-BY-SA-4.0 | 89,241 | 338239469197cdbacf9f119681e65be151596ac41abc423771e4d89e7612805c | 89,611 | 1369794087 | 2026-08-17T05:32:44Z | https://en.wikipedia.org/w/index.php?oldid=1369794087 | enwiki-20260901 | Antioxidants are compounds that inhibit oxidation, a chemical reaction that can produce free radicals. Antioxidants are frequently added to industrial products, such as polymers, fuels, and lubricants, to extend their usable lifetimes. Foods are also treated with antioxidants to prevent spoilage, in particular the ranc... | 27,276 | e49047173803ba4d65cc11d8eed279e59a15d658370c57ea7cce3910b4069814 | 27,330 | Antioxidant | https://en.wikipedia.org/wiki/Antioxidant | e89f0756b535de6641abf152c9f8f871fd6fed0f82d6074ef80f5e41a003900a |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=1541&action=history | 1541 | CC-BY-SA-4.0 | 74,881 | 22c76f8b500d4f57e6e13414990d18b78c17211ac0f2f9bc4df0d89ed417beb7 | 75,117 | 1372095992 | 2026-08-30T07:51:59Z | https://en.wikipedia.org/w/index.php?oldid=1372095992 | enwiki-20260901 | Events
Pre-1600
989 – The death of Bardas Phokas the Younger in the battle of Abydos ends his second rebellion against Byzantine Emperor Basil II.
1055 – Election of Pope Victor II following the death of Pope Leo IX in the previous year.
1111 – Henry V, King of Germany, is crowned Holy Roman Emperor by pope Paschal II.... | 27,917 | 0ca26b6080d78f00767870c486f0af26778c794607e485e363fd8ea957d08312 | 28,712 | April 13 | https://en.wikipedia.org/wiki/April_13 | bdcec6d2f5c219fbd8e50ae4e3f5efb2388fd7949f2f660d6b87a2b23db79ca7 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=1603&action=history | 1603 | CC-BY-SA-4.0 | 1,189 | 3e2f3ec0a70f17872116a2514f123e5d6c2705c766f2d531e2851ff12cb7e751 | 1,199 | 1324632606 | 2025-11-28T19:53:20Z | https://en.wikipedia.org/w/index.php?oldid=1324632606 | enwiki-20260901 | Alexander II may refer to:
Alexander II of Macedon, king of Macedon from 370 to 368 BC
Alexander II of Epirus (died 260 BC), king of Epirus in 272 BC
Alexander II Zabinas, king of the Greek Seleucid kingdom in 128–123 BC
Alexander (Byzantine emperor) ruled from 912 to 913
Pope Alexander II of Alexandria, ruled from 702... | 875 | 2bfd7c5deefcf0fcc616c965f79925c93df6466ac5e8926f69301bb2a1abf047 | 885 | Alexander II | https://en.wikipedia.org/wiki/Alexander_II | fc7a1a2e62b77c862324e206dc42ea3ed7d3a5882af40d3e1224d16362b3a6e2 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=2900&action=history | 2900 | CC-BY-SA-4.0 | 3,974 | 219d108c908039e911274757d44d74e6dd8ee99ac5fc7ba60a0c95194b537143 | 3,980 | 1331593244 | 2026-01-07T03:42:36Z | https://en.wikipedia.org/w/index.php?oldid=1331593244 | enwiki-20260901 | A file archiver is utility software that combines files into a single archive file or in less common cases, multiple files. A relatively simple implementation might include the content of each file plus its name. A more advanced implementation stores additional metadata, such as the timestamps, file attributes and acce... | 3,011 | db4c458ce7d47609bd8be19d834ab4384e27f84d9ac02178046893486aa567fa | 3,017 | File archiver | https://en.wikipedia.org/wiki/File_archiver | 05fa101ab371c221c2acca68353b1cb5fef7c81bf2d4ce0406f145dab17ffad2 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=2512&action=history | 2512 | CC-BY-SA-4.0 | 61,632 | 302464d42bbea90d9e9df328bcc409c407438d51677e13c317cf3bf268d89bc4 | 61,781 | 1371935703 | 2026-08-29T12:52:27Z | https://en.wikipedia.org/w/index.php?oldid=1371935703 | enwiki-20260901 | The Asian Development Bank (ADB) is a regional development bank to promote social and economic development in Asia. The bank is headquartered in the city of Mandaluyong, in Metro Manila, Philippines, and maintains 31 field offices around the world.
The bank was established on 19 December 1966 and admits the members of... | 25,382 | 63f85a5778d04bad3de847f80898a2ba6f2e1d5f3d3bd4bb404a3ebbec9d8f6d | 25,435 | Asian Development Bank | https://en.wikipedia.org/wiki/Asian_Development_Bank | 262275b3f9ec1c627eb316e42d0659a9c24eeca3de5b3ceb87185ecaac6ed0ee |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=2238&action=history | 2238 | CC-BY-SA-4.0 | 16,133 | 9a471c69d1843fbac8f5749aa79541e499d15f03a0c79d9aea66f46666516be3 | 16,156 | 1361595391 | 2026-06-28T23:09:45Z | https://en.wikipedia.org/w/index.php?oldid=1361595391 | enwiki-20260901 | Baldassarre Cossa (died November 1419) was Pisan antipope as John XXIII (1410–1415) during the Western Schism. The Catholic Church today regards him as an antipope in opposition to Pope Gregory XII, whom it recognizes as the rightful successor of Saint Peter. John XXIII was also an opponent of Benedict XIII, who was re... | 8,601 | 1022b9de1c951bfd40aceefe97c9e074f263b209b4b8f9c613317ae863c6389c | 8,607 | Antipope John XXIII | https://en.wikipedia.org/wiki/Antipope_John_XXIII | 06fb3c9fb1ece057a830c66fcf1a076aaef8eda738df9a113892a3bb99264926 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=2889&action=history | 2889 | CC-BY-SA-4.0 | 26,395 | 71e6c6931fccf2fc34493b8b6d5d50fd2488ed18d73c5f0fb0698c219a19644e | 26,588 | 1367011880 | 2026-07-31T11:49:49Z | https://en.wikipedia.org/w/index.php?oldid=1367011880 | enwiki-20260901 | In condensed matter physics and materials science, an amorphous solid (or non-crystalline solid) is a solid that lacks the long-range order that is a characteristic of a crystal. The terms "glass" and "glassy solid" are sometimes used synonymously with amorphous solid; however, these terms refer specifically to amorpho... | 10,699 | d9fc9097dc861fe6baf33cb6c55c5f3cdbe43084658440f16a9759185b6b7cda | 10,704 | Amorphous solid | https://en.wikipedia.org/wiki/Amorphous_solid | f6bcbdde4a46f672b90e7ffd5f135ccb19576a71c178a1e4d5ec05fec555dc13 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=1456&action=history | 1456 | CC-BY-SA-4.0 | 45,266 | aaf9101c98fca560168508f8204490f6e12dbe03ee5d8d3c18ebd1837e17b007 | 45,294 | 1370363403 | 2026-08-20T18:15:15Z | https://en.wikipedia.org/w/index.php?oldid=1370363403 | enwiki-20260901 | AWK is a scripting language designed for text processing and typically used as a data extraction and reporting tool. Like sed and grep, it is a filter, and it is a standard feature of most Unix-like operating systems. The shell command that runs the AWK processor is named .
The AWK language is a data-driven scripting ... | 22,899 | dc63944e3cfe8505c6b78b5562c1cdee3aee8a1e015b11b031854a50c939b0a9 | 22,917 | AWK | https://en.wikipedia.org/wiki/AWK | b070092d1313e91cc44bdf7ad4b944b7b831015a0e697a059cdf39f97a9ec261 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=1508&action=history | 1508 | CC-BY-SA-4.0 | 6,338 | 732d32a5dcbf2419b525a412efaa1173f03debcd4c9533e1fd61ffb107130894 | 6,353 | 1365213088 | 2026-07-21T00:56:42Z | https://en.wikipedia.org/w/index.php?oldid=1365213088 | enwiki-20260901 | Albert II (; 28 March 15228 January 1557) was the margrave of Brandenburg-Kulmbach (Brandenburg-Bayreuth) from 1527 to 1553. He was a member of the Franconian branch of the House of Hohenzollern. Because of his bellicose nature, Albert was given the cognomen Bellator ("the Warlike") during his lifetime. Posthumously, h... | 3,590 | f451f7dedc15bc753c8f9d600b8f8830d05d21d03d840ab550b62547be7c14f2 | 3,595 | Albert Alcibiades, Margrave of Brandenburg-Kulmbach | https://en.wikipedia.org/wiki/Albert_Alcibiades%2C_Margrave_of_Brandenburg-Kulmbach | a745d75cf70ccdc421fbfb83212096645c2c1d4fbd671a76d76ab2a65ac98e24 |
English Wikipedia contributors (see revision_url and history_url) | https://en.wikipedia.org/w/index.php?curid=3100&action=history | 3100 | CC-BY-SA-4.0 | 4,074 | 56f8972a455be03668399e776327ce821ed7f6d9e974c114b52e2d252e3c60e0 | 4,093 | 1317067215 | 2025-10-16T03:35:11Z | https://en.wikipedia.org/w/index.php?oldid=1317067215 | enwiki-20260901 | Aga or AGA may refer to:
Aviation
IATA airport code for Agadir–Al Massira Airport in Souss-Massa Region, Morocco
Business
Abellio Greater Anglia, former train company in England
AGA AB, , a Swedish company, the originator of the AGA cooker
AGA (automobile), , 1920s German car company
AGA Rangemaster Group, British manu... | 3,295 | b0f78e477aaa010624841814a1b041050e2d592c7f0f989ad2120fd0b01227ec | 3,312 | Aga | https://en.wikipedia.org/wiki/Aga | f44db8ae2f586d44f46e943c9f66b9e731eca94007e0cf395d1861e5b9ec6c30 |
A2 English data
This dataset contains cleaned English Wikipedia training and development text for CS 489 Assignment 2 at the University of Waterloo (Fall 2026). The public release is compling/cs489-f26-a2, part of the CS 489 F26 collection. Only train and dev are released; no held-out evaluation inputs are included.
| Split | Documents | Cleaned document characters | TXT characters | TXT UTF-8 bytes |
|---|---|---|---|---|
| Train | 854 | 10,007,545 | 10,009,252 | 10,057,865 |
| Dev | 76 | 1,014,702 | 1,014,853 | 1,021,824 |
Load with Hugging Face Datasets
Install datasets and load the default configuration:
from datasets import load_dataset
data = load_dataset("compling/cs489-f26-a2")
assert len(data["train"]) == 854
assert len(data["dev"]) == 76
article = data["train"][0]
text = article["text"]
The split names are train and dev (not validation).
Each row is one complete article, in the original JSONL order, with all 18 text and provenance fields preserved.
Page IDs, revision IDs, and revision timestamps are strings; character and byte counts are integers.
The explicit Parquet split configuration prevents the original TXT and JSONL copies from being loaded as additional examples or split into individual lines.
Parquet preserves the JSONL field types exactly, including the original ISO 8601 revision timestamp strings.
For the assignment's plain-text input files, download the original TXT files without reconstructing document boundaries:
from huggingface_hub import hf_hub_download
for split in ("train", "dev"):
hf_hub_download(
repo_id="compling/cs489-f26-a2",
filename=f"{split}.txt",
repo_type="dataset",
local_dir="data",
)
All TXT and JSONL files are byte-identical to the prepared release and match manifest.json.
For reproducible experiments, supply the same dataset commit hash as revision= to both APIs.
Files and boundaries
train.parquetanddev.parquet: Hugging Face dataset tables, preserving every field and row from the corresponding JSONL.train.txtanddev.txt: UTF-8 text without a BOM, complete articles separated by two newline characters, followed by one final newline.train.jsonlanddev.jsonl: one complete article per JSON line, in exactly the corresponding TXT order.manifest.json: pinned source and cleaner provenance, exact counts, and SHA-256 checksums.LICENSE.txt: license, attribution, and modification notice.
Every JSONL record includes id, title, url, and text.
Additional fields identify the source snapshot, exact Wikipedia revision and timestamp, contributor-history URL, license/attribution, raw and cleaned text hashes/counts, and a whitespace-normalized deduplication hash.
Use JSONL when explicit document boundaries or attribution are needed: blank lines inside articles make TXT blank-line splitting ambiguous.
Parse JSONL one physical line at a time and decode each line as JSON.
The character quotas count Unicode code points in cleaned document text, not UTF-8 bytes or tokenizer tokens. The TXT character and byte totals include inter-document separators and the final newline. Whole documents are retained even when a split slightly exceeds its quota. Train and dev have disjoint page IDs, URLs, cleaned-text hashes, and whitespace-normalized cleaned-text hashes. No vocabulary is supplied or inferred from held-out data; a fixed UTF-8 byte tokenizer requires no corpus-derived vocabulary.
Provenance and caveats
Source: English Wikipedia, enwiki-20260901 raw XML dump.
Only a bounded compressed prefix was retrieved, not the complete dump.
The original input was raw wikitext, not an upstream plaintext extraction.
Each full article was cleaned by the unmodified CS 489 A1 standard clean_text(raw, wiki='en') implementation.
Its SHA-256 is 79bfc0ed7cfb32ba167d7d5b42bdfb1a6e1871a610cb1894d1e4bbccef020626.
See the manifest for snapshot, source-checksum, and preparation-code details.
This is a shuffled, filtered prefix sample, not a uniform Wikipedia or general-English sample. Early page order favors older articles, and the 500 to 30,000 cleaned-character length bounds exclude short stubs and long articles. Alphabetic/Latin-letter filters, Wikipedia editorial biases, markup removal, and residual extraction artifacts affect the text. Related articles and repeated passages can remain despite whole-document deduplication. Source Unicode punctuation is preserved; character counts and byte counts therefore differ.
License and attribution
Copyright belongs to the English Wikipedia contributors.
The cleaned adaptation is supplied under Creative Commons Attribution-ShareAlike 4.0.
Article, exact-revision, and page-history links in JSONL provide per-document attribution and contributor histories.
See Wikipedia:Copyrights for individual notices and additional licensing conditions; GFDL eligibility is subject to exceptions.
Modifications consist of A1 markup removal/normalization, whole-document filtering and deduplication, reordering, and TXT separators.
Keep the corresponding JSONL, LICENSE.txt, and manifest with redistributed text, retain attribution, and comply with the applicable share-alike terms.
- Downloads last month
- 72