This is a research checkpoint, not a product model.
We built it to test one question: how much of a
ParseBench
score comes from reading the page, and how much
comes from matching the benchmark's output conventions?
We took
Surya OCR 2
, a 650M-parameter OCR model, and
trained it with 70 steps of RL. We did not train on any ParseBench documents. It went from 23rd to 3rd on the ParseBench leaderboard (mean of the four non-chart dimensions).
Almost all of the gain came from formatting. Content faithfulness, the score closest to "did the model
read the page correctly", moved 0.4 points.
Render each PDF page at 192 DPI. Send the image with this exact prompt:
OCR this image to HTML. Each block is a div with data-label and data-bbox (x0 y0 x1 y1, normalized 0-1000).
Decode greedy with
max_tokens
28000. If the output does not end with
</div>
, the page looped.
Retry with
repetition_penalty
1.1, then 1.25, and keep the first output that closes.
Convert the layout HTML with
code/surya_convert.py
. The ParseBench provider in
code/pbext/__init__.py
does steps 2 to 4.
code/bench.sh
shows how we ran the four groups and
built the scorecard.
config.json
sets
text_config.eos_token_id
to 2. This checkpoint has no MTP head, so run it without
speculative decoding.
License
The model weights use a modified AI Pubs Open Rail-M license, the same as Surya OCR 2: free for research,
personal use, and startups under $5M in funding or revenue. The code in
code/
is Apache 2.0.
Runs of datalab-to surya-parsebench-rl on huggingface.co
19
Total runs
2
24-hour runs
6
3-day runs
8
7-day runs
8
30-day runs
More Information About surya-parsebench-rl huggingface.co Model
surya-parsebench-rl huggingface.co is an AI model on huggingface.co that provides surya-parsebench-rl's model effect (), which can be used instantly with this datalab-to surya-parsebench-rl model. huggingface.co supports a free trial of the surya-parsebench-rl model, and also provides paid use of the surya-parsebench-rl. Support call surya-parsebench-rl model through api, including Node.js, Python, http.
surya-parsebench-rl huggingface.co is an online trial and call api platform, which integrates surya-parsebench-rl's modeling effects, including api services, and provides a free online trial of surya-parsebench-rl, you can try surya-parsebench-rl online for free by clicking the link below.
datalab-to surya-parsebench-rl online free url in huggingface.co:
surya-parsebench-rl is an open source model from GitHub that offers a free installation service, and any user can find surya-parsebench-rl on GitHub to install. At the same time, huggingface.co provides the effect of surya-parsebench-rl install, users can directly use surya-parsebench-rl installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
surya-parsebench-rl install url in huggingface.co: