+16
Daily
+143
Weekly
3,851
stars
260
forks
51
watchers
9
prs
24
issues
0
releases
README
SoMark|OXR
An open-source document parsing model with SOTA accuracy and speed, using an RSI loop during post-training.
---
Turn documents into Agent-Friendly data.
🌐 Online Demo | 🔥 🆓 Free API | ❓ FAQ
!arXiv | Coming Soon
English · 简体中文
OXR (Optical Everything Recognition) is an open-source model from the SoMark team. It turns PDFs and document images into Agent-Friendly data in Markdown or JSON, with layout coordinates included.
Pretrained from scratch, OXR uses a recursive self-improvement (RSI) loop during post-training—a first in document parsing. With just 1.3B parameters, OXR ranks 1 on olmOCR-Bench, OmniDocBench, and DocParsingBench while delivering industry-leading parsing speed.
OXR is the first to make its layout analysis module independent and pluggable. This design accelerates parsing and supports replacing the built-in layout model with a custom one. OXR continues to handle content recognition and reading order, enabling adaptation across diverse scenarios with minimal integration effort.
!
!
---
If this project helps you, please click ⭐ Star in the top-right corner to support us. It's the best encouragement you can give the developers!
Why OXR?
- 🎯 SOTA Accuracy. 1 Across Three Benchmarks.
- OXR ranks 🏆1 on olmOCR-Bench, OmniDocBench, and DocParsingBench, with a particularly wide lead in table parsing.
- OXR can recognize 13 document element types, from formulas and tables to chemical equations, chemical structures, and code blocks, with bounding box coordinates included. It also performs well on challenging documents and layouts, including A3 exam papers, newspapers, vertical text, and handwriting.
- See docs/benchmark.md for the full results and instructions to reproduce the evaluations.
- 🚀 1.3B Parameters. Top-Tier Parsing Speed.
- With only 1.3B parameters, OXR ranks 🏆1 among open-source document parsing models in speed tests on the RTX PRO 6000.
- OXR redesign its processing architecture at the task level to improve parsing speed while maintaining accuracy.
- See docs/benchmark.md for the full results and instructions to reproduce the evaluations.
- 🧩 Pluggable Layout Analysis. Document Structure on Your Terms.
- Layout analysis requirements vary widely across domains. Even for the same document, element types, region boundaries, and grouping rules can differ depending on the business use case.
- OXR is the first to make layout analysis independent and pluggable. Its built-in layout model can be replaced while retaining OXR’s recognition and reading order capabilities, enabling adaptation across document scenarios with minimal integration effort.
- See the How it works section below for details.
Expand to see all 13 element types
| Name | JSON type value | Content or output format |
|-|-|-|
| Caption | Caption | Plain text |
| Footnote | Footnote | Plain text |
| Formula | Formula | LaTeX |
| Text | Text | Plain text |
| Footer | Page-footer | Plain text (filtered out by defTop issues
#19示例中的gup是nvidia,可以支持amd么3 comments · 2026-10-28#12一些奇怪的文档无法解析2 comments · 2026-10-27#27Question: Is vLLM supported for OXR inference deployment?1 comments · 2026-11-04#24Formula postprocess leaves nested math delimiters when equation numbering follows `$...$`1 comments · 2026-10-29#23有没有办法关闭化学结构解析1 comments · 2026-10-29#22部署GPU问题1 comments · 2026-10-29#21结果文件缓存1 comments · 2026-10-29#20能不能针对汉字的生僻字做专门训练?1 comments · 2026-10-28
相关报道 (5)
News & coverage (7)
Hacker NewsOXR – An RSI-trained 1.3B open-source SOTA document parsing model▲ 4 · 2 comments · 2026-10-21letsdatascienceSoMark Open-Sources 1.3B OXR-1.0 Document Parser With Benchmark Claims2026-10-27pandailySoMark Open-Sources OXR-1.0, a 1.3B Document Parser That Leads Three Public Benchmarks2026-10-26huggingfaceOXR-1.0 — MLX (bf16)2026-10-20huggingfaceOXR-1.0-mlx-8bit2026-10-20FourWeekMBAOpen 1.3B OXR Tops 3 Parsing Tests, With $2M Licence Terms2026-10-24PR UndergroundOXR Goes Open Source: #1 on 3 Benchmarks, SOTA Accuracy & Speed—the First Document Parser with RSI2026-10-20