Update README.md
Browse files
README.md
CHANGED
|
@@ -2,18 +2,63 @@
|
|
| 2 |
base_model:
|
| 3 |
- Qwen/Qwen3-VL-2B-Instruct
|
| 4 |
tags:
|
| 5 |
-
- text-generation-inference
|
| 6 |
-
- transformers
|
| 7 |
-
- qwen3_vl
|
| 8 |
- ocr
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
- Optical Character Recognition
|
| 10 |
- vision-language
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
license: apache-2.0
|
| 12 |
language:
|
| 13 |
- en
|
| 14 |
-
- ar
|
| 15 |
- fa
|
|
|
|
| 16 |
datasets:
|
| 17 |
- mohajesmaeili/Persian_Arabic_TextLine_Image_Ocr_Small
|
| 18 |
pipeline_tag: image-to-text
|
| 19 |
-
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 2 |
base_model:
|
| 3 |
- Qwen/Qwen3-VL-2B-Instruct
|
| 4 |
tags:
|
|
|
|
|
|
|
|
|
|
| 5 |
- ocr
|
| 6 |
+
- qwen3_vl
|
| 7 |
+
- persian
|
| 8 |
+
- arabic
|
| 9 |
+
- text-line-ocr
|
| 10 |
- Optical Character Recognition
|
| 11 |
- vision-language
|
| 12 |
+
- vl
|
| 13 |
+
- persian-ocr
|
| 14 |
+
- arabic-ocr
|
| 15 |
+
- farsi
|
| 16 |
license: apache-2.0
|
| 17 |
language:
|
| 18 |
- en
|
|
|
|
| 19 |
- fa
|
| 20 |
+
- ar
|
| 21 |
datasets:
|
| 22 |
- mohajesmaeili/Persian_Arabic_TextLine_Image_Ocr_Small
|
| 23 |
pipeline_tag: image-to-text
|
| 24 |
+
---
|
| 25 |
+
# Persian/Arabic OCR - Qwen3-VL-2B-Instruct - v1.0
|
| 26 |
+
|
| 27 |
+
This is a **16-bit version** of **Qwen/Qwen3-VL-2B-Instruct** fine-tuned specifically for Persian text recognition (OCR) on **individual text lines**.
|
| 28 |
+
The model has been trained exclusively on cropped single-line text images and is **not designed for full-page OCR**.
|
| 29 |
+
|
| 30 |
+
## Training Details
|
| 31 |
+
|
| 32 |
+
- **Dataset**:
|
| 33 |
+
- 56,000 real Persian text line images
|
| 34 |
+
- 100,000 synthetic images (47 fonts in 3 diffrent sizes) with clean and noisy/colored backgrounds
|
| 35 |
+
- **Total Examples**: 156k text line images
|
| 36 |
+
- **Epochs**: 1
|
| 37 |
+
- **LoRA Rank**: 512
|
| 38 |
+
- **Batch Size**: 100
|
| 39 |
+
- **Learning Rate**: 2e-4
|
| 40 |
+
- **Trainable Parameters**: 759,169,024 (26.30% of total parameters)
|
| 41 |
+
|
| 42 |
+
## Training Performance
|
| 43 |
+
|
| 44 |
+
Training loss decreased steadily, ending at approximately **0.071**.
|
| 45 |
+
|
| 46 |
+
| Step | Training Loss |
|
| 47 |
+
|--------|---------------|
|
| 48 |
+
| 0 | 2.2102 |
|
| 49 |
+
| 100 | 0.1577 |
|
| 50 |
+
| 200 | 0.1384 |
|
| 51 |
+
| 300 | 0.1330 |
|
| 52 |
+
| 400 | 0.1208 |
|
| 53 |
+
| 500 | 0.1078 |
|
| 54 |
+
| 600 | 0.1080 |
|
| 55 |
+
| 700 | 0.1065 |
|
| 56 |
+
| 800 | 0.0980 |
|
| 57 |
+
| 900 | 0.0871 |
|
| 58 |
+
| 1000 | 0.0827 |
|
| 59 |
+
| 1100 | 0.0802 |
|
| 60 |
+
| 1200 | 0.0898 |
|
| 61 |
+
| 1300 | 0.0866 |
|
| 62 |
+
| 1400 | 0.0811 |
|
| 63 |
+
| 1500 | 0.0774 |
|
| 64 |
+
| 1550 | 0.0714 |
|