HeOCR Literature MEASURED v1.0

This Tesseract int8 model recognizes modern unpointed Hebrew literary print. Fine-tuned directly from Rivok Full. It was trained on line pairs from public-domain scans and Project Ben-Yehuda reading texts, with HeOCR historical-print line pairs and Rivok v2 replay. See NOTICE for source credits and licenses.

The release contains the exact measured weight file, heocr_literature.traineddata, under Apache-2.0. Its SHA-256 is 98e460d2b7de924371d94dccd16e6b6803537b31892e3830979c97ddb7d58c50.

Zenodo archive

Held-out evaluation: unpointed Hebrew literary print (PBY-H v0)

Measured model: HeOCR literature-measured v1.0, int8, MEASURED (TRAIN only), sha256:98e460d2b7de924371d94dccd16e6b6803537b31892e3830979c97ddb7d58c50. It's a fine-tune of Rivok Tesseract Full, run through heocr 0.3.0a2.

  • Selection: this checkpoint (35,000 samples seen) was picked on a separate development set, under a rule registered before training.
  • Scoring: scored once on this set, and the score was independently reproduced.

Set: PBY-H v0, unpointed stratum. It holds 36 pages from 12 public-domain Hebrew literary works in Project Ben-Yehuda, imaged from Internet Archive or Wikimedia Commons scans of the exact editions.

  • Lines: 1,164 in total. 147 lines where the edition and PBY's text diverge are masked for every reader alike, leaving 1,017 lines (53,547 reference characters) scored.
  • References: PBY's volunteer-proofread text, which is a reading text, not a diplomatic transcription.
  • Images: the model was never trained on any of these pages or crops (exact image check: 0 hits).
  • Registration: the set was frozen before any reader ran on it, and this model's run was registered before it ran.

Measure: page-level character error rate (CER, lower is better), line_fold_v1 normalisation. Intervals are from a paired bootstrap over the 12 works (2,000 resamples, seed 0).

Reader CER (%) WER (%) This model's relative CER change (one-sided 97.5% upper bound)
HeOCR literature-measured v1.0 7.03 21.0 β€”
Rivok Tesseract Lite 7.22 20.7 βˆ’2.5% (+7.1%)
HeOCR old-print v1.1 (previous) 7.33 22.1 βˆ’4.0% (+0.4%)
Google Cloud Vision 7.54 24.5 βˆ’6.7% (βˆ’0.5%)
Rivok Tesseract Full 7.67 22.6 βˆ’8.3% (+1.6%)
Google Document AI OCR 8.66 25.8 βˆ’18.7% (βˆ’8.9%)
Tesseract heb fast 10.57 32.1 βˆ’33.4% (βˆ’21.5%)
Tesseract heb best 11.02 32.3 βˆ’36.2% (βˆ’28.7%)
Rivok PaddleOCR 13.68 43.6 βˆ’48.6% (βˆ’43.3%)

Google Drive's built-in OCR was not run, because its API refused Hebrew as an OCR language.

Reading:

  • It is better than Google Cloud Vision, Google Document AI, Tesseract and Rivok PaddleOCR: those upper bounds are below zero. Against Vision the margin is thin (upper bound βˆ’0.5%).
  • It is statistically level with Rivok Lite, Rivok Full and HeOCR v1.1, so it is not a clear step up from v1.1.
  • This set isn't a pre-registered state-of-the-art category.

Caveats:

  • It's a fine-tune of Rivok Full, and level with it here.
  • Other Project Ben-Yehuda text is public and may appear in any reader's training data, this model's included. Text overlap is tagged, not excluded. Only exact page images are excluded.
  • One training line shares text with a different HeOCR held-out set (pointed print). It doesn't touch this set.
  • With 12 works, the intervals are wide.
  • The pointed pages of this set (2 works) are indicative only and not reported.
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for HeOCR/heocr-literature-measured

Finetuned
(5)
this model