datalab-to / surya-parsebench-rl

huggingface.co
Total runs: 19
24-hour runs: 2
7-day runs: 8
30-day runs: 8
Model's Last Updated: October 12 2026
image-text-to-text

Introduction of surya-parsebench-rl

Model Details of surya-parsebench-rl

Surya ParseBench RL

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.

For OCR, use Surya OCR 2 or Chandra OCR 2 , not this checkpoint.

Results

ParseBench, our run of the public harness ( parse-bench==1.0.4 ), with the provider in code/ . Charts are left out of every number.

Tables Content Semantic formatting Visual grounding Mean of 4
Surya OCR 2, before RL 82.10 89.00 74.34 68.11 78.39
This checkpoint (70 RL steps) 83.04 89.38 85.24 70.33 82.00
This checkpoint + loop retries and table fixes 84.14 90.00 86.14 72.31 83.15
LlamaParse Agentic Plus (leaderboard 1st) 93.37 92.25 87.12 84.09 89.21

On the leaderboard at commit b72c714 , 83.15 ranks 3rd and 82.00 ranks 5th.

What moved:

  • Semantic formatting: +10.9 from RL.
  • Content faithfulness: +0.4.
  • Tables: +0.9 from RL, and +1.1 more from the inference fixes.
  • Visual grounding: +2.2 from RL, and +2.0 more from the inference fixes.

Notes:

  • These are our runs, not the leaderboard's pipeline.
  • The "before RL" row uses the same converter as the other rows, so the rows compare the model only.
  • The parse-bench layout loader cannot score 64 of the 500 layout documents for any provider. Visual grounding averages over the other 436.
Training

70 steps of RL from Surya OCR 2. We did not train on any ParseBench documents.

How to run it

The score needs the model, the exact prompt, the retry rule, and the converter in code/ .

  1. Serve with vLLM:
    vllm serve datalab-to/surya-parsebench-rl --served-model-name surya --max-model-len 32768 \
      --limit-mm-per-prompt '{"image":1}'
    
  2. 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).
  3. 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.
  4. 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

More surya-parsebench-rl license Visit here:

https://choosealicense.com/licenses/openrail

surya-parsebench-rl huggingface.co

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 Url

https://huggingface.co/datalab-to/surya-parsebench-rl

datalab-to surya-parsebench-rl online free

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:

https://huggingface.co/datalab-to/surya-parsebench-rl

surya-parsebench-rl install

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:

https://huggingface.co/datalab-to/surya-parsebench-rl

Url of surya-parsebench-rl

surya-parsebench-rl huggingface.co Url

Provider of surya-parsebench-rl huggingface.co

datalab-to
ORGANIZATIONS

Other API from datalab-to

huggingface.co

Total runs: 293.8K
Run Growth: -26.7K
Growth Rate: -9.09%
Updated:March 26 2026
huggingface.co

Total runs: 134.0K
Run Growth: -26.6K
Growth Rate: -19.88%
Updated:October 06 2026
huggingface.co

Total runs: 3.1K
Run Growth: 3.1K
Growth Rate: 100.00%
Updated:October 19 2026
huggingface.co

Total runs: 2.2K
Run Growth: 292
Growth Rate: 13.14%
Updated:January 29 2025