GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE →
Model Intelligence Sheet

richardyoung/Xiaomi-OCR-0-GGUF overview

Xiaomi OCR 0 GGUF GGUF quantizations of SeerRay Lab/Xiaomi OCR 0 https://huggingface.co/SeerRay Lab/Xiaomi OCR 0 — a unified 0.8B OCR model built on Qwen3.5 0.…

ggufllama.cppollamaimatrixvisionmultimodalocrdocument-understandingimage-text-to-textarxiv:2510.18892base_model:SeerRay-Lab/Xiaomi-OCR-0base_model:quantized:SeerRay-Lab/Xiaomi-OCR-0license:apache-2.0endpoints_compatibleregion:usconversational

Runs locally from ~1.1 MB disk (4 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
0
Pipeline
image-text-to-text

Repository Files & Downloads

6 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
Xiaomi-OCR-0-Q4_K_M.ggufGGUFQ4_K_M516.8 MBDownload
Xiaomi-OCR-0-Q5_K_M.ggufGGUFQ5_K_M565.2 MBDownload
Xiaomi-OCR-0-Q6_K.ggufGGUFQ6_K616.6 MBDownload
Xiaomi-OCR-0-Q8_0.ggufGGUFQ8_0795.0 MBDownload
Xiaomi-OCR-0-imatrix.ggufGGUFGGUF1.1 MBDownload
mmproj-Xiaomi-OCR-0-F16.ggufGGUFF16195.5 MBDownload

Model Details

Model IDrichardyoung/Xiaomi-OCR-0-GGUF
Authorrichardyoung
Pipelineimage-text-to-text
Licenseapache-2.0
Base modelSeerRay-Lab/Xiaomi-OCR-0
Last modified2026-10-15T16:23:05.000Z

Model README

---

base_model: SeerRay-Lab/Xiaomi-OCR-0

base_model_relation: quantized

license: apache-2.0

pipeline_tag: image-text-to-text

tags: [gguf, llama.cpp, ollama, imatrix, vision, multimodal, ocr, document-understanding]

---

Xiaomi-OCR-0 (GGUF)

GGUF quantizations 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 — optimized for local inference with llama.cpp and Ollama, with its vision projector. All quants use an importance matrix.

Quick Start

With Ollama

ollama run richardyoung/xiaomi-ocr-0
# or straight from Hugging Face
ollama run hf.co/richardyoung/Xiaomi-OCR-0-GGUF:Q8_0

With llama.cpp

huggingface-cli download richardyoung/Xiaomi-OCR-0-GGUF \
    --include "*Q8_0*" "mmproj*" --local-dir ./models

./llama-mtmd-cli -m ./models/Xiaomi-OCR-0-Q8_0.gguf \
    --mmproj ./models/mmproj-Xiaomi-OCR-0-F16.gguf \
    --image page.png -p "Extract the text in the image."

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.

Why This Model?

  • 95.24 on Real5-OmniDocBench (#1) and 96.83 on OmniDocBench v1.6 (#2), per the authors
  • Robust on scanned, warped, photographed and skewed pages
  • Formulas (LaTeX), tables (OTSL) and JSON key-information extraction
  • Only 0.8B parameters
  • Apache-2.0

Use Cases

  • Whole-page document parsing to Markdown
  • Receipts and forms to JSON (KIE)
  • Questions about the text in an image

Available Quantizations

| File | Size | Use Case |

|---|---|---|

| Xiaomi-OCR-0-Q4_K_M.gguf | 0.54 GB | Recommended |

| Xiaomi-OCR-0-Q5_K_M.gguf | 0.59 GB | Higher quality |

| Xiaomi-OCR-0-Q6_K.gguf | 0.65 GB | Very high quality |

| Xiaomi-OCR-0-Q8_0.gguf | 0.83 GB | Recommended — best accuracy for a small OCR model |

| mmproj-Xiaomi-OCR-0-F16.gguf | 0.2 GB | Vision projector (required for images) |

| Xiaomi-OCR-0-imatrix.gguf | – | Importance matrix used for the quants (calibration_datav3) |

Verified

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'.

Other Models by richardyoung

---

Built & maintained by Richard Young · DeepNeuro

Run richardyoung/Xiaomi-OCR-0-GGUF with guIDE

Download guIDE — the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE → · Browse 524k+ models · Compare models

Source: Hugging Face · Compare models