← Datasets

Compare

principia-collection
#141 · remove
🌐 FineWiki
#139 · remove
Kinddatasetdataset
Published20252025
Licensecc-by-nc-sa-4.0cc-by-sa-4.0, gfdl
License familyNon-commercialCopyleft
Accessfreefree
Language codesen—
Modalitiesimage, texttabular, text
Size100K to 1M rows10M to 100M rows
Downloads (last month)30210,432
Likes47324
Last updated2025-12-192025-10-22
Tasks—text-generation
Formatsparquetparquet
ScaleHF default: mathematical_object 248,743 rows / 442,009,655 bytes; numerical 305,656 / 368,733,360; total 554,399. download_size 352,615,622 (~352.6 MB) / dataset_size 810,743,015 (~810.7 MB). usedStorage 353,441,462 bytes (~353.4 MB). 2 parquet files. YAML size_categories 100K<n<1M. Paper: 248,748 math-object instances after dropping 134,172 of 382,920 proposals (9,573 topics × 40 strategies). Card math-object answer-length: mean 135.3 / median 73 / Q1 28 / Q3 161 tokens. gated=false. Hub 5.1K downloads / 45 likes at check.Card: 61,550,610 pages; 184.7 GB (language_subsets.csv size_bytes). 325 configs. English 15 parquet shards ~2.4–2.7 GB each (~37 GB on disk vs 35.1 GB listed). YAML license cc-by-sa-4.0 + gfdl. HF 9,760 downloads / 315 likes at check. usedStorage Unknown (full dump not summed independently; card 184.7 GB is the published size).
Formatparquet (2 files). Columns: topic, problem_statement, answer, answer_type. Splits mathematical_object and numerical under default config.parquet per language (text markdown-ish, id, wikiname, page_id, title, url, date_modified, in_language, wikidata_id, bytes_html, wikitext, version, infoboxes JSON, has_math)
TypeAnnotated reasoning corpus / synthetic math-object SFT-RL problemsPretraining corpus / cleaned multilingual Wikipedia
CostFreeFree
LanguagesEnglish 100% (card language:en). Problem statements and LaTeX answers are English + math. No LID table.325 language editions (one YAML config each; default en). Card table: 184.7 GB / 61,550,610 pages. Byte share of 184.7 GB: English 19.0% (35.1 GB / 6,614,655 pages); German 7.1% (13.1 GB / 2,713,646); French 6.6% (12.1 GB / 2,566,183); Russian 5.8% (10.7 GB / 1,817,813); Japanese 5.4% (9.9 GB / 1,354,269); Spanish 4.6% (8.5 GB / 1,948,965); Italian 4.0% (7.4 GB / 1,799,759); Ukrainian 2.9% (5.4 GB / 1,239,253); Chinese 2.8% (5.1 GB / 1,295,955); remaining ~315 editions 41.9%. Page share: English 10.7%; Cebuano 9.2% (5,647,436 pages / 4.4 GB — bot-article heavy); Swedish 4.0%; Dutch 3.4%. Non-English wikis drop predominantly-English pages; script must match the language.
ModalityText + LaTeX (no images; self-contained statements by filter)Text + structured infobox JSON + math/tables in text. Images not shipped.
Domainmathematical-object reasoning; graduate STEM (math/physics); RL post-training; hard-to-verify answersmultilingual encyclopedic Wikipedia; HTML-extracted articles with tables/math/infoboxes
Time periodHF createdAt 2025-11-04; lastModified 2025-12-19T23:05:45Z. Paper arXiv 2603.18886 (2026). Topics from MSC 2020 and PhySH (living taxonomies). Synthetic GPT-OSS-120B generation. Discord posted 2025-11-11.Wikimedia Enterprise HTML snapshots from August 2025. HF lastModified 2025-10-22. Per-page date_modified is the last Wikipedia revision. Wikipedia itself since 2001. Discord posted 2025-11-11.
Purpose248K synthetic graduate-level problems whose answers are equations/inequalities/intervals/sets/matrices/piecewise functions (not numerical/MCQ), for RL to teach derivation of mathematical objectsUpdated, better-extracted Wikipedia pretraining dump vs wikimedia/wikipedia (2023 markdown dumps); keeps tables/math, drops redirects/disambiguation/citation sections
Used forPaper: GRPO RL on Qwen2.5-7B-Base / Qwen3-4B-Base / Qwen3-4B / OctoThinker-8B-Long-Base → +7.22–18.35 pp PrincipiaBench and transfer to AIME-2024 (+7.5–17.5) and GPQA-Diamond (+12.31–25.47). Hub 5.1K downloads / 45 likes at check. Discord posted the HF pointer.HuggingFace FineWiki viewer space. Hub 9,760 downloads / 315 likes at check. Discord posted the HF pointer. Complements FineWeb HTML crawls and the EN+FR Wikipedia Structured Contents Kaggle dump already in this catalog.
AuthorsFully synthetic. Proposer/filter/majority-vote labeler: GPT-OSS-120B (8 samples + pairwise equivalence + union-find). Topic seeds: MSC 2020 and PhySH entities (9,573). FAIR at Meta + UCLA + CMU (Aggarwal, Ghazvininejad, Kim, Kulikov, Lanchantin, Li, Liu, Neubig, Ovalle, Saha, Sukhbaatar, Welleck, Weston, Whitehouse, Williams, Xu, Yu, Yuan, Zhang, Zhao; paper authors alphabetical).Volunteer Wikipedia editors per language community. Hugging Face FineWeb team (Guilherme Penedo) extracted from Wikimedia Enterprise HTML. Infoboxes/templates vary by wiki.
BiasSynthetic GPT-OSS-120B graduate STEM (MSC+PhySH coverage by design; not contest-math like AIME/Numina). Six answer types only — no proofs, numerics, or MCQ in the math-object split. Numerical split is a same-topic extra (paper: MCQ-only training transferred poorly; math-object+numerical weight-merge was best). Residual teacher style and topic-taxonomy skew. English-only.Wikipedia coverage gaps (gender/geography/language). English is 19% of bytes but only 11% of pages; Cebuano/Waray/Swedish page counts inflated by bots. Only Wikipedia NS0, not Wikisource/Wikibooks. Citation/see-also sections stripped. Low-resource wikis still noisy despite LID/script filters.
Text qualityGPT-OSS-120B proposal → revision for conceptual depth → filter (single self-contained question, required answer type, no leaked solution) → 8-sample majority vote with pairwise math-object equivalence and transitivity repair (keep if ≥5/8 agree). Paper: rule-based math-verify is fragile on these objects (Principia VerifyBench: o3 94.05% vs math-verify 5.95% on disagreement cases); RL needs a strong LM verifier (GPT-OSS-120B). Residual invalid or underspecified items possible.HTML Enterprise dumps fully render templates (unlike wikitext dumps). Redirects/disambiguation removed. Tables and math kept (has_math flag); wikimedia/wikipedia drops both. Infoboxes JSON in metadata. Ultra-short pages without infoboxes dropped. Residual: HTML not standardized across languages so some subsets may be sub-optimal (card).
Sample sizemathematical_object 248,743 (card type counts: Set 46,869; Interval 42,728; Equation 42,714; Inequality 41,670; Matrix 39,386; Piecewise Function 35,381 — sum 248,748, 5 more than the HF split). numerical 305,656 (Integer no unit 54,077 / with unit 51,612; Decimal 42,986 / 43,994; Fraction 58,039 / 54,953). No val/test in this repo. Paper held-out val is 40/type = 240, not released here. Sister facebook/principia-bench is the eval set (card 2,241 rows; paper 2,158 after dropping 128 high-variance), not a split.One train split per language config (325). Default en 6,614,655. No official 10BT-style sample. language_subsets.csv lists pages + size per subset.
Long contextMixed (paper: longer statements/answers than OpenR1-Math / NaturalReasoning / DeepScaleR / NuminaMath; mean math-object answer 135 tokens). Not book-length. Paper RL max response 8,192 (thinking Qwen3-4B up to 90k).Yes (full articles; some very long pages with tables/wikitext retained)
Intermediate stepsYes (MSC2020/PhySH topic mining → 40 strategy sketches/entity → GPT-OSS-120B problem+CoT with random object type → revision CoT → GPT-OSS-120B validity filter → 8-sample self-consistency with pairwise equivalence). Paper §1.3.3; prompts in §4.3. No public generation repo on the card.Yes (Enterprise HTML snapshot; adapted mwparserfromhtml; drop redirect/disambiguation; strip localized References/See also/Notes; extract infoboxes; script+LID filter; drop ultra-short no-infobox pages). Pipeline in repo src/ on datatrove.
Idea qualityHighHigh
NoveltyHigh (open RL set whose answers are exclusively complex mathematical objects; PrincipiaBench shows MCQ overestimates this skill)High (325-lang HTML Wikipedia with tables/math/infoboxes vs 2023 wikimedia/wikipedia)
Text conversionReady parquet; load_dataset('facebook/principia-collection', split='mathematical_object') or split='numerical'. Small dump (~353 MB).Ready parquet. YAML configs are language codes (en, es); README load_dataset name=eswiki example is likely wrong — use name=es or datatrove ParquetReader on data/eswiki. Streaming recommended.
Collection methodDownloadDownload
StaticUnknown (HF lastModified 2025-12-19; one-shot GPT-OSS-120B dump; paper 2026)Unknown (HF lastModified 2025-10-22; August 2025 snapshot; Wikipedia itself is live)
ProcessedUnknownUnknown
SummaryPrincipia Collection is a large-scale dataset designed to enhance language models’ ability to derive **mathematical objects** from **STEM-related problem statements**. Each instance contains a problem statement, a ground truth answer, an answer type, and a topic label. The topics are drawn from [*Physics Subject Headings (PhySH)*](https://physh.org/) and [*Mathematical Subject Classification (MSC 2020)*](https://zbmath.org/static/msc2020.pdf).This is an **updated and better extracted** version of the `wikimedia/Wikipedia` dataset originally released in 2023. We carefully parsed [Wikipedia HTML dumps](https://dumps.wikimedia.org/other/enterprise_html/) from *August of 2025* covering 325 languages.