anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Reads text, formulas and tables from document images and pulls structured information out of them, in eight languages. A small OCR model from zai-org for developers and document pipelines.
GLM-OCR is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.
pip install -U huggingface_hub hf download zai-org/GLM-OCR
GLM-OCR is an OCR model from zai-org that reads complex documents. It recognizes text, formulas and tables, and it can extract structured information such as ID details when you give it a JSON-shaped prompt. The card describes a two-stage design, with layout analysis first and parallel recognition after it.
Developers who build document-reading services and need a small, open OCR model that handles tables and formulas.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Business operations | Back-office teams | Read forms, tables and seals | A scanned invoice read into text |
| Software development | Pipeline developers | Add OCR to a document service | A service that turns page images into Markdown |
| Research and education | Students and researchers | Read formulas and tables from papers | A formula from a scanned page |
| Public services | Records teams | Pull details from ID documents | Extracting fields from an ID scan |
If you only read documents that are already text, you can skip it.
| Use case | Who | What they get back |
|---|---|---|
| Document parsing | Developers | Raw text, formulas and tables from a page |
| Information extraction | Business teams | Structured fields in a JSON shape you define |
| High-volume services | Platform teams | Fast page-by-page reading on small hardware |
pip install -U huggingface_hub hf download zai-org/GLM-OCR
For document parsing, the card recommends the official SDK, which adds layout analysis and structured output. For information extraction, run the model directly with a prompt that follows a strict JSON schema. For parsing, the card lists three prompt types.
{
"text": "Text Recognition:",
"formula": "Formula Recognition:",
"table": "Table Recognition:"
}| Tool | What it does |
|---|---|
| Text Recognition prompt | Pulls raw text from a document page |
| Formula Recognition prompt | Pulls formulas from a document page |
| Table Recognition prompt | Pulls tables from a document page |
| Official SDK | Parses documents with layout analysis and structured output |
You give the model a page image with the table prompt. It returns the page's table content as text. For an ID document, you send a JSON-shaped prompt and get the requested personal details back as structured data.
If you are new to OCR, try the official SDK on one scanned page before you serve the model yourself. Check the output against the page by eye.
The model pairs a CogViT visual encoder with a small cross-modal connector and a GLM-0.5B language decoder. The card cites 0.9B parameters, while Hugging Face's record lists 1.3B. Training used multi-token prediction loss and reinforcement learning. The card reports 94.62 on OmniDocBench V1.5.
Reads text, formulas and tables from document images and pulls structured information out of them, in eight languages. A small OCR model from zai-org for developers and document pipelines.
Made by zai-org on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.
What it is: GLM-OCR is an OCR model from zai-org that reads complex documents. It recognizes text, formulas and tables, and it can extract structured information such as ID details when you give it a JSON-shaped prompt. The card describes a two-stage design, with layout analysis first and parallel recognition after it.
Who it suits: Developers who build document-reading services and need a small, open OCR model that handles tables and formulas.
Industry | Who uses it | How they use it | Example
Business operations | Back-office teams | Read forms, tables and seals | A scanned invoice read into text
Software development | Pipeline developers | Add OCR to a document service | A service that turns page images into Markdown
Research and education | Students and researchers | Read formulas and tables from papers | A formula from a scanned page
Public services | Records teams | Pull details from ID documents | Extracting fields from an ID scan
If you only read documents that are already text, you can skip it.
Where to use it:
Use case | Who | What they get back
Document parsing | Developers | Raw text, formulas and tables from a page
Information extraction | Business teams | Structured fields in a JSON shape you define
High-volume services | Platform teams | Fast page-by-page reading on small hardware
How to set it up:
pip install -U huggingface_hub
hf download zai-org/GLM-OCR
How to use it: For document parsing, the card recommends the official SDK, which adds layout analysis and structured output. For information extraction, run the model directly with a prompt that follows a strict JSON schema. For parsing, the card lists three prompt types.
{
"text": "Text Recognition:",
"formula": "Formula Recognition:",
"table": "Table Recognition:"
}
Tool | What it does
Text Recognition prompt | Pulls raw text from a document page
Formula Recognition prompt | Pulls formulas from a document page
Table Recognition prompt | Pulls tables from a document page
Official SDK | Parses documents with layout analysis and structured output
Example: You give the model a page image with the table prompt. It returns the page's table content as text. For an ID document, you send a JSON-shaped prompt and get the requested personal details back as structured data.
For newcomers and experts: If you are new to OCR, try the official SDK on one scanned page before you serve the model yourself. Check the output against the page by eye.
The model pairs a CogViT visual encoder with a small cross-modal connector and a GLM-0.5B language decoder. The card cites 0.9B parameters, while Hugging Face's record lists 1.3B. Training used multi-token prediction loss and reinforcement learning. The card reports 94.62 on OmniDocBench V1.5.
A page image goes in
Layout analysis finds the regions
The model reads each region in parallel
Text, formulas or tables come out
Good to know:
Title: Reading speed in the maker's own speed test
PDF input: 1.86 pages/second
Image input: 0.67 images/second
Download its files with Hugging Face's command line:
pip install -U huggingface_hub
hf download zai-org/GLM-OCR
Then follow the usage in its model card. Nothing in this kit runs by itself.
README.md 5 KB
Listed Hugging Face models in the same category that share the most tags with this one.
| Product | Downloads, last 30 days | Likes | Parameters | License | Last change |
|---|---|---|---|---|---|
| GLM-OCR This page | 1,793,299 | 2,215 | 1.3B | mit | |
| Falcon OCRShares image-to-text · transformers · safetensors | 3,667 | 178 | 270M | apache-2.0 | |
| indra-ocrShares image-to-text · safetensors | 8,624 | 529 | 1.3M | openrail | |
| anaksor-ocrShares image-to-text · safetensors | 61 | 4 | — | apache-2.0 | |
| PP-OCRv6_small_recShares image-to-text | 10,322 | 17 | — | apache-2.0 | |
| PP-OCRv6_mangaShares image-to-text | 437 | 14 | — | apache-2.0 |
Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
alirezarezvani · Skill
Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…
block · Kit
Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…
backnotprop · Kit
Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.