Repository navigation
Expand file tree
/
Copy pathmodels.json
More file actions
1297 lines (1297 loc) · 45.1 KB
/
Copy pathmodels.json
File metadata and controls
1297 lines (1297 loc) · 45.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"_meta": {
"description": "Machine-readable catalog of the OCR recipes in this directory: script -> model, params, backend, support level, the tested Jobs launch config (the script's [tool.hf-jobs] header), and what the model's own card claims about language coverage. Human-readable language notes: LANGUAGES.md. Language evidence levels, strongest first: per-language-benchmark | count-claim | named-list | multilingual-unspecified | english-only | not-stated | not-applicable. Claims come from model cards (compiled 2026-07-15) - treat as claims, not guarantees.",
"updated": "2026-12-03",
"run_pattern": "hf jobs uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/<script> <input-dataset> <output-dataset> (hf CLI >= 1.32 reads image/flavor/secrets from the script's [tool.hf-jobs] header; add --timeout for long runs. Scripts without a `jobs` entry need --flavor/-s HF_TOKEN (and any --image in their docstring).)",
"support_levels": {
"core": "Maintained. Smoke-tested flagless on HF Jobs on 2026-09-23/24 with the pinned launch config in `jobs`.",
"tool": "Maintained companion (judge, layout, text extraction), not a page-OCR recipe.",
"legacy": "Works (smoke-tested 2026-09-23) but superseded or little used; no header yet. See support_note for the alternative.",
"unsupported": "Known broken as of 2026-09-23; kept in the repo for now. See support_note.",
"experimental": "Works in testing on HF Jobs with the launch config in `jobs`, but changes often and may break. See support_note for the stable alternative."
}
},
"tesseract-ocr.py": {
"model_id": null,
"model_name": "Tesseract 5",
"params": null,
"backend": "pytesseract (CPU)",
"task": "ocr",
"output": "plain text",
"license": "apache-2.0",
"languages": {
"evidence": "named-list",
"count": "125 traineddata packs (~100+ languages + script models)",
"list_url": "https://github.com/tesseract-ocr/tessdata_best",
"notes": "Broadest named coverage; script models (Latin, Cyrillic, Devanagari, ...) cover languages without a dedicated pack. Legacy baseline quality."
},
"support": "core",
"jobs": {
"flavor": "cpu-upgrade",
"secrets": [
"HF_TOKEN"
]
}
},
"ocria-nano.py": {
"model_id": "llamaindex/OCRia-nano-1",
"params": "8.1M",
"backend": "liteparse (CPU, ONNX Runtime)",
"task": "ocr",
"output": "markdown (headings, lists, tables; page headers and footers removed)",
"license": "ocria-nano-1-license (modified OpenRAIL-M)",
"notes": "Detector + script router + four recognizers + a table and layout model, run through LiteParse (>=2.21.0); no standalone inference script and no GPU path. Weights licence: free for research and personal use, and for commercial use by organisations under $2M in revenue and under $2M in funding; above that, and for any use in a document parsing or OCR service that competes with LlamaParse or LlamaCloud, you need a commercial licence from LlamaIndex.",
"languages": {
"evidence": "multilingual-unspecified",
"notes": "Card names four recognizers: Latin (791 characters), CJK, right-to-left (Arabic, Hebrew) and a world-script model for about 17 more scripts; no language list or per-language numbers."
},
"support": "experimental",
"support_note": "New on 2026-11-24 and depends on a LiteParse release from the same week. tesseract-ocr.py is the stable CPU recipe.",
"jobs": {
"flavor": "cpu-upgrade",
"secrets": [
"HF_TOKEN"
]
}
},
"pp-ocrv6.py": {
"model_id": "PaddlePaddle/PP-OCRv6",
"params": "1.5M-34.5M",
"backend": "paddleocr",
"task": "ocr",
"output": "plain text",
"license": "apache-2.0",
"languages": {
"evidence": "count-claim",
"count": 48
},
"support": "core",
"jobs": {
"flavor": "t4-small",
"secrets": [
"HF_TOKEN"
]
}
},
"falcon-ocr.py": {
"model_id": "tiiuae/Falcon-OCR",
"params": "0.3B",
"backend": "falcon-perception",
"task": "ocr",
"output": "markdown",
"license": "apache-2.0",
"languages": {
"evidence": "not-stated"
},
"support": "core",
"support_note": "Falcon-OCR v1. Frozen 2026-11-18 (superseded by falcon-ocr-1.5.py): package cutoff and model revision pinned; fixed only when it breaks. Upstream replaced the repo root with v1.5 on 2026-09-11, so this recipe pins the last v1 commit. Use falcon-ocr-1.5.py for new runs.",
"revision": "42ec56b72a23984ac059e7c8a6d397a8529423fe",
"jobs": {
"image": "ghcr.io/astral-sh/uv@sha256:85d4cb1afa769a7338e095b927bee941cf5ec92266c7424b3f6c0f2748567248",
"flavor": "a10g-small",
"timeout": "1h",
"secrets": [
"HF_TOKEN"
]
}
},
"falcon-ocr-1.5.py": {
"model_id": "tiiuae/Falcon-OCR",
"params": "0.3B",
"backend": "falcon-perception",
"task": "ocr",
"output": "markdown",
"license": "apache-2.0",
"languages": {
"evidence": "not-stated"
},
"support": "core",
"support_note": "Falcon-OCR v1.5, pinned to the release head (fe757d59; the first v1.5 commit d259a7fb has older code files). --revision overrides the pin.",
"revision": "fe757d59ecd79d4d68760162306a70a015761ad9",
"jobs": {
"flavor": "a10g-small",
"timeout": "1h",
"secrets": [
"HF_TOKEN"
]
}
},
"smoldocling-ocr.py": {
"model_id": "ds4sd/SmolDocling-256M-preview",
"params": "256M",
"backend": "transformers",
"task": "ocr",
"output": "DocTags",
"languages": {
"evidence": "english-only"
},
"support": "unsupported",
"support_note": "Broken (2026-09-23): the DocTags-to-markdown converter is a stub, so rows are raw DocTags. Superseded by granite-docling-v2-saturate.py and granite-docling-v2-bucket.py."
},
"surya-ocr.py": {
"model_id": "datalab-to/surya-ocr-2",
"params": "0.65B",
"backend": "vllm",
"image": "vllm/vllm-openai:v0.20.1",
"task": "ocr | layout | table",
"output": "markdown + surya_blocks (per-block HTML, bboxes, reading order)",
"license": "modified OpenRAIL-M",
"languages": {
"evidence": "per-language-benchmark",
"count": 91,
"benchmark_url": "https://github.com/datalab-to/surya/blob/master/static/docs/multilingual.md",
"notes": "38/91 languages score >=90%, 76/91 >=80%; weakest of top-15: Arabic 72.7%, Vietnamese 73.2%."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.20.1",
"python": "/usr/local/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/site-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
}
},
"glm-ocr.py": {
"model_id": "zai-org/GLM-OCR",
"params": "0.9B",
"backend": "vllm",
"task": "ocr",
"output": "markdown",
"languages": {
"evidence": "named-list",
"count": 8,
"named": [
"zh",
"en",
"fr",
"es",
"ru",
"de",
"ja",
"ko"
],
"notes": "Declared in card metadata only; no per-language evidence in the card body."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.30.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.30.0"
},
"paddleocr-vl.py": {
"model_id": "PaddlePaddle/PaddleOCR-VL",
"params": "0.9B",
"backend": "vllm",
"task": "ocr | table | formula | chart",
"output": "markdown",
"languages": {
"evidence": "count-claim",
"count": 109,
"notes": "Names scripts (Cyrillic, Arabic, Devanagari, Thai); claims handwriting + historical documents; no per-language numbers."
},
"support": "legacy",
"support_note": "PaddleOCR-VL 1.0; use paddleocr-vl-1.6.py."
},
"paddleocr-vl-1.5.py": {
"model_id": "PaddlePaddle/PaddleOCR-VL-1.5",
"params": "0.9B",
"backend": "transformers",
"task": "ocr (6 modes)",
"output": "markdown",
"languages": {
"evidence": "count-claim",
"count": "109+ (adds Tibetan, Bengali)",
"notes": "Claims improved rare-character and ancient-text recognition."
},
"support": "unsupported",
"support_note": "Broken (2026-09-23): every row is an [OCR ERROR] ('min_pixels' attribute removed in transformers 5). Use paddleocr-vl-1.6.py."
},
"paddleocr-vl-1.6.py": {
"model_id": "PaddlePaddle/PaddleOCR-VL-1.6",
"params": "0.9B",
"backend": "vllm",
"task": "ocr",
"output": "markdown",
"languages": {
"evidence": "count-claim",
"count": "109+ (inherited from 1.5, not restated)",
"notes": "Upgrade-focused card; language-specific claims are Chinese ancient documents and rare characters."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.29.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.29.0"
},
"paddleocr-vl-1.8.py": {
"model_id": "PaddlePaddle/PaddleOCR-VL-1.8",
"params": "0.9B (+ PP-DocLayoutV4)",
"backend": "paddleocr[doc-parser] + in-job vllm serve",
"image": "cr.hf.co/davanstrien/paddleocr-vl-1.8:1.8-vllm-0.30.0",
"task": "ocr (two-stage document parsing)",
"output": "structured markdown (headings, HTML tables, LaTeX formulas, image boxes); --save-blocks adds layout_blocks JSON",
"license": "apache-2.0",
"notes": "Official two-stage PaddleOCR-VL-1.8 pipeline: PP-DocLayoutV4 (quad boxes, optional --use-layout-deform rectification, D2RO reading order) + per-region recognition against in-job vllm serve (v0.30.0; card uses v0.19.0). Card page-level scores (run with --use-layout-deform): 97.44 OmniDocBench v1.6, 94.67 Real5, 91.02 MDPBench (17 langs), 91.18 Wild, 0.868 CMLOCRBench. Runs on public cr.hf.co/davanstrien/paddleocr-vl-1.8:1.8-vllm-0.30.0 (stock vllm/vllm-openai:v0.30.0 + isolated /opt/paddle venv with cu129 paddlepaddle-gpu 3.4.0 supporting Ampere through Blackwell; Dockerfile in images/paddleocr-vl-1.8/).",
"languages": {
"evidence": "multilingual-unspecified",
"notes": "Card does not state a total language count. Evaluates 17-language MDPBench (91.02) and 8 named Chinese ethnic-minority languages on CMLOCRBench (0.868: Tibetan, traditional Mongolian script, Uyghur, Kazakh, Liangshan Standard Yi, Korean, Zhuang, Bai), plus rare Chinese characters and ancient Chinese books; no full per-language table."
},
"support": "core",
"jobs": {
"image": "cr.hf.co/davanstrien/paddleocr-vl-1.8:1.8-vllm-0.30.0",
"flavor": "a10g-small",
"timeout": "4h",
"secrets": [
"HF_TOKEN"
]
}
},
"ovis-ocr2.py": {
"model_id": "ATH-MaaS/OvisOCR2",
"params": "0.9B",
"backend": "vllm",
"task": "ocr",
"output": "markdown + LaTeX + HTML tables",
"license": "apache-2.0",
"languages": {
"evidence": "not-stated"
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.29.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.29.0"
},
"ovis-ocr2-server.py": {
"model_id": "ATH-MaaS/OvisOCR2",
"params": "0.9B",
"backend": "vllm-server (in-job vllm serve + concurrent driver)",
"image": "vllm/vllm-openai:v0.22.1",
"task": "ocr",
"output": "markdown + LaTeX + HTML tables",
"license": "apache-2.0",
"notes": "Server-mode sibling of ovis-ocr2.py: ~1.7x its inference throughput, per-request failure isolation. See SERVING.md.",
"languages": {
"evidence": "not-stated"
},
"support": "legacy",
"support_note": "Use ovis-ocr2-saturate.py (same model and server, adaptive concurrency, resumable)."
},
"ovis-ocr2-saturate.py": {
"model_id": "ATH-MaaS/OvisOCR2",
"params": "0.9B",
"backend": "saturate (in-job vllm serve + saturate pump)",
"image": "vllm/vllm-openai:v0.22.1",
"task": "ocr",
"output": "markdown + LaTeX + HTML tables",
"license": "apache-2.0",
"notes": "saturate companion of ovis-ocr2-server.py: same model/prompt/sampling/post-processing; the driver half (adaptive concurrency, retries, resumable parquet output, durable error rows) is the saturate library. SERVING dict at the top of the script is the machine-readable tuning prior.",
"languages": {
"evidence": "not-stated"
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.22.1",
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
}
},
"xiaomi-ocr-0-saturate.py": {
"model_id": "xiaomi-research/Xiaomi-OCR-0",
"params": "0.8B",
"backend": "saturate (in-job vllm serve or SGLang + saturate pump)",
"image": "vllm/vllm-openai:v0.29.0",
"task": "ocr",
"output": "markdown + LaTeX + HTML tables",
"license": "apache-2.0",
"notes": "Single-stage whole-page mode. Card scores (96.83 OmniDocBench v1.6, 95.24 Real5, 87.94 Wild) come from Xiaomi's two-stage pipeline, which this recipe does not run. --engine sglang needs --image lmsysorg/sglang:v0.5.20-cu130. Measured on UFO scans: a10g-small 3.4 pages/s, rtx-pro-6000 9.7 pages/s, both about $0.08 per 1,000 pages excluding boot.",
"languages": {
"evidence": "not-stated"
},
"support": "core",
"support_note": "Works well on clean print. On small-print historical newspapers it can loop or insert Chinese characters, with finish_reason still stop; check tables for lost items and separators.",
"jobs": {
"image": "vllm/vllm-openai:v0.29.0",
"flavor": "a10g-small",
"timeout": "4h",
"secrets": [
"HF_TOKEN"
]
}
},
"lighton-ocr.py": {
"model_id": "lightonai/LightOnOCR-1B-1025",
"params": "1B",
"backend": "vllm",
"task": "ocr",
"output": "markdown",
"languages": {
"evidence": "named-list",
"count": 9,
"named": [
"en",
"fr",
"de",
"es",
"it",
"nl",
"pt",
"sv",
"da"
],
"notes": "Explicitly European / Latin-alphabet focused."
},
"support": "legacy",
"support_note": "LightOnOCR v1; use lighton-ocr2.py."
},
"lighton-ocr2.py": {
"model_id": "lightonai/LightOnOCR-2-1B",
"params": "1B",
"backend": "vllm",
"task": "ocr",
"output": "markdown",
"languages": {
"evidence": "named-list",
"count": 11,
"named": [
"en",
"fr",
"de",
"es",
"it",
"nl",
"pt",
"sv",
"da",
"zh",
"ja"
],
"notes": "Adds zh/ja over v1; declared, not benchmarked per language."
},
"support": "core",
"support_note": "Frozen 2026-11-06 (superseded by lighton-ocr3.py): image digest, package cutoff and model revision pinned; fixed only when it breaks. Use lighton-ocr3.py for new runs.",
"revision": "be7c41313c30e940fe5571de59e5fabc779e00c8",
"jobs": {
"image": "vllm/vllm-openai@sha256:953d3a06d5e64ab582985cd7401289d3abf2a2c14ef2158e9a84313daeec77d7",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.22.1"
},
"lighton-ocr3.py": {
"model_id": "lightonai/LightOnOCR-3-4B",
"params": "4B (or 0.8B via --model)",
"backend": "vllm",
"task": "ocr",
"output": "markdown; --mode grounding adds labelled layout blocks with 0-1000 boxes (layout_blocks JSON column)",
"license": "apache-2.0",
"languages": {
"evidence": "not-stated",
"notes": "LightOnOCR-3 cards give no language list (LightOnOCR-2 named 11)."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.30.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.30.0",
"notes": "Also runs lightonai/LightOnOCR-3-0.8B. Not LightOnOCR-3-1B (Pixtral arch, different pins). vLLM 0.30.0 pinned: upstream reports 0.27.1 loops."
},
"lighton-ocr3-bucket.py": {
"model_id": "lightonai/LightOnOCR-3-4B",
"params": "4B (or 0.8B via --model)",
"backend": "vllm",
"task": "ocr",
"output": "one .md per image/PDF page in an output dir; --mode grounding adds a .json sidecar of layout blocks",
"license": "apache-2.0",
"languages": {
"evidence": "not-stated",
"notes": "LightOnOCR-3 cards give no language list (LightOnOCR-2 named 11)."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.30.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.30.0",
"notes": "Bucket sibling of lighton-ocr3.py (same model, prompt, sampling). Input/output: hf://buckets/... URLs via bucketbag v0.3.1 (no mount) or directories. Reads .jp2; resume-by-skip."
},
"lighton-ocr3-saturate.py": {
"model_id": "lightonai/LightOnOCR-3-0.8B",
"params": "0.8B (or 4B via --model)",
"backend": "saturate (in-job vllm serve + saturate pump)",
"image": "vllm/vllm-openai:v0.30.0",
"task": "ocr",
"output": "markdown; --mode grounding adds labelled layout blocks with 0-1000 boxes (layout_blocks JSON column)",
"license": "apache-2.0",
"notes": "Large-run sibling of lighton-ocr3.py: same prompt modes, sampling and page resize; LightOn's serve flags (--max-model-len 18000) plus --max-num-batched-tokens 16384, and 4 vLLM API servers when CPU_CORES >= 12. Window capped by host memory. Measured 2026-11-05 (0.8B, 600 pages, steady state): a10g-small 2.2 pages/s, a100-large 7.2, rtx-pro-6000 10.0 (about $0.08 per 1,000 pages); lighton-ocr3.py: 0.90 and 1.27. Not LightOnOCR-3-1B.",
"languages": {
"evidence": "not-stated",
"notes": "LightOnOCR-3 cards give no language list (LightOnOCR-2 named 11)."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.30.0",
"flavor": "a10g-small",
"timeout": "4h",
"secrets": [
"HF_TOKEN"
]
}
},
"lighton-ocr3-live.py": {
"model_id": "lightonai/LightOnOCR-3-0.8B",
"params": "0.8B (or 4B via --model)",
"backend": "saturate (in-job vllm serve + saturate pump)",
"image": "vllm/vllm-openai:v0.30.0",
"task": "ocr with a live view of the run",
"output": "markdown; --mode grounding adds labelled layout blocks with 0-1000 boxes (layout_blocks JSON column)",
"license": "apache-2.0",
"notes": "lighton-ocr3-saturate.py plus --live-port: a page served from the Job that shows each finished page moving past at the rate the pages finish, the pages read a second and one page's text; ?view=single shows one page at a time with its text. For watching or screen-recording a run. Measured 2026-11-10 with these settings and the live view open, pages fed from multi-page TIFFs by a one-off source: 14,483 typed pages (about 780 output tokens a page), 7.7 pages/s on rtx-pro-6000, 0 errors.",
"languages": {
"evidence": "not-stated",
"notes": "LightOnOCR-3 cards give no language list (LightOnOCR-2 named 11)."
},
"support": "experimental",
"support_note": "Use lighton-ocr3-saturate.py for normal runs; this adds a live view for demos.",
"jobs": {
"image": "vllm/vllm-openai:v0.30.0",
"flavor": "rtx-pro-6000",
"timeout": "4h",
"secrets": [
"HF_TOKEN"
]
}
},
"lighton-ocr2-server.py": {
"model_id": "lightonai/LightOnOCR-2-1B",
"params": "1B",
"backend": "vllm-server (in-job vllm serve + concurrent driver)",
"image": "vllm/vllm-openai:v0.22.1",
"task": "ocr",
"output": "markdown",
"notes": "Server-mode sibling of lighton-ocr2.py (the model card's own documented path): ~1.8x its inference throughput. See SERVING.md.",
"languages": {
"evidence": "named-list",
"count": 11,
"named": [
"en",
"fr",
"de",
"es",
"it",
"nl",
"pt",
"sv",
"da",
"zh",
"ja"
],
"notes": "Adds zh/ja over v1; declared, not benchmarked per language."
},
"support": "legacy",
"support_note": "Use lighton-ocr2-saturate.py (same model and server, adaptive concurrency, resumable)."
},
"lighton-ocr2-saturate.py": {
"model_id": "lightonai/LightOnOCR-2-1B",
"params": "1B",
"backend": "saturate (in-job vllm serve + saturate pump)",
"image": "vllm/vllm-openai:v0.22.1",
"task": "ocr",
"output": "markdown",
"notes": "saturate companion of lighton-ocr2-server.py: same model/message shape/sampling; the driver half (adaptive concurrency, retries, resumable parquet output, durable error rows) is the saturate library. SERVING dict at the top of the script is the machine-readable tuning prior.",
"languages": {
"evidence": "named-list",
"count": 11,
"named": [
"en",
"fr",
"de",
"es",
"it",
"nl",
"pt",
"sv",
"da",
"zh",
"ja"
],
"notes": "Adds zh/ja over v1; declared, not benchmarked per language."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.22.1",
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
}
},
"hunyuan-ocr.py": {
"model_id": "tencent/HunyuanOCR",
"revision": "f6af82ee007fe6091b29fb3bb287b491ead41c82",
"params": "1B",
"backend": "vllm",
"task": "ocr",
"output": "markdown",
"license": "Hunyuan Community License (excludes EU/UK/KR)",
"languages": {
"evidence": "multilingual-unspecified"
},
"support": "unsupported",
"support_note": "Broken (2026-09-23): the pinned 1.0 revision fails on current vLLM/transformers. Use hunyuan-ocr-1.5.py."
},
"hunyuan-ocr-1.5.py": {
"model_id": "tencent/HunyuanOCR",
"params": "1B",
"backend": "vllm",
"task": "ocr | 12 task types",
"output": "markdown",
"license": "Hunyuan Community License (excludes EU/UK/KR)",
"languages": {
"evidence": "multilingual-unspecified",
"notes": "Explicitly targets low-resource + ancient-script OCR as a design goal; nothing enumerated."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.24.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.24.0"
},
"dots-ocr.py": {
"model_id": "rednote-hilab/dots.ocr",
"params": "1.7B",
"backend": "vllm",
"task": "ocr + layout",
"output": "markdown",
"languages": {
"evidence": "count-claim",
"count": 100,
"notes": "Explicit low-resource claim backed by in-house dots.ocr-bench (1,493 PDFs across 100 languages); aggregate scores only."
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.30.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.30.0"
},
"firered-ocr.py": {
"model_id": "FireRedTeam/FireRed-OCR",
"params": "2.1B",
"backend": "vllm",
"task": "ocr",
"output": "markdown",
"license": "apache-2.0",
"languages": {
"evidence": "not-stated"
},
"support": "legacy",
"support_note": "Works; low adoption."
},
"abot-ocr.py": {
"model_id": "acvlab/ABot-OCR",
"params": "2B",
"backend": "vllm",
"image": "vllm/vllm-openai",
"task": "ocr",
"output": "markdown (text, LaTeX, HTML tables)",
"languages": {
"evidence": "not-stated"
},
"support": "legacy",
"support_note": "Works; low adoption and no declared model licence."
},
"nanonets-ocr.py": {
"model_id": "nanonets/Nanonets-OCR-s",
"params": "2B",
"backend": "vllm",
"task": "ocr",
"output": "markdown (LaTeX, tables, forms)",
"languages": {
"evidence": "english-only"
},
"support": "legacy",
"support_note": "Nanonets-OCR-s; use nanonets-ocr2.py."
},
"granite-docling-v2-saturate.py": {
"model_id": "ibm-granite/granite-docling-v2-2b",
"params": "2.5B (2.7B with MTP heads)",
"backend": "saturate (in-job vllm serve + saturate pump)",
"task": "ocr | selective tasks (ocr, table, formula, picture, code, layout, detailed)",
"output": "markdown (via docling-core) + raw DocLang XML with 512x512 boxes; --save-json adds DoclingDocument JSON",
"license": "apache-2.0",
"notes": "Succeeds SmolDocling-256M and Granite-Docling-258M. Card reports 96.5% pooled content 1-NED across 9 benchmarks (16,205 pages, scored against DocLang-converted ground truth). Uses built-in 3-token MTP speculative decoding (--model-impl transformers, --speculative-config mtp). Temporarily installs vLLM nightly wheel + transformers==5.23.0 on the default uv image until a stable vLLM release includes Granite Docling V2. Does not run the 500M sibling's client-side density router.",
"languages": {
"evidence": "named-list",
"count": 12,
"named": [
"en",
"zh",
"ja",
"ko",
"ar",
"de",
"es",
"fr",
"it",
"nl",
"pl",
"pt"
],
"notes": "12 declared in card metadata; card body also highlights Hindi, Russian, mixed zh-en and handwriting (no per-language scores)."
},
"support": "core",
"jobs": {
"flavor": "a10g-small",
"timeout": "4h",
"env": {
"VLLM_USE_FLASHINFER_SAMPLER": "0",
"VLLM_USE_DEEP_GEMM": "0"
},
"secrets": [
"HF_TOKEN"
]
}
},
"granite-docling-v2-bucket.py": {
"model_id": "ibm-granite/granite-docling-v2-2b",
"params": "2.5B (2.7B with MTP heads)",
"backend": "saturate.Engine (in-job vllm serve) + async page queue",
"task": "ocr | selective tasks (ocr, table, formula, picture, code, layout, detailed)",
"output": "one .md per image/PDF page in an output bucket or dir; --formats adds .json (DoclingDocument), .html, .doclang sidecars",
"license": "apache-2.0",
"notes": "Bucket/PDF sibling of granite-docling-v2-saturate.py: reads hf://buckets/... URLs via bucketbag v0.3.1 (no mount) or directories, renders PDFs with pypdfium2 at 144 DPI in parallel, and streams pages concurrently into vllm serve (with MTP speculative decoding). Resume-by-skip with per-PDF, per-format .complete.<fmt> markers.",
"languages": {
"evidence": "named-list",
"count": 12,
"named": [
"en",
"zh",
"ja",
"ko",
"ar",
"de",
"es",
"fr",
"it",
"nl",
"pl",
"pt"
],
"notes": "12 declared in card metadata; card body also highlights Hindi, Russian, mixed zh-en and handwriting (no per-language scores)."
},
"support": "core",
"jobs": {
"flavor": "a10g-small",
"timeout": "4h",
"env": {
"VLLM_USE_FLASHINFER_SAMPLER": "0",
"VLLM_USE_DEEP_GEMM": "0"
},
"secrets": [
"HF_TOKEN"
]
}
},
"dots-mocr.py": {
"model_id": "dots-studio/dots.mocr",
"params": "3B",
"backend": "vllm",
"task": "ocr | 8 prompt modes incl. SVG, layout + bbox",
"output": "markdown",
"languages": {
"evidence": "multilingual-unspecified"
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.30.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.30.0"
},
"nanonets-ocr2.py": {
"model_id": "nanonets/Nanonets-OCR2-3B",
"params": "3B",
"backend": "vllm",
"image": "vllm/vllm-openai:v0.10.2",
"task": "ocr",
"output": "markdown",
"languages": {
"evidence": "named-list",
"count": "11 named + 'many more'",
"named": [
"en",
"zh",
"fr",
"es",
"pt",
"de",
"it",
"ru",
"ja",
"ko",
"ar"
],
"notes": "Only card claiming multilingual handwriting; list illustrative, no per-language benchmark."
},
"support": "legacy",
"support_note": "Works on its pinned vllm/vllm-openai:v0.10.2 image; not header-migrated."
},
"deepseek-ocr-vllm.py": {
"model_id": "deepseek-ai/DeepSeek-OCR",
"params": "4B",
"backend": "vllm",
"task": "ocr | 5 resolution + 5 prompt modes",
"output": "markdown",
"license": "mit",
"languages": {
"evidence": "multilingual-unspecified"
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.29.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
},
"image": "vllm/vllm-openai:v0.29.0"
},
"jina-ocr-v1.py": {
"model_id": "jinaai/jina-ocr-v1",
"model_name": "jina-ocr-v1",
"params": "3.4B (MoE, ~570M active)",
"backend": "vllm",
"task": "ocr",
"output": "markdown",
"license": "cc-by-nc-4.0",
"notes": "DeepSeek-OCR fine-tune with a FastMTP speculative-decoding head; offline vLLM only (the checkpoint's register() must run in-process, no vllm serve path yet). Card: 91.14 OmniDocBench v1.6, 83.4 olmOCR-Bench.",
"languages": {
"evidence": "multilingual-unspecified",
"notes": "Card metadata says multilingual; no per-language list or evidence in the card body."
},
"support": "unsupported",
"support_note": "Broken (2026-09-23): vLLM 0.30 DeepEncoder kernel error; pinning vllm/vllm-openai:v0.29.0 likely fixes it (as for deepseek-ocr-vllm.py). CC-BY-NC-4.0 model.",
"jobs": {
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
],
"env": {
"UV_TORCH_BACKEND": "auto"
}
}
},
"deepseek-ocr.py": {
"model_id": "deepseek-ai/DeepSeek-OCR",
"params": "4B",
"backend": "transformers",
"task": "ocr",
"output": "markdown",
"license": "mit",
"languages": {
"evidence": "multilingual-unspecified"
},
"support": "unsupported",
"support_note": "Broken (2026-09-23): every output row is the string 'None' (model.infer returns None). Use deepseek-ocr-vllm.py."
},
"deepseek-ocr2-vllm.py": {
"model_id": "deepseek-ai/DeepSeek-OCR-2",
"params": "3B",
"backend": "vllm (nightly)",
"image": "vllm/vllm-openai:v0.29.0",
"task": "ocr",
"output": "markdown",
"license": "apache-2.0",
"languages": {
"evidence": "multilingual-unspecified"
},
"support": "core",
"jobs": {
"image": "vllm/vllm-openai:v0.29.0",
"python": "/usr/bin/python3",
"env": {
"PYTHONPATH": "/usr/local/lib/python3.12/dist-packages"
},
"flavor": "a10g-small",
"secrets": [
"HF_TOKEN"
]
}
},
"unlimited-ocr2.py": {
"model_id": "baidu/Unlimited-OCR-2",
"params": "3.3B (MoE, 0.5B active)",
"backend": "saturate (in-job SGLang from Baidu's wheel + saturate pump)",
"image": "lmsysorg/sglang:v0.5.20-cu130",
"task": "ocr (multi-page documents: folders of page images; cross-page continuations)",
"output": "markdown per page + layout-grounded raw, one row per 16-page window",
"license": "mit",
"notes": "Sends 16 consecutive pages per request so the model keeps context across page breaks. Needs a >= 48 GB GPU (24 GB cards thrash the KV cache). Measured on 1771 Britannica: rtx-pro-6000 ~1,570 tok/s end to end. About 2% of dense 18th-century pages loop; unlimited-ocr2-saturate.py repairs them.",
"languages": {
"evidence": "multilingual-unspecified"
},
"support": "core",
"jobs": {
"image": "lmsysorg/sglang:v0.5.20-cu130",
"flavor": "rtx-pro-6000",
"timeout": "4h",
"secrets": [
"HF_TOKEN"
]
}
},
"unlimited-ocr2-saturate.py": {
"model_id": "baidu/Unlimited-OCR-2",
"params": "3.3B (MoE, 0.5B active)",
"backend": "saturate (in-job SGLang from Baidu's wheel + saturate pump)",
"image": "lmsysorg/sglang:v0.5.20-cu130",
"task": "ocr (multi-page documents: book volumes, PDFs; cross-page continuations)",
"output": "markdown per page and per window + layout-grounded raw",
"license": "mit",
"notes": "Tuned version of unlimited-ocr2.py: repair pass for looping pages (fixed 28/33 in testing), PDF input, Baidu's own Markdown post-processing, speed flags.",
"languages": {
"evidence": "multilingual-unspecified"
},
"support": "experimental",
"support_note": "Use unlimited-ocr2.py unless you need the repair pass, PDFs or the extras.",
"jobs": {
"image": "lmsysorg/sglang:v0.5.20-cu130",
"flavor": "rtx-pro-6000",
"timeout": "4h",
"secrets": [
"HF_TOKEN"
]
}
},
"unlimited-ocr2-live.py": {
"model_id": "baidu/Unlimited-OCR-2",
"params": "3.3B (MoE, 0.5B active)",
"backend": "saturate (in-job SGLang from Baidu's wheel + saturate pump)",
"image": "lmsysorg/sglang:v0.5.20-cu130",
"task": "ocr (multi-page documents) with a live view of the run",
"output": "markdown per page + layout-grounded raw, one row per 16-page window",
"license": "mit",
"notes": "unlimited-ocr2.py plus --live-port: a dashboard served from the Job (start-up steps, the page being read with its text streaming in, finished pages, pages/min, GPU load) for watching or screen-recording a run. Measured on 1,456 Wellcome Library pages: ~130 pages/min on rtx-pro-6000.",
"languages": {
"evidence": "multilingual-unspecified"
},
"support": "experimental",
"support_note": "Use unlimited-ocr2.py for normal runs; this adds a live view for demos.",
"jobs": {
"image": "lmsysorg/sglang:v0.5.20-cu130",
"flavor": "rtx-pro-6000",
"timeout": "4h",
"secrets": [
"HF_TOKEN"
]
}
},
"minicpm-ocr.py": {
"model_id": "openbmb/MiniCPM-OCR-1.0",
"params": "1.3B",
"backend": "in-job vLLM (nightly) + OpenBMB's minicpm-ocr SDK (PP-DocLayoutV3 layout, per-region prompts, Markdown assembly)",
"image": "cr.hf.co/davanstrien/minicpm-ocr:1.0-vllm-5d35ce3",
"task": "ocr (page images -> Markdown; tables as HTML, formulas as LaTeX); Hub dataset or Bucket/folder I/O",
"output": "dataset mode: markdown + markdown_status columns; Bucket/folder mode: one .md per image (failed pages not written, re-run retries)",
"license": "apache-2.0",
"notes": "A region reader behind a layout model, run through the vendor SDK unchanged. Custom public image (Dockerfile in images/minicpm-ocr/): the architecture is in vLLM main but not a release, and the SDK needs PaddlePaddle in its own venv. DSpark speculative decoding on by default (--no-dspark). Bucket I/O via bucketbag v0.3.1 (no mount), resume-by-skip. Smoke-tested 2026-10-27 on BHL pages (dataset mode) and 1771 Britannica .jp2 (Bucket mode), a10g-large.",
"languages": {
"evidence": "named-list",
"count": 2,
"named": [
"zh",
"en"
],
"notes": "Card: 'Primary languages: Chinese and English'; card metadata lists en, zh. Card examples include historical scans; fine-tuning guide uses French handwriting."
},
"support": "experimental",
"jobs": {
"image": "cr.hf.co/davanstrien/minicpm-ocr:1.0-vllm-5d35ce3",
"flavor": "a10g-large",
"timeout": "2h",
"secrets": [
"HF_TOKEN"
]
}
},
"unlimited-ocr-vllm.py": {
"model_id": "baidu/Unlimited-OCR",
"params": "3.3B",
"backend": "vllm",
"image": "vllm/vllm-openai:unlimited-ocr",
"task": "ocr (layout-grounded markdown; single-image batch)",