lakir-hindko-ocr / comparison_dev1000.svg
uzair0's picture
Lakir (HindkoPrint-OCR v1): weights, model card and charts
2f8e2a6 verified
|
Raw History Blame Contribute Delete
19 kB
<svg xmlns="http://www.w3.org/2000/svg" width="1000" height="1026" viewBox="0 0 1000 1026" role="img" aria-labelledby="t d" font-family="system-ui, -apple-system, &#x27;Segoe UI&#x27;, Roboto, &#x27;Helvetica Neue&#x27;, Arial, sans-serif">
<title id="t">Printed Hindko OCR β€” character error rate on 1,000 held-out lines (lower is better)</title>
<desc id="d">Lakir (HindkoPrint-OCR v1): 0.477% β€” 13.0Γ— fewer character errors than the best of 28 existing systems (Surya OCR 2, 6.22%). Log-scale chart of 31 systems; the table comparison_table.md has every value.</desc>
<style>
svg{--surface:#fcfcfb;--ink:#0b0b0b;--ink2:#52514e;--muted:#6b6a65;--grid:#e1e0d9;--axis:#c3c2b7;--ours:#2a78d6;--ours-stem:#b7d3f6;--other:#898781;--other-stem:#e1e0d9;--ref:#52514e}
@media (prefers-color-scheme: dark){svg{--surface:#1a1a19;--ink:#ffffff;--ink2:#c3c2b7;--muted:#a8a79f;--grid:#2c2c2a;--axis:#383835;--ours:#3987e5;--ours-stem:#184f95;--other:#898781;--other-stem:#383835;--ref:#c3c2b7}}
.bg{fill:var(--surface)} .t1{fill:var(--ink);font-size:18px;font-weight:650} .t2{fill:var(--ink2);font-size:13px} .t3{fill:var(--muted);font-size:11.5px} .lab{fill:var(--ink2);font-size:12.5px} .lab.o{fill:var(--ink);font-weight:650} .val{fill:var(--ink2);font-size:12px} .val.o{fill:var(--ink);font-weight:650} .grid{stroke:var(--grid);stroke-width:1} .axis{stroke:var(--axis);stroke-width:1} .tick{fill:var(--muted);font-size:11.5px} .stem{stroke:var(--other-stem);stroke-width:2;stroke-linecap:round} .stem.o{stroke:var(--ours-stem)} .dot{fill:var(--other);stroke:var(--surface);stroke-width:2} .dot.o{fill:var(--ours)} .ref{stroke:var(--ref);stroke-width:1} .reft{fill:var(--ink2);font-size:11.5px} .leg{fill:var(--ink2);font-size:12.5px}
</style>
<rect class="bg" x="0" y="0" width="1000" height="1026"/>
<text class="t1" x="24" y="36">Printed Hindko OCR β€” character error rate on 1,000 held-out lines (lower is better)</text>
<text class="t2" x="24" y="60">Lakir (HindkoPrint-OCR v1): 0.477% β€” 13.0Γ— fewer character errors than the best of 28 existing systems (Surya OCR 2, 6.22%).</text>
<text class="t3" x="24" y="80">Scorer: eval.metrics headline CER (micro-averaged, LABEL_SPEC forms) Β· frozen dev-1000 list, sha256 bd9c8f35 Β· baselines run 2026-10-01 Β· chart generated 2026-10-02</text>
<circle class="dot o" cx="30" cy="104" r="5.5"/>
<text class="leg" x="42" y="108">Ours (trained on Hindko print)</text>
<circle class="dot" cx="250" cy="104" r="5.5"/>
<text class="leg" x="262" y="108">Existing systems, off the shelf</text>
<line class="ref" x1="468" y1="97" x2="468" y2="111"/>
<text class="leg" x="476" y="108">Best existing system</text>
<line class="grid" x1="386.1" y1="144" x2="386.1" y2="832"/>
<text class="tick" x="386.1" y="852" text-anchor="middle">0.5%</text>
<line class="grid" x1="450.0" y1="144" x2="450.0" y2="832"/>
<text class="tick" x="450.0" y="852" text-anchor="middle">1%</text>
<line class="grid" x1="513.8" y1="144" x2="513.8" y2="832"/>
<text class="tick" x="513.8" y="852" text-anchor="middle">2%</text>
<line class="grid" x1="598.2" y1="144" x2="598.2" y2="832"/>
<text class="tick" x="598.2" y="852" text-anchor="middle">5%</text>
<line class="grid" x1="662.0" y1="144" x2="662.0" y2="832"/>
<text class="tick" x="662.0" y="852" text-anchor="middle">10%</text>
<line class="grid" x1="725.8" y1="144" x2="725.8" y2="832"/>
<text class="tick" x="725.8" y="852" text-anchor="middle">20%</text>
<line class="grid" x1="810.2" y1="144" x2="810.2" y2="832"/>
<text class="tick" x="810.2" y="852" text-anchor="middle">50%</text>
<line class="grid" x1="874.0" y1="144" x2="874.0" y2="832"/>
<text class="tick" x="874.0" y="852" text-anchor="middle">100%</text>
<line class="axis" x1="338.5" y1="832" x2="908" y2="832"/>
<text class="tick" x="623.2" y="874" text-anchor="middle">Character error rate, headline (log scale; lower is better)</text>
<line class="ref" x1="618.3" y1="134" x2="618.3" y2="832"/>
<text class="reft" x="624.3" y="142">Best existing: Surya OCR 2, 6.22%</text>
<g><title>Lakir (HindkoPrint-OCR v1): 0.477% headline CER, 0.225% without spaces β€” OCR model</title>
<rect x="0" y="150.0" width="1000" height="22" fill="transparent"/>
<text class="lab o" x="324.5" y="165.3" text-anchor="end">Lakir (HindkoPrint-OCR v1) β€” this model</text>
<line class="stem o" x1="338.5" y1="161.0" x2="374.8" y2="161.0"/>
<circle class="dot o" cx="381.8" cy="161.0" r="5.5"/>
<text class="val o" x="391.8" y="165.0">0.477%</text>
</g>
<g><title>Ours: CTC + Qwen3.5-9B combination (E1): 0.553% headline CER, 0.267% without spaces β€” CTC + VLM combination</title>
<rect x="0" y="172.0" width="1000" height="22" fill="transparent"/>
<text class="lab o" x="324.5" y="187.3" text-anchor="end">Ours: CTC + Qwen3.5-9B combination (E1)</text>
<line class="stem o" x1="338.5" y1="183.0" x2="388.4" y2="183.0"/>
<circle class="dot o" cx="395.4" cy="183.0" r="5.5"/>
<text class="val o" x="405.4" y="187.0">0.553%</text>
</g>
<g><title>Ours: Qwen3.5-9B + LoRA (B3): 0.652% headline CER, 0.388% without spaces β€” Vision-language model</title>
<rect x="0" y="194.0" width="1000" height="22" fill="transparent"/>
<text class="lab o" x="324.5" y="209.3" text-anchor="end">Ours: Qwen3.5-9B + LoRA (B3)</text>
<line class="stem o" x1="338.5" y1="205.0" x2="403.6" y2="205.0"/>
<circle class="dot o" cx="410.6" cy="205.0" r="5.5"/>
<text class="val o" x="420.6" y="209.0">0.652%</text>
</g>
<g><title>Surya OCR 2: 6.22% headline CER, 5.10% without spaces β€” Vision-language model, licence Modified AI Pubs Open Rail-M (weights; research use free) + Apache-2.0 (code)</title>
<rect x="0" y="216.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="231.3" text-anchor="end">Surya OCR 2</text>
<line class="stem" x1="338.5" y1="227.0" x2="611.3" y2="227.0"/>
<circle class="dot" cx="618.3" cy="227.0" r="5.5"/>
<text class="val" x="628.3" y="231.0">6.22%</text>
</g>
<g><title>UTRNet-Large: 6.25% headline CER, 2.77% without spaces β€” OCR model, licence CC-BY-NC-SA-4.0</title>
<rect x="0" y="238.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="253.3" text-anchor="end">UTRNet-Large</text>
<line class="stem" x1="338.5" y1="249.0" x2="611.7" y2="249.0"/>
<circle class="dot" cx="618.7" cy="249.0" r="5.5"/>
<text class="val" x="628.7" y="253.0">6.25%</text>
</g>
<g><title>Kraken PP-OCRv6 medium (our base model): 6.30% headline CER, 3.63% without spaces β€” OCR model, licence Apache-2.0</title>
<rect x="0" y="260.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="275.3" text-anchor="end">Kraken PP-OCRv6 medium (our base model)</text>
<line class="stem" x1="338.5" y1="271.0" x2="612.4" y2="271.0"/>
<circle class="dot" cx="619.4" cy="271.0" r="5.5"/>
<text class="val" x="629.4" y="275.0">6.30%</text>
</g>
<g><title>UTRNet-Small: 6.80% headline CER, 4.06% without spaces β€” OCR model, licence CC-BY-NC-SA-4.0</title>
<rect x="0" y="282.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="297.3" text-anchor="end">UTRNet-Small</text>
<line class="stem" x1="338.5" y1="293.0" x2="619.5" y2="293.0"/>
<circle class="dot" cx="626.5" cy="293.0" r="5.5"/>
<text class="val" x="636.5" y="297.0">6.80%</text>
</g>
<g><title>Qwen3.5-9B: 19.27% headline CER, 20.15% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="304.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="319.3" text-anchor="end">Qwen3.5-9B</text>
<line class="stem" x1="338.5" y1="315.0" x2="715.4" y2="315.0"/>
<circle class="dot" cx="722.4" cy="315.0" r="5.5"/>
<text class="val" x="732.4" y="319.0">19.27%</text>
</g>
<g><title>EasyOCR (Urdu): 19.49% headline CER, 16.01% without spaces β€” OCR model, licence Apache-2.0</title>
<rect x="0" y="326.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="341.3" text-anchor="end">EasyOCR (Urdu)</text>
<line class="stem" x1="338.5" y1="337.0" x2="716.4" y2="337.0"/>
<circle class="dot" cx="723.4" cy="337.0" r="5.5"/>
<text class="val" x="733.4" y="341.0">19.49%</text>
</g>
<g><title>Qwen3.5-27B: 21.42% headline CER, 22.60% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="348.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="363.3" text-anchor="end">Qwen3.5-27B</text>
<line class="stem" x1="338.5" y1="359.0" x2="725.2" y2="359.0"/>
<circle class="dot" cx="732.2" cy="359.0" r="5.5"/>
<text class="val" x="742.2" y="363.0">21.42%</text>
</g>
<g><title>Chandra OCR 2: 21.53% headline CER, 21.41% without spaces β€” Vision-language model, licence Modified OpenRAIL-M (weights; research use free) + Apache-2.0 (code)</title>
<rect x="0" y="370.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="385.3" text-anchor="end">Chandra OCR 2</text>
<line class="stem" x1="338.5" y1="381.0" x2="725.6" y2="381.0"/>
<circle class="dot" cx="732.6" cy="381.0" r="5.5"/>
<text class="val" x="742.6" y="385.0">21.53%</text>
</g>
<g><title>Kraken OpenITI Arabic-script: 22.57% headline CER, 23.37% without spaces β€” OCR model, licence CC0-1.0</title>
<rect x="0" y="392.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="407.3" text-anchor="end">Kraken OpenITI Arabic-script</text>
<line class="stem" x1="338.5" y1="403.0" x2="730.0" y2="403.0"/>
<circle class="dot" cx="737.0" cy="403.0" r="5.5"/>
<text class="val" x="747.0" y="407.0">22.57%</text>
</g>
<g><title>Kraken OpenITI Urdu: 23.38% headline CER, 23.85% without spaces β€” OCR model, licence Apache-2.0</title>
<rect x="0" y="414.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="429.3" text-anchor="end">Kraken OpenITI Urdu</text>
<line class="stem" x1="338.5" y1="425.0" x2="733.2" y2="425.0"/>
<circle class="dot" cx="740.2" cy="425.0" r="5.5"/>
<text class="val" x="750.2" y="429.0">23.38%</text>
</g>
<g><title>Qwen3-VL-8B: 24.73% headline CER, 25.87% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="436.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="451.3" text-anchor="end">Qwen3-VL-8B</text>
<line class="stem" x1="338.5" y1="447.0" x2="738.4" y2="447.0"/>
<circle class="dot" cx="745.4" cy="447.0" r="5.5"/>
<text class="val" x="755.4" y="451.0">24.73%</text>
</g>
<g><title>olmOCR-2-7B: 24.74% headline CER, 26.11% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="458.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="473.3" text-anchor="end">olmOCR-2-7B</text>
<line class="stem" x1="338.5" y1="469.0" x2="738.4" y2="469.0"/>
<circle class="dot" cx="745.4" cy="469.0" r="5.5"/>
<text class="val" x="755.4" y="473.0">24.74%</text>
</g>
<g><title>Qwen3-VL-32B: 29.89% headline CER, 32.18% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="480.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="495.3" text-anchor="end">Qwen3-VL-32B</text>
<line class="stem" x1="338.5" y1="491.0" x2="755.8" y2="491.0"/>
<circle class="dot" cx="762.8" cy="491.0" r="5.5"/>
<text class="val" x="772.8" y="495.0">29.89%</text>
</g>
<g><title>PaddleOCR-VL-1.6: 32.69% headline CER, 35.15% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="502.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="517.3" text-anchor="end">PaddleOCR-VL-1.6</text>
<line class="stem" x1="338.5" y1="513.0" x2="764.1" y2="513.0"/>
<circle class="dot" cx="771.1" cy="513.0" r="5.5"/>
<text class="val" x="781.1" y="517.0">32.69%</text>
</g>
<g><title>AIN-7B: 34.31% headline CER, 37.47% without spaces β€” Vision-language model, licence MIT</title>
<rect x="0" y="524.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="539.3" text-anchor="end">AIN-7B</text>
<line class="stem" x1="338.5" y1="535.0" x2="768.5" y2="535.0"/>
<circle class="dot" cx="775.5" cy="535.0" r="5.5"/>
<text class="val" x="785.5" y="539.0">34.31%</text>
</g>
<g><title>Tesseract 5 (Urdu): 35.06% headline CER, 34.78% without spaces β€” OCR model, licence Apache-2.0</title>
<rect x="0" y="546.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="561.3" text-anchor="end">Tesseract 5 (Urdu)</text>
<line class="stem" x1="338.5" y1="557.0" x2="770.5" y2="557.0"/>
<circle class="dot" cx="777.5" cy="557.0" r="5.5"/>
<text class="val" x="787.5" y="561.0">35.06%</text>
</g>
<g><title>Tesseract 5 (Arabic script): 42.48% headline CER, 45.19% without spaces β€” OCR model, licence Apache-2.0</title>
<rect x="0" y="568.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="583.3" text-anchor="end">Tesseract 5 (Arabic script)</text>
<line class="stem" x1="338.5" y1="579.0" x2="788.2" y2="579.0"/>
<circle class="dot" cx="795.2" cy="579.0" r="5.5"/>
<text class="val" x="805.2" y="583.0">42.48%</text>
</g>
<g><title>HunyuanOCR-1.5: 43.35% headline CER, 46.27% without spaces β€” Vision-language model, licence Tencent Hunyuan Community License (excludes EU/UK/South Korea)</title>
<rect x="0" y="590.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="605.3" text-anchor="end">HunyuanOCR-1.5</text>
<line class="stem" x1="338.5" y1="601.0" x2="790.1" y2="601.0"/>
<circle class="dot" cx="797.1" cy="601.0" r="5.5"/>
<text class="val" x="807.1" y="605.0">43.35%</text>
</g>
<g><title>Qwen3-VL-4B: 45.73% headline CER, 48.83% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="612.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="627.3" text-anchor="end">Qwen3-VL-4B</text>
<line class="stem" x1="338.5" y1="623.0" x2="795.0" y2="623.0"/>
<circle class="dot" cx="802.0" cy="623.0" r="5.5"/>
<text class="val" x="812.0" y="627.0">45.73%</text>
</g>
<g><title>LightOnOCR-2-1B: 52.92% headline CER, 58.51% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="634.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="649.3" text-anchor="end">LightOnOCR-2-1B</text>
<line class="stem" x1="338.5" y1="645.0" x2="808.4" y2="645.0"/>
<circle class="dot" cx="815.4" cy="645.0" r="5.5"/>
<text class="val" x="825.4" y="649.0">52.92%</text>
</g>
<g><title>DeepSeek-OCR-2: 57.07% headline CER, 61.09% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="656.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="671.3" text-anchor="end">DeepSeek-OCR-2</text>
<line class="stem" x1="338.5" y1="667.0" x2="815.4" y2="667.0"/>
<circle class="dot" cx="822.4" cy="667.0" r="5.5"/>
<text class="val" x="832.4" y="671.0">57.07%</text>
</g>
<g><title>QARI-OCR 0.2.2.1: 57.92% headline CER, 64.69% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="678.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="693.3" text-anchor="end">QARI-OCR 0.2.2.1</text>
<line class="stem" x1="338.5" y1="689.0" x2="816.8" y2="689.0"/>
<circle class="dot" cx="823.8" cy="689.0" r="5.5"/>
<text class="val" x="833.8" y="693.0">57.92%</text>
</g>
<g><title>QARI-OCR 0.4: 59.50% headline CER, 63.94% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="700.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="715.3" text-anchor="end">QARI-OCR 0.4</text>
<line class="stem" x1="338.5" y1="711.0" x2="819.2" y2="711.0"/>
<circle class="dot" cx="826.2" cy="711.0" r="5.5"/>
<text class="val" x="836.2" y="715.0">59.50%</text>
</g>
<g><title>TrOCR Urdu (SI-26): 78.37% headline CER, 84.23% without spaces β€” OCR model, licence Apache-2.0</title>
<rect x="0" y="722.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="737.3" text-anchor="end">TrOCR Urdu (SI-26)</text>
<line class="stem" x1="338.5" y1="733.0" x2="844.6" y2="733.0"/>
<circle class="dot" cx="851.6" cy="733.0" r="5.5"/>
<text class="val" x="861.6" y="737.0">78.37%</text>
</g>
<g><title>MonkeyOCRv2-B: 78.93% headline CER, 86.54% without spaces β€” Vision-language model, licence Apache-2.0</title>
<rect x="0" y="744.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="759.3" text-anchor="end">MonkeyOCRv2-B</text>
<line class="stem" x1="338.5" y1="755.0" x2="845.3" y2="755.0"/>
<circle class="dot" cx="852.3" cy="755.0" r="5.5"/>
<text class="val" x="862.3" y="759.0">78.93%</text>
</g>
<g><title>PP-OCRv5 Arabic: 85.96% headline CER, 86.66% without spaces β€” OCR model, licence Apache-2.0</title>
<rect x="0" y="766.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="781.3" text-anchor="end">PP-OCRv5 Arabic</text>
<line class="stem" x1="338.5" y1="777.0" x2="853.1" y2="777.0"/>
<circle class="dot" cx="860.1" cy="777.0" r="5.5"/>
<text class="val" x="870.1" y="781.0">85.96%</text>
</g>
<g><title>GLM-OCR: 125.2% headline CER, 131.5% without spaces β€” Vision-language model, licence MIT</title>
<rect x="0" y="788.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="803.3" text-anchor="end">GLM-OCR</text>
<line class="stem" x1="338.5" y1="799.0" x2="887.7" y2="799.0"/>
<circle class="dot" cx="894.7" cy="799.0" r="5.5"/>
<text class="val" x="904.7" y="803.0">125.2%</text>
</g>
<g><title>Qaari 0.1 Urdu: 129.1% headline CER, 134.6% without spaces β€” Vision-language model, licence Apache-2.0 (inherited from Qwen2-VL-2B; no repo tag)</title>
<rect x="0" y="810.0" width="1000" height="22" fill="transparent"/>
<text class="lab" x="324.5" y="825.3" text-anchor="end">Qaari 0.1 Urdu</text>
<line class="stem" x1="338.5" y1="821.0" x2="890.6" y2="821.0"/>
<circle class="dot" cx="897.6" cy="821.0" r="5.5"/>
<text class="val" x="907.6" y="825.0">129.1%</text>
</g>
<text class="t3" x="24" y="902">Same scorer, same 1,000 lines. Existing systems: off the shelf, no Hindko training, read by jobs/baselines.py. Ours: the CTC model by its trainer&#x27;s</text>
<text class="t3" x="24" y="918">evaluation (the jobs/eval_lines.py computation), B3 by its VLM evaluation, E1 by combining the A3 and B3 readings line by line. Our base model</text>
<text class="t3" x="24" y="934">scores 6.30% through jobs/baselines.py and 6.29% through jobs/eval_lines.py. A CER above 100% means more edits than reference characters: the</text>
<text class="t3" x="24" y="950">output adds text that is not in the line.</text>
<text class="t3" x="24" y="966">Left out: Qwen3.8-27B (run failed). Commercial OCR services were not benchmarked.</text>
<text class="t3" x="24" y="982">Sources: models/ctc_F1_16ep_s1234/summary.json, results/baselines_dev.json, results/e1_combine/summary.json, results/g3/summary.json,</text>
<text class="t3" x="24" y="998">results/vlm_B3_9b_all/summary.json Β· Tensor Minds</text>
</svg>