id stringclasses 2
values | side stringclasses 2
values | image imagewidth (px) 576 576 | markdown stringclasses 2
values | inference_info stringclasses 1
value |
|---|---|---|---|---|
permis-recto | recto | السجل المحدد الرقمي رياض العلم PERMIS DE CONDUIRE ROYAUME DU MARQUES
النام المحدد الخاص
Prénom MEHDI
Nom GOUOUIAD
C.N.I BE899456
Né(e) le 24/02/1998
اللجنة العامة
CASABLANCA
Permis N° 02/567609
رخصة القانون
Casa nord le 20/09/2016
B | [{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-08-11T13:47:59.370576", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}] | |
permis-verso | verso | القيمة الإجمالية
Categories Date de delivrance Restrictions
A1
A
B 20/09/2016
C
D
EB
EC
ED
Date de fin de validité 05/10/2026 9100 0500 0408 1563 | [{"model_id": "zai-org/GLM-OCR", "model_name": "GLM-OCR", "column_name": "markdown", "timestamp": "2026-08-11T13:47:59.370576", "task": "ocr", "temperature": 0.01, "top_p": 1e-05, "repetition_penalty": 1.1, "max_tokens": 8192}] |
Document OCR using GLM-OCR
This dataset contains OCR results from images in mehdigououiad/permis-ocr-bench using GLM-OCR, a compact 0.9B OCR model achieving SOTA performance.
Processing Details
- Source Dataset: mehdigououiad/permis-ocr-bench
- Model: zai-org/GLM-OCR
- Task: text recognition
- Number of Samples: 2
- Processing Time: 1.3 min
- Processing Date: 2026-08-11 13:48 UTC
Configuration
- Image Column:
image - Output Column:
markdown - Dataset Split:
train - Batch Size: 16
- Max Model Length: 8,192 tokens
- Max Output Tokens: 8,192
- Temperature: 0.01
- Top P: 1e-05
- GPU Memory Utilization: 80.0%
Model Information
GLM-OCR is a compact, high-performance OCR model:
- 0.9B parameters
- 94.62% on OmniDocBench V1.5
- CogViT visual encoder + GLM-0.5B language decoder
- Multi-Token Prediction (MTP) loss for efficiency
- Multilingual: zh, en, fr, es, ru, de, ja, ko
- MIT licensed
Dataset Structure
The dataset contains all original columns plus:
markdown: The extracted text in markdown formatinference_info: JSON list tracking all OCR models applied to this dataset
Reproduction
Produced on Hugging Face Jobs (gpu) with the glm-ocr.py recipe from uv-scripts. Run it yourself:
hf jobs uv run https://huggingface.co/datasets/uv-scripts/ocr/raw/main/glm-ocr.py \
mehdigououiad/permis-ocr-bench \
<output-dataset> \
--image-column image \
--batch-size 16 \
--task ocr
- Downloads last month
- -