XI

Xiaomi OCR 0

XiaomiGGUF by prithivMLmodsUpdated 2026-10-07
Download on Hugging Face
Parameters752M
Context256K
Layers24
Architectureqwen35
Smallest quant0.5 GB
Quick answer

Xiaomi OCR 0 needs about 1.4 GB of memory at Q4_K_M (a 0.5 GB file) with an 8K context window, so it fits on a 4 GB GPU. This repository has 8 quants, from 0.5 GB (Q3_K_M) to 1.5 GB (BF16). Longer context needs more: at 32K tokens the KV cache alone adds about 1.6 GB.

Compact 0.8B vision‑language model for OCR and document parsing

Xiaomi OCR 0 is a 0.8B Qwen3.5‑based model trained on 170M OCR samples. It supports document parsing, OCR‑centric VQA, and key information extraction. The model handles standard, scanned, warped, photographed, and skewed documents.

Good at

  • Document parsing
  • OCR‑centric visual question answering
  • Structured information extraction

Limits

  • No vision support beyond OCR
  • Requires 8 k context for full performance
  • Apache‑2.0 license

Best for

  • OCR‑based data extraction
  • Document layout analysis
  • OCR‑centric Q&A tasks

Who it’s for. Developers building OCR pipelines or document understanding applications that need a single lightweight model. The model is suitable for edge deployments where memory is limited.

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q3_K_M0.5 GB 1.4 GB
Fits Get file →
Q3_K_L0.5 GB 1.4 GB
Fits Get file →
Q4_K_S0.5 GB 1.4 GB
Fits Get file →
Q4_K_M0.5 GB 1.4 GB
Fits Get file →
Q5_K_S0.6 GB 1.5 GB
Fits Get file →
Q5_K_M0.6 GB 1.5 GB
Fits Get file →
Q6_K0.6 GB 1.5 GB
Fits Get file →
BF161.5 GB 2.4 GB
Fits Get file →

For 8 GB VRAM, Q4_K_M (0.53 GB) or Q5_K_S (0.56 GB) provide a good balance of size and memory usage. If 4 GB VRAM is available, Q3_K_M (0.47 GB) is recommended. BF16 (1.52 GB) offers higher precision but needs more memory.

What GPU do you need for Xiaomi OCR 0?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: the best quant that fits is BF16 (1.5 GB file, about 2.4 GB in use).

Which Xiaomi OCR 0 quant should you choose?

Q4_K_M is the usual starting point for Xiaomi OCR 0: it balances file size and quality well. Here it is a 0.5 GB file.

If memory is tight, the smallest file is Q3_K_M at 0.5 GB, with the quality trade-offs that come with fewer bits. A reasonable choice when a 4-bit file will not fit, mostly on larger models. Quality loss is noticeable but often acceptable.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen35
Parameters752M
Layers24
Trained context262,144 tokens
KV cache (fp16)48 KB per token

Source

Quantized byprithivMLmods
FamilyXiaomi
Licenseapache-2.0
Downloads (HF)13,371
Last updated2026-10-07

Frequently asked questions about Xiaomi OCR 0

How much VRAM does Xiaomi OCR 0 need?

About 1.4 GB at Q4_K_M with an 8K context window. That is the 0.5 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run Xiaomi OCR 0 on an 8 GB GPU?

Yes, with BF16: the 1.5 GB file needs about 2.4 GB at 8K context. Larger quants in this repository do not fit in 8 GB.

What is the file size of Xiaomi OCR 0 GGUF?

It depends on the quant: Q3_K_M is 0.5 GB, Q3_K_L is 0.5 GB, Q4_K_S is 0.5 GB, Q4_K_M is 0.5 GB, Q5_K_S is 0.6 GB, Q5_K_M is 0.6 GB and 2 more.

What context length does Xiaomi OCR 0 support?

The GGUF header lists a trained context length of 262,144 tokens (256K). The KV cache grows with the context you use: about 0.4 GB at 8K and 1.6 GB at 32K.

Where can I download Xiaomi OCR 0 GGUF?

The files are on Hugging Face in the prithivMLmods/Xiaomi-OCR-0-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does Xiaomi OCR 0 use?

Hugging Face lists the license as apache-2.0. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Can I run Xiaomi OCR 0 on 8 GB VRAM?

Yes, using Q4_K_M or Q5_K_S quantizations keeps VRAM usage below 8 GB.

Does the model support multi‑language OCR?

The model is trained on English and Simplified Chinese documents.

What context length is required?

The model was trained on 262,144 tokens; 8 k context is sufficient for typical use.

Other GGUFs of Xiaomi-OCR-0

Similar models

Browse all →

More from prithivMLmods

All by prithivMLmods →

More Xiaomi models

All Xiaomi →

Other tiny models

All tiny models →