2 Downloads Updated yesterday
ollama run richardyoung/xiaomi-ocr-0:Q6_K
Xiaomi-OCR-0 (0.8B): document parsing, OCR Q&A and key-info extraction. #1 on Real5-OmniDocBench. Images work.
GGUF build of SeerRay-Lab/Xiaomi-OCR-0, a unified 0.8B OCR model built on Qwen3.5-0.8B-Base for document parsing, OCR-centric question answering and key information extraction. It ships with its vision projector, so image input works in Ollama.
Prompts (from the model card): document → Extract all information from the main body of the document image and represent it in markdown format, ignoring headers and footers. Tables should be expressed in OTSL format, formulas in the document should be represented using LATEX format, and the parsing should be organized according to the reading order. · text region → Extract the text in the image. · table → Parse the table in the image into OTSL. · formula → Identify the formula in the image and represent it using LATEX format. · KIE → Extract key information in the image followed by your JSON schema. The authors’ own image preprocessing and decoding settings are in their repo’s OLLAMA.md; results here use the GGUF as-is.
| Tag | Size (+ 0.2 GB projector) | BPW | Notes |
|---|---|---|---|
| Q4_K_M | 0.54 GB | 4.85 | Recommended |
| Q5_K_M | 0.59 GB | 5.68 | Higher quality |
| Q6_K | 0.65 GB | 6.56 | Very high quality |
| latest / Q8_0 | 0.83 GB | 8.5 | Recommended |
ollama run richardyoung/xiaomi-ocr-0
# then drag an image file into the prompt, or send it in the API "images" field
Tested through Ollama before upload (Q4_K_M and Q8_0) on a synthetic invoice with the prompt Extract the text in the image.; Q4_K_M returned: ‘INVOICE 4471 / Date: 2026-09-28 / Widgets x3 … \(42.00 / TOTAL: \)86.20’.
Built & maintained by Richard Young · DeepNeuro