Skip to content

Benchmark liteparse with its markdown output - #1144

Closed
logan-markewich wants to merge 1 commit into
datalab-to:masterfrom
logan-markewich:liteparse-markdown
Closed

logan-markewich wants to merge 1 commit into
datalab-to:masterfrom
logan-markewich:liteparse-markdown

Conversation

@logan-markewich

@logan-markewich logan-markewich commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

The existing harness for liteparse in this repo used text outputs, which will fail quite badly when benchmarks expect markdown.

This PR switches the output to markdown and rescores. A sister PR in datalab-to/omni_parse_bench#80 adds the LiteParse harness to OmniParseBench.

olmOCR-bench:

System Overall (8 splits) Born-digital (6 splits) Throughput
liteparse, no OCR (CPU) 45.5 58.4 1721 pg/s
liteparse (CPU) 45.0 57.5 8.9 pg/s

OmniParseBench:

System Type / Weights Headline Text Tables Layout Throughput*
liteparse Open Parser (CPU) 42.3 43.1 14.4 69.5 9.7 pg/s
liteparse (--no-ocr) Open Text-layer (CPU) 34.9 37.9 14.3 52.7 318.0 pg/s

Honestly the timings are likely wrong since my machine won't match yours, so you'll probably want to recalculate these for consistency. I've scoped this PR to harness-only changes for now.

Tesseract is pretty meh, so id honestly go with the no-cpu results only

liteparse_infer.py scored page.text, liteparse's spatial plain-text layout,
which carries no table or heading markup, so liteparse scored 0% on tables and
layout. Score its markdown output instead (output_format="markdown",
page.markdown), the same kind of output marker is scored on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@logan-markewich

Copy link
Copy Markdown
Contributor Author

I have read the CLA Document and I hereby sign the CLA

github-actions Bot added a commit that referenced this pull request Nov 13, 2026
@VikParuchuri

Copy link
Copy Markdown
Member

Thanks @logan-markewich! Merged into dev and master.

@github-actions github-actions Bot locked and limited conversation to collaborators Nov 14, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants