Views
No views yet

| Metric | Value | Interpretation |
|---|---|---|
| Transfer Ratio | 95% | Percentage of successfully transferred weights |
| Time Savings | 90% | Compared to training from scratch |
| Eval Loss | 17% | From 0.45 to 0.2982 |
| Performance Impact | -10% | Lower than the old model |
| Processing Speed | +400% | Slower than the old model |
Knowledge transfer from Qwen2.5-VL model to Qwen3-VL
Efficient adaptation using LoRA (Low-Rank Adaptation) technique
Optimized for Arabic and English handwritten text recognition
Scalable for additional OCR tasks1
2# Mapping model layers between versions
3TARGET_MODULES_MAPPING = {
4 "language_model.model.layers.{layer}.self_attn.q_proj":
5 "model.layers.{layer}.self_attn.q_proj",
6 "language_model.model.layers.{layer}.self_attn.v_proj":
7 "model.layers.{layer}.self_attn.v_proj",
8 "language_model.model.layers.{layer}.mlp.gate_proj":
9 "model.layers.{layer}.mlp.gate_proj",
10 "language_model.model.layers.{layer}.mlp.up_proj":
11 "model.layers.{layer}.mlp.up_proj",
12 "language_model.model.layers.{layer}.mlp.down_proj":
13 "model.layers.{layer}.mlp.down_proj"
14}
15Application Performance:
400% slower than previous version
10% lower accuracy in practical applicationsKnowledge Transfer Optimization:
Study impact of structural mismatch
Develop automatic transfer tools
Analyze information loss during transfer
Performance Enhancement:
Reduce inference time
Increase accuracy on Arabic text
Improve handling of diverse handwriting styles
Task Expansion:
Number and symbol recognition
Multi-page document processing
Support for additional languagesOpen an Issue in the model repository
Include:
Error text
Usage code
Runtime environment
Input examplesPerformance optimization
Additional language support
Documentation improvements
Bug fixesQwen3-VL-4B-Instruct
- Base model
Arabic-English-handwritten-OCR-v3
- Knowledge source
PEFT
- Efficient adaptation
1@software{Arabic-English-handwritten-OCR,
2 title={Arabic-English Handwritten OCR v3 (Qwen3-VL)},
3 author={sherif1313},
4 year={2026},
5 url={https://huggingface.co/sherif1313/Arabic-English-handwritten-OCR-Qwen3-VL-4B}
6}