← Datasets

Compare

LaTeX_OCR
#147 · remove
wikipedia-monthly
#91 · remove
Kinddatasetdataset
Published20242025
Licenseapache-2.0cc-by-sa-4.0
License familyPermissiveCopyleft
Accessfreefree
Language codes—ab, ace, ady, af, ak, als, alt, am, ami, an, ang, ann, anp, ar, arc, ary, arz, as, ast, atj, av, avk, awa, ay, az, azb, ba, ban, bar, bbc, bcl, bdr, be, bew, bg, bh, bi, bjn, blk, bm, bn, bo, bpy, br, bs, btm, bug, bxr, ca, cdo, ce, ceb, ch, cho, chr, chy, ckb, co, cr, crh, cs, csb, cu, cv, cy, da, dag, de, dga, din, diq, dsb, dtp, dty, dv, dz, ee, el, eml, en, multilingual
Modalitiesimage, texttext
Size100K to 1M rows—
Downloads (last month)7566,276
Likes18182
Last updated2024-12-292026-10-03
Tasksimage-to-texttext-generation
Formatsparquet—
ScaleAcross configs Hub lists ~268.8K rows (overlapping formula sets — do not add configs as unique n). full printed 76,318 train / 8,475 val / 9,443 test; synthetic_handwrite 76,266 / 9,565 / 9,593; human_handwrite 1,200 / 68 / 70; human_handwrite_print same counts; small 50 / 30 / 30. size_categories 100K<n<1M. Downloads ~38.3K likes ~181. full train parquet ~383 MB; synthetic_handwrite download ~616 MB.Card current export 62.8M articles / 343 languages (all-exports column also 62.8M / 361 langs). size_categories tag 100M<n<1B vs 62.8M — catalog card 62.8M; Hub tag is inflated by latest+dated aliases plus 1000/5000/10000 subsample splits. usedStorage Unknown. Hub overview 134.3K downloads / 77 likes at check. gated=false. YAML train n for some large editions look rounded (it 580,000 / no 470,000 / ro 100,000) — per-lang n not independently counted.
FormatParquet per config/split with columns image (Image), text (string). Configs: default(=full train), full, synthetic_handwrite, human_handwrite, human_handwrite_print, small.Parquet under dated dump dirs plus latest.{lang} aliases. Splits train / 1000 / 5000 / 10000. Also SentencePiece models, n-gram pickles, vocabulous dictionaries, stats JSON per language in older 20250720/{lang} trees. Schema columns not independently listed here (viewer returned a full article).
Typeimage-to-text formula OCR corpus (multi-config)Raw-text encyclopedia pretrain corpus / per-language Wikipedia articles + tokenizer/n-gram artifacts
CostFreeFree
LanguagesLaTeX math tokens (language-agnostic). Card/README bilingual CN/EN documentation. Not LID-ed as natural language.Card current export 343 languages / all exports 361. YAML one config pair per edition (latest.{lang} aliases 20260301.{lang}). Per-language percents Unknown without summing train splits. Some editions 0 rows in YAML (e.g. na, nan, nds-nl, sh). English n Unknown independently here — do not copy FineWiki en 6,614,655 as this dump's n.
ModalityImage + text (formula PNG/JPG ↔ LaTeX string)Text-only (Wikipedia article text). Tokenizer/n-gram artifacts are side files, not extra article n.
Domainmathematical formula OCR; image-to-LaTeX; printed and handwritten equation recognitionWikipedia encyclopedia; multilingual pre-training; n-gram/tokenizer artifacts
Time periodHF created 2024-06-10 lastModified 2024-12-29; Discord mid 1439770056413286420; upstream Zenodo/CROHME olderCard last updated 2026-03-14 21:06 UTC (March 2026 export). YAML dated configs 20260301.{lang} with latest.{lang} aliases. On-disk also has 20250701.{lang} and 20250720/{lang} dirs from earlier dumps. Discord posted 2025-09-30. Live monthly pipeline, not a frozen FineWiki snapshot.
PurposeProvide printed, synthetic-handwritten, and human-handwritten formula image↔LaTeX pairs for training LaTeX OCR modelsMonthly multilingual Wikipedia dumps processed for NLP/pre-training — XML dump parse plus a 9-stage pipeline (normalize, SentencePiece, n-grams, article scoring, representative samples)
Used forLaTeX_OCR / LaTeX_OCR_PRO training; im2latex-style OCR; handwritten vs printed math recognition evalNone named on the card beyond NLP/pre-training. Hub overview 134.3K downloads / 77 likes at check. Discord posted the HF URL. DOI 10.57967/hf/6575.
AuthorsPackager linxy (LinXueyuanStdio). Upstream: Zenodo formula corpus (record 56198), CROHME handwriting, plus author-synthesized handwriting fonts over full formulas.Omar Kamali processing pipeline over official Wikimedia XML dumps. Article text by Wikipedia contributors. Independent of HuggingFaceFW FineWiki and Open Index Markdown.
BiasSTEM formula distribution from im2latex/Zenodo + CROHME contest handwriting; synthetic handwriting fonts may not match all real pen styles; AST filter removes unrenderable LaTeX (slight undercount vs raw ~100k claim)Inherits Wikipedia edition mix (English/Cebuano/German-heavy article counts on sibling dumps). Community-edited encyclopedia, not web crawl. Distinct from already-cataloged FineWiki (HuggingFaceFW 61,550,610 pages / 325 langs / 184.7 GB quality-filtered) and Open Wikipedia Markdown (65,922,463 articles / 367 langs) — this is a monthly dated dump plus tokenizer/n-gram artifacts, not those two conversions.
Text qualityIndependently previewed full/train 0–2: coherent multi-line / inline LaTeX (metric ds^2; Hopf gamma sum; rho_L(q) sum). README claims AST validation. Residual: Chinese-primary README; exact Zenodo subset mapping not re-derived here.Source is official Wikimedia dumps. Per-lang README: 9-stage pipeline (unscript normalize, SentencePiece, vocabulous LID, n-grams, article scoring, coverage samples). Residual: YAML 1000/5000/10000 splits exist even when train n < that size (empty/padded Unknown); some train n look rounded; quality not independently re-parsed here.
Sample sizeSee Scale per config. default config exposes full/train only (76,318). Prefer named config full or synthetic_handwrite for val/test.Card 62.8M articles across 343 current-export languages. latest.{lang} aliases 20260301.{lang} — do not add them. Splits 1000/5000/10000 are representative subsets, not extra n. Older on-disk 20250701/20250720 dirs are prior months, not extra current-export n. No val/test.
Long contextNo (single formula images; LaTeX strings typically short–medium)Yes (full Wikipedia articles). Exact token histogram Unknown without aggregating parquet.
Intermediate stepsYes — upstream formulas → LaTeX AST filter → render print images; synthetic handwriting font overlay; CROHME human handwriting subset; paired print render for human_handwrite_printYes (download Wikimedia XML; parse; unscript normalize; train SentencePiece; vocabulous dictionary; 2/3/4-gram models; article scoring; coverage-optimized samples; Hub publish). Pipeline v1.0.0 on the 20250720/ab README.
Idea qualityHighHigh
NoveltyMedium (well-known LaTeX OCR packaging; convenient HF multi-config of Zenodo+CROHME+synthetic HW)Medium (public monthly Wikipedia dump on Hub vs already-cataloged FineWiki / Open Wikipedia Markdown; still the dump-channel monthly pointer with dated configs)
Text conversionReady: load_dataset("linxy/LaTeX_OCR", name="full"|"synthetic_handwrite"|..., split=...). Viewer works.Ready parquet; load_dataset('omarkamali/wikipedia-monthly', 'latest.en', split='train', streaming=True). Do not load every latest.* + 20260301.* config (aliases). Prefer train over 1000/5000/10000 subsets. Streaming required.
Collection methodDownload / datasets.load_datasetDownload
StaticYes (HF lastModified 2024-12-29; frozen packaging)No (monthly pipeline; latest aliases the current dump; HF lastModified 2026-03-14; card 2026-03-14 21:06 UTC).
ProcessedYes (AST-filtered, rendered/synthesized images, train/val/test splits)Unknown
Summary本数据仓库是专为 [LaTeX_OCR](https://github.com/LinXueyuanStdio/LaTeX_OCR) 及 [LaTeX_OCR_PRO](https://github.com/LinXueyuanStdio/LaTeX_OCR) 制作的数据,来源于 `https://zenodo.org/record/56198#.V2p0KTXT6eA` 以及 `https://www.isical.ac.in/~crohme/` 以及我们自己构建。This repository provides **monthly, multilingual dumps of Wikipedia**, processed and prepared for easy use in NLP projects.