Skip to content

Add olmOCR-2 + expand old_scans to a 10-model comparison - #27

Merged
davanstrien merged 1 commit into
mainfrom
add-olmocr2-10model-oldscans
Jul 7, 2026
Merged

davanstrien merged 1 commit into
mainfrom
add-olmocr2-10model-oldscans

Conversation

@davanstrien

Copy link
Copy Markdown
Owner

Extends the old_scans experiment from 4 to 10 models, all scored through the stock olmocr.bench.benchmark.

What's new

  • olmocr2.py — runs olmOCR-2-7B faithfully: served with one vllm serve on a Job (exposed port), hit by a client using olmOCR's own prompt + 1288px render + YAML front-matter stripping. Polls the endpoint until ready.
  • BENCHMARKING.md — 10-model table, per-column reading (headline vs present disagree), the olmOCR-2 serve-on-Jobs recipe, and a provenance note.
  • README.md — pointer to the 10-model comparison.

Result: olmOCR-2 tops it (46.8 — expected, it's the model the bench was built for), but a 1B model (LightOnOCR-2) leads pure transcription, and the headline / present orders disagree (PaddleOCR-VL beats NuExtract3 on the headline yet reads far less of the page). The single score rewards dropping boilerplate.

Reproducibility note: 5 candidates (paddle v1.6/v1, nuextract3, unlimited-ocr, olmocr2) have committed runners here; the other 5 (dots.ocr, GLM-OCR, DeepSeek-OCR, FireRed-OCR, LightOnOCR-2) were run via uv-scripts/ocr and their exact commands are a documented follow-up.

🤖 Generated with Claude Code

- olmocr2.py: serve olmOCR-2-7B on a Job (exposed port) and hit it with a
  faithful client (olmOCR's own prompt, 1288px render, YAML front matter
  stripped to body text); scored through the same stock harness as the rest
- BENCHMARKING.md: 10-model results table + per-column reading, the olmOCR-2
  serve-on-Jobs recipe, and a provenance note for the uv-scripts/ocr candidates
- README.md: pointer to the 10-model comparison

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@davanstrien
davanstrien merged commit fcdb3c5 into main Jul 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant