G
zai-org/GLM-OCR
Image Text To Text·zai-org· 3.2M· 1.9K
image text to text · transformers model
# pull & run locally
pip install mlforge-sdk && mlforge pull zai-org/GLM-OCR
pip install mlforge-sdk && mlforge pull zai-org/GLM-OCR
Model details
Task
Image Text To Text
Provider
zai-org
Framework
transformers
Parameters
1.3B
License
mit
Downloads
3.2M
Likes
1.9K
Paper
arXiv:2603.10910
Updated
2026-05-19
About zai-org/GLM-OCR
GLM-OCR is a multimodal OCR model for complex document understanding, built on the GLM-V encoder–decoder architecture. It introduces Multi-Token Prediction (MTP) loss and stable full-task reinforcement learning to improve training efficiency, recognition accuracy, and generalization. The model integrates the CogViT visual encoder pre-trained on large-scale image–text data, a lightweight cross-modal connector with efficient token downsampling, and a GLM-0.5B language decoder. Combined with a two-stage pipeline of layout analysis and parallel recognition based on PP-DocLayout-V3, GLM-OCR delivers robust and high-quality OCR performance across diverse document layouts.