Add Bina 0.4 vs labs comparison charts (193 benchmark, 34 entries)
Browse files- .gitattributes +3 -0
- README.md +48 -17
- assets/bina04-bars-rings.png +3 -0
- assets/bina04-radar-bina-only.png +3 -0
- assets/bina04-radar.png +3 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
assets/bina04-bars-rings.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
assets/bina04-radar-bina-only.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
assets/bina04-radar.png filter=lfs diff=lfs merge=lfs -text
|
README.md
CHANGED
|
@@ -26,7 +26,7 @@ base_model: llamaindex/OCRia-nano-1
|
|
| 26 |
|
| 27 |
**A 9.55M-parameter Persian page OCR that runs on a laptop CPU.** Microscopy is the smallest member of the Bina 0.4 family. It reads whole pages and crops (printed text, handwriting, forms, screenshots, newspapers, math, letters) and accepts images or PDFs.
|
| 28 |
|
| 29 |
-
> **As of 29 November 2026**, on the 193-crop Persian OCR benchmark
|
| 30 |
|
| 31 |
| | Microscopy | [Rizeh](https://huggingface.co/Reza2kn/Bina-0.4-Rizeh) | [Koochik](https://huggingface.co/Reza2kn/Bina-0.4-Koochik) |
|
| 32 |
|---|---:|---:|---:|
|
|
@@ -34,6 +34,23 @@ base_model: llamaindex/OCRia-nano-1
|
|
| 34 |
| 193-crop benchmark, CER ↓ | 19.08 | 18.66 | 20.82 |
|
| 35 |
| Speed, laptop-class CPU | **0.78 s/page** | needs a GPU | needs a GPU |
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
## Quick run
|
| 38 |
|
| 39 |
```bash
|
|
@@ -95,21 +112,35 @@ Microscopy's figures come from the package in this repo. Rizeh's come from its r
|
|
| 95 |
| 2 | Gemini 4 Neon | 15.43 | 22.03 | 27.44 | 89.75 |
|
| 96 |
| 3 | Gemini 4 Carbon | 15.46 | 26.67 | 28.59 | 89.82 |
|
| 97 |
| 4 | Gemini 4 Hydrogen | 15.49 | 22.62 | 28.44 | 89.45 |
|
| 98 |
-
| 5 |
|
| 99 |
-
| 6 |
|
| 100 |
-
| 7 | Bina 0.4
|
| 101 |
-
| 8 |
|
| 102 |
-
| 9 | Bina 0.
|
| 103 |
-
| 10 |
|
| 104 |
-
| 11 |
|
| 105 |
-
| 12 |
|
| 106 |
-
| 13 |
|
| 107 |
-
| 14 |
|
| 108 |
-
| 15 |
|
| 109 |
-
| 16 |
|
| 110 |
-
| 17 |
|
| 111 |
-
|
| 112 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 113 |
|
| 114 |
### 50 handwriting pages (dev50, full page including printed form text)
|
| 115 |
|
|
@@ -172,7 +203,7 @@ CC BY-NC 4.0, matching the non-commercial training data.
|
|
| 172 |
|
| 173 |
بینا ۰٫۴ میکروسکوپی کوچکترین عضو خانوادهی OCR فارسی بینا ۰٫۴ است: ۹٫۵۵ میلیون پارامتر، روی CPU لپتاپ حدود ۰٫۸ ثانیه برای هر صفحه. متن چاپی، دستنویس، فرم، تصویر صفحهنمایش، روزنامه و ریاضی را از تصویر یا PDF میخواند.
|
| 174 |
|
| 175 |
-
تا ۲۹ نوامبر ۲۰۲۶، روی بنچمارک ۱۹۳ برش
|
| 176 |
|
| 177 |
```bash
|
| 178 |
pip install -r requirements.txt
|
|
|
|
| 26 |
|
| 27 |
**A 9.55M-parameter Persian page OCR that runs on a laptop CPU.** Microscopy is the smallest member of the Bina 0.4 family. It reads whole pages and crops (printed text, handwriting, forms, screenshots, newspapers, math, letters) and accepts images or PDFs.
|
| 28 |
|
| 29 |
+
> **As of 29 November 2026**, on the 193-crop Persian OCR benchmark (34 entries) only Bina 0.4 Rizeh (7.5× larger) and six Google models (Gemini 4 Argon, Neon, Carbon, Hydrogen, Gemini 3.7 Flash and Gemma 4 31B) score better than Microscopy. It beats the best models from Anthropic, OpenAI, Alibaba, Meta, xAI, DeepSeek and every other lab on the board, and Bina 0.4 Koochik at about 66× its size.
|
| 30 |
|
| 31 |
| | Microscopy | [Rizeh](https://huggingface.co/Reza2kn/Bina-0.4-Rizeh) | [Koochik](https://huggingface.co/Reza2kn/Bina-0.4-Koochik) |
|
| 32 |
|---|---:|---:|---:|
|
|
|
|
| 34 |
| 193-crop benchmark, CER ↓ | 19.08 | 18.66 | 20.82 |
|
| 35 |
| Speed, laptop-class CPU | **0.78 s/page** | needs a GPU | needs a GPU |
|
| 36 |
|
| 37 |
+
## How Bina 0.4 compares
|
| 38 |
+
|
| 39 |
+
The 193-crop Persian OCR benchmark ([`Reza2kn/persian-ocr-bench-submitted10-bbox-crops`](https://huggingface.co/datasets/Reza2kn/persian-ocr-bench-submitted10-bbox-crops)) has 34 entries as of 29 November 2026. Below are the three Bina 0.4 models next to the best model from each other lab, all re-scored from saved predictions with the same scorer (no-space CER after Bina `fair_text` normalization; on the radar, accuracy = 100 − CER).
|
| 40 |
+
|
| 41 |
+

|
| 42 |
+
|
| 43 |
+

|
| 44 |
+
|
| 45 |
+
Every model that scores better than the Bina 0.4 family on this scorer is from Google (Gemini 4 Argon, Neon, Carbon and Hydrogen, Gemini 3.7 Flash, Gemma 4 31B). All three Bina 0.4 models score better than the best Alibaba (Qwen 3.8 Flash, 22.53), Anthropic (Claude Opus 5 Fast, 22.62) and OpenAI (GPT-5.6 Sol, 31.75) models.
|
| 46 |
+
|
| 47 |
+
<details><summary>The three Bina 0.4 models alone, axes magnified</summary>
|
| 48 |
+
|
| 49 |
+

|
| 50 |
+
|
| 51 |
+
Each axis runs from the weakest to the strongest of the three, so small differences are visible. Ranges: forms 91–94%, screens 92–97%, prose 62–69%, math 84–88%, newspaper 81–92%, tables 40–61% accuracy.
|
| 52 |
+
</details>
|
| 53 |
+
|
| 54 |
## Quick run
|
| 55 |
|
| 56 |
```bash
|
|
|
|
| 112 |
| 2 | Gemini 4 Neon | 15.43 | 22.03 | 27.44 | 89.75 |
|
| 113 |
| 3 | Gemini 4 Carbon | 15.46 | 26.67 | 28.59 | 89.82 |
|
| 114 |
| 4 | Gemini 4 Hydrogen | 15.49 | 22.62 | 28.44 | 89.45 |
|
| 115 |
+
| 5 | Gemini 3.7 Flash | 17.90 | 25.36 | 30.53 | 86.87 |
|
| 116 |
+
| 6 | Gemma 4 31B | 18.24 | 1270.30 | 32.10 | 85.24 |
|
| 117 |
+
| 7 | Bina 0.4 Rizeh (71.2M) | 18.66 | 21.27 | 36.83 | 87.55 |
|
| 118 |
+
| 8 | **Bina 0.4 Microscopy (9.55M)** | **19.08** | 22.64 | 39.77 | 85.92 |
|
| 119 |
+
| 9 | Bina 0.4 Koochik (630.8M) | 20.82 | 25.14 | 34.58 | 86.38 |
|
| 120 |
+
| 10 | Qwen 3.8 Flash | 22.53 | 29.17 | 40.99 | 81.60 |
|
| 121 |
+
| 11 | Claude Opus 5 Fast | 22.62 | 28.09 | 36.56 | 84.08 |
|
| 122 |
+
| 12 | Gemini 3.1 Pro Preview | 22.97 | 45.54 | 39.16 | 85.40 |
|
| 123 |
+
| 13 | Bina Koochik 0.1 | 26.94 | 31.02 | 41.03 | 83.98 |
|
| 124 |
+
| 14 | OCRia nano 1 | 29.69 | 32.97 | 55.84 | 74.35 |
|
| 125 |
+
| 15 | GPT-5.6 Sol | 31.75 | 36.23 | 45.80 | 77.39 |
|
| 126 |
+
| 16 | Muse Spark 1.2 Contributor | 33.39 | 36.61 | 52.02 | 73.73 |
|
| 127 |
+
| 17 | Grok 4.6 | 37.18 | 40.96 | 54.12 | 70.31 |
|
| 128 |
+
| 18 | Bina 0.3 | 38.68 | 40.79 | 51.56 | 82.18 |
|
| 129 |
+
| 19 | OCRia 1 | 40.13 | 51.09 | 63.78 | 71.36 |
|
| 130 |
+
| 20 | Nemotron 3.5 Parse | 42.26 | 49.74 | 67.25 | 55.25 |
|
| 131 |
+
| 21 | DeepSeek V4 Flash Vision Exp | 45.66 | 48.96 | 64.54 | 47.93 |
|
| 132 |
+
| 22 | Inkling 2 Mini | 49.70 | 536.19 | 68.32 | 56.96 |
|
| 133 |
+
| 23 | Kimi K3 | 58.98 | 60.99 | 67.90 | 57.45 |
|
| 134 |
+
| 24 | Surya OCR 2.5 | 59.39 | 74.29 | 66.64 | 55.21 |
|
| 135 |
+
| 25 | Surya 2 | 78.31 | 99.83 | 70.65 | 53.82 |
|
| 136 |
+
| 26 | GLM 5.3 Flash | 78.87 | 79.98 | 87.14 | 23.80 |
|
| 137 |
+
| 27 | Unlimited OCR | 86.73 | 107.14 | 119.69 | 32.10 |
|
| 138 |
+
| 28 | MiniCPM-V 4.7 1B (RaahNaame r29) | 110.78 | 135.09 | 181.37 | 63.92 |
|
| 139 |
+
| 29 | dots.mocr | 188.08 | 192.28 | 198.51 | 56.92 |
|
| 140 |
+
| 30 | Ternary Bonsai 2 27B | 321.66 | 358.05 | 395.69 | 65.27 |
|
| 141 |
+
| 31 | MiniCPM-V 4.7 1B | 353.80 | 353.81 | 386.41 | 41.25 |
|
| 142 |
+
|
| 143 |
+
Ranked by no-space CER. Older runs of Rizeh and Koochik and a Gemma 4 26B A4B run that failed with HTTP 404 errors are left out. On the public scorer, which counts spaces, Microscopy also scores below Gemini 4 Argon and Carbon. CER above 100 means the model produced more wrong text than there was text, for example through repetition or HTML output.
|
| 144 |
|
| 145 |
### 50 handwriting pages (dev50, full page including printed form text)
|
| 146 |
|
|
|
|
| 203 |
|
| 204 |
بینا ۰٫۴ میکروسکوپی کوچکترین عضو خانوادهی OCR فارسی بینا ۰٫۴ است: ۹٫۵۵ میلیون پارامتر، روی CPU لپتاپ حدود ۰٫۸ ثانیه برای هر صفحه. متن چاپی، دستنویس، فرم، تصویر صفحهنمایش، روزنامه و ریاضی را از تصویر یا PDF میخواند.
|
| 205 |
|
| 206 |
+
تا ۲۹ نوامبر ۲۰۲۶، روی بنچمارک ۱۹۳ برش (۳۴ مدل) فقط بینا ۰٫۴ ریزه (۷٫۵ برابر بزرگتر) و شش مدل گوگل (Gemini 4 Argon، Neon، Carbon، Hydrogen، Gemini 3.7 Flash و Gemma 4 31B) از میکروسکوپی بهترند. میکروسکوپی از بهترین مدلهای Anthropic، OpenAI، Alibaba، Meta، xAI، DeepSeek و بقیهی آزمایشگاهها، و از بینا ۰٫۴ کوچیک با حدود ۶۶ برابر حجم، بهتر است.
|
| 207 |
|
| 208 |
```bash
|
| 209 |
pip install -r requirements.txt
|
assets/bina04-bars-rings.png
ADDED
|
Git LFS Details
|
assets/bina04-radar-bina-only.png
ADDED
|
Git LFS Details
|
assets/bina04-radar.png
ADDED
|
Git LFS Details
|