Skip to content
OpenTrain AIFor AI Companies

TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models

Published Sep 1, 2021
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Thin evidence
Verify before relying
Time to first repro
A few days
Plan setup time
Risk flags
2
Review before use

Results and benchmarks

Freshness tier: cold
TrOCR: Transformer-based Optical Character Recognition with Pre-trained Models presents a transformer method.
Task Dataset Metric Value Source
Transformer IAM Handwriting CER 4 paper-derived
Language modeling From Scratch Recall 38.43 paper-derived
Language modeling + Pretrained Model Precision 72.95 paper-derived
Language modeling + Data Augmentation Precision 82.58 paper-derived
Transformer CRNN Precision 48.58 paper-derived
Transformer Tesseract OCR Recall 57.50 paper-derived

Audit each benchmark finding before selecting an implementation path. Evidence refs map to the disclosure below.

Implementation

Best maintained implementation now

Recommended
Confidence: High
Reproducibility: Limited

Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities

22,193 stars · 2,702 forks · Last push Jan 23, 2026 · MIT license

  • License
  • CI
  • Dependencies
  • Docker

Official implementation from Papers with Code · Community adoption signal (22193 stars)

Why this implementation
Confidence: high

microsoft/unilm is the strongest maintained implementation based on ranking signals. License is declared (MIT).

Open microsoft/unilm
Reproduction risks
  • No CI workflows detected
  • Dependency manifest is missing
  • Selected microsoft/unilm as the strongest maintained implementation for new work.
  • Repository activity is within the last 24 months.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

microsoft/unilm
best maintained
Maintenance
Stale risk
Confidence
High
Reproducibility
Limited
Stars
22,193
Last push
Jan 23, 2026 (215d)

Official implementation from Papers with Code · Community adoption signal (22193 stars)

  • No CI pipeline detected
  • No Docker setup
  • Dependency manifest missing
Maintenance
Active
Confidence
Low
Reproducibility
Strong
Stars
164,399
Last push
Aug 24, 2026 (1d)

Community adoption signal (164399 stars)

  • No Docker setup
  • Low confidence match
Maintenance
Stale
Confidence
Low
Reproducibility
Strong
Stars
758
Last push
Aug 22, 2025 (368d)

Community adoption signal (758 stars)

  • No push in 12+ months
  • No tagged releases
  • No Docker setup

Reproduction readiness

Time to first repro: days
Last checked: Aug 25, 2026

Major work

No dependency manifest, manual reconstruction required

  • microsoft/unilm has no requirements.txt, environment.yml, pyproject.toml, or Dockerfile.
  • You will need to reverse-engineer dependencies from import statements in the source code.
  • Last push was 215 days ago.
Open microsoft/unilm

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Repositories and ecosystem

No additional verified repositories beyond the primary recommendation.

Hugging Face artifacts

No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.

Models

Curated Related

Datasets

No trustworthy datasets matches right now.

Search datasets on Hugging Face

Spaces

No trustworthy spaces matches right now.

Search spaces on Hugging Face

Research context

Tasks

Transformer, Language modeling

Methods

Transformer

Domains

None detected

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX
Explore similar papers

Jump to Paper2Code search queries derived from this paper's research context.

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).