Papers
arxiv:2611.29874

Escriba-OCR: A 1B Vision-Language Model for Error-Preserving Transcription of Handwritten Portuguese Essays

Published on Nov 23
· Submitted by
Tardelli Stekel
on Nov 25

Abstract

Feedback tools and research on learner writing need transcriptions of handwritten essays that keep exactly what the student wrote: misspellings, line breaks, struck-through words and insertions. Vision-language models (VLMs) read handwriting well, but they also tend to rewrite it into correct language. We measure this on BRESSAY, 1,000 handwritten Brazilian Portuguese essays, with a benchmark that adds error preservation, invented errors, edit-markup precision and recall and line structure to the character error rate (CER) and uses paired bootstrap confidence intervals. We restrict the study to open-weight models that schools can run on their own hardware. Of 22 open baselines, the best, Qwen3-VL 235B-A22B, reaches 5.6% CER on the 199 test pages; none reproduces the edit markup reliably, and every VLM replaces 39-78% of the words absent from a Portuguese dictionary with dictionary words. We fine-tune LightOnOCR-3-1B on the 647 training pages in 85 minutes on one GPU. The resulting Escriba-OCR-1B reaches 2.06% CER, 3.5 points below the best baseline (95% CI [-4.2, -2.9]); under the ICDAR 2024 competition metric it reaches 2.1% CER, below the best published page-level results (2.2-2.4%). It recovers 67% of insertions and 77% of illegible deletions, and reproduces the line structure of 97% of the pages, but still normalises 60% of likely misspellings. Three seeds agree within 0.04 CER points, and quantised to 4 bits the model runs on an ordinary CPU at about one minute per page. On 40 letters of another corpus it matches its base model (without that model's appended comments) but misreads unseen words more often; weight interpolation recovers half the gap. A teacher's review finds that 45% of the judgeable apparent corrections are errors in the BRESSAY ground truth, so dictionary-based scores likely understate preservation. We release the model, the benchmark code and the review data.

Community

Paper author Paper submitter

Escriba-OCR-1B is a 1B-parameter OCR model that transcribes handwritten Brazilian Portuguese essays exactly as the student wrote them: misspellings, line breaks, struck-through words and insertions included. Feedback tools and research on learner writing need that, but vision-language models tend to rewrite the text into correct Portuguese.

  • Benchmark. 22 open baselines (0.8B to 400B parameters) on the 199 BRESSAY test pages, scored on CER plus error preservation, invented errors, edit-markup precision and recall, and line structure, with paired bootstrap confidence intervals. Every VLM replaces 39–78% of the words that are not in a Portuguese dictionary with dictionary words.
  • Model. LightOnOCR-3-1B fine-tuned on 647 pages in 85 minutes on one GPU: 2.06% CER against 5.60% for the best baseline, Qwen3-VL 235B-A22B (95% CI of the difference [−4.2, −2.9]). It recovers 77% of illegible deletions and 67% of insertions, and gets the line structure right on 97% of the pages.
  • Runs at school. Quantised to 4 bits, it transcribes a page in about a minute on an ordinary CPU, so the essays never leave the school's computers.
  • Limits. It still normalises 60% of likely misspellings, and on 40 letters from another corpus it misreads words it never saw in training more often than its base model. A teacher's review finds that 45% of the judgeable apparent corrections are errors in the BRESSAY ground truth.

Model: https://huggingface.co/tardellirs/Escriba-OCR-1B · CPU (GGUF): https://huggingface.co/tardellirs/Escriba-OCR-1B-GGUF · Demo: https://huggingface.co/spaces/tardellirs/Escriba-OCR-Demo · Code and benchmark: https://github.com/tardellirs/escriba-ocr

Sign up or log in to comment

Get this paper in your agent:

hf papers read 2611.29874
Don't have the latest CLI?
curl -LsSf https://hf.co/cli/install.sh | bash

Models citing this paper 2

Datasets citing this paper 0

No dataset linking this paper

Cite arxiv.org/abs/2611.29874 in a dataset README.md to link it from this page.

Spaces citing this paper 1

Collections including this paper 1