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

SandLogicTechnologies/hunyuanocr-GGUF overview

license: apache 2.0 language: multilingual base model: tencent/HunyuanOCR tags: multimodal ocr vision language model document understanding layout analysis tex…

ggufmultimodalocrvision-language-modeldocument-understandinglayout-analysistext-extractionmultilingualefficient-modelbase_model:tencent/HunyuanOCRbase_model:quantized:tencent/HunyuanOCRlicense:apache-2.0endpoints_compatibleregion:usconversational

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

Downloads
0
Likes
0
Pipeline

Repository Files & Downloads

4 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
HunyuanOCR-IQ3_M.ggufGGUFIQ3_M283.0 MBDownload
HunyuanOCR-IQ4_NL.ggufGGUFIQ4_NL325.9 MBDownload
HunyuanOCR-IQ4_XS.ggufGGUFIQ4_XS313.9 MBDownload
mmproj-Unlimited-OCR-F16.ggufGGUFF16774.3 MBDownload

Model Details

Model IDSandLogicTechnologies/hunyuanocr-GGUF
AuthorSandLogicTechnologies
Pipeline
Licenseapache-2.0
Base modeltencent/HunyuanOCR
Last modified2026-08-04T05:19:16.000Z

Model README

---

license: apache-2.0

language:

- multilingual

base_model:

- tencent/HunyuanOCR

tags:

- multimodal

- ocr

- vision-language-model

- document-understanding

- layout-analysis

- text-extraction

- multilingual

- efficient-model

- gguf

---

HunyuanOCR

HunyuanOCR is a compact vision-language OCR model developed by Tencent, designed for high-quality text recognition, document understanding, layout-aware parsing, and structured information extraction. This repository contains GGUF quantized variants of the model optimized for efficient local inference using llama.cpp.

Unlike conventional OCR systems that focus solely on character recognition, HunyuanOCR combines optical character recognition with visual understanding to interpret document layouts, reading order, tables, forms, and contextual relationships between textual elements. Its lightweight architecture enables efficient deployment while maintaining strong OCR performance across diverse document types.

The quantized formats significantly reduce memory requirements while preserving document understanding and OCR quality, making the model suitable for local document-processing pipelines, enterprise OCR systems, and resource-efficient edge deployments.

---

Model Overview

  • Model Name: HunyuanOCR
  • Base Model: tencent/HunyuanOCR
  • Architecture: Vision-Language Model
  • Modalities: Text, Image
  • Primary Languages: Multilingual
  • Developer: Tencent
  • License: Apache 2.0

---

Quantization Formats

This repository provides various GGUF quantized versions of the HunyuanOCR model optimized for efficient local inference using llama.cpp.

IQ3_M

  • Size reduction of approx 72.65% (282.96 MB) compared to 16-bit (1.01 GB)
  • Aggressive 3-bit quantization optimized for lightweight OCR deployment and rapid document processing
  • Suitable for resource-constrained OCR services, edge devices, and large-scale document digitization
  • Enables efficient recognition of printed text, scanned documents, invoices, and forms with minimal memory usage
  • Fine-grained layout interpretation and challenging document analysis may experience reduced accuracy compared to higher-precision variants

IQ4_NL

  • Size reduction of approx 68.50% (325.91 MB) compared to 16-bit (1.01 GB)
  • Advanced 4-bit non-linear quantization designed to preserve layout understanding and OCR fidelity
  • Better suited for structured document parsing, multilingual OCR, and enterprise document-processing workflows
  • Maintains strong consistency across complex page layouts, tables, and mixed-format documents
  • May require slightly increased computational overhead during inference

IQ4_XS

  • Size reduction of approx 69.64% (313.87 MB) compared to 16-bit (1.01 GB)
  • Balanced 4-bit quantization optimized for efficient OCR inference and dependable document understanding
  • Provides a practical balance between memory efficiency, recognition quality, and runtime performance
  • Suitable for document indexing, intelligent search, archive digitization, and production OCR pipelines
  • Maintains stable performance across a broad range of real-world document analysis workloads

---

Training Background (Original Model)

HunyuanOCR is trained with an emphasis on optical character recognition, document parsing, visual-text alignment, and multilingual document understanding across diverse document-centric datasets.

Pretraining

  • Large-scale multimodal pretraining using document images and multilingual textual corpora
  • Focus on visual-text representation learning, layout understanding, and OCR capability
  • Optimized for downstream document intelligence and structured information extraction

Instruction Tuning

  • Further refined using OCR-oriented and document understanding datasets
  • Enhanced for layout-aware recognition, structured extraction, and document reasoning tasks
  • Improved consistency across forms, invoices, reports, tables, and complex document layouts

---

Key Capabilities

  • Optical Character Recognition (OCR)

Accurately extracts textual content from scanned documents, images, and printed materials.

  • Document Understanding

Interprets document structure and semantic relationships between textual regions.

  • Layout Analysis

Recognizes tables, forms, paragraphs, reading order, and page organization.

  • Structured Information Extraction

Extracts meaningful structured information from business and technical documents.

  • Multilingual Processing

Supports OCR across multiple languages and document formats.

  • Efficient Local Deployment

Quantized variants enable practical OCR inference on consumer hardware and edge devices.

---

Usage Example

Using llama.cpp

./llama-mtmd-cli \
  -m SandLogicTechnologies/HunyuanOCR_IQ4_NL.gguf \
  --mmproj mmproj.gguf \
  --image invoice.png \
  -p "Extract all text and preserve the document structure."

---

Recommended Usecases

  • Enterprise OCR

Digitize business documents with layout-aware text recognition.

  • Document Processing

Extract structured information from reports, forms, and invoices.

  • Archive Modernization

Convert scanned archives into searchable digital content.

  • Knowledge Management

Prepare structured documents for indexing and retrieval systems.

  • Document AI Pipelines

Power intelligent OCR and document-understanding workflows.

  • Research & Evaluation

Benchmark OCR, document parsing, and layout-aware vision-language models.

---

Acknowledgments

These quantized models are based on the original work by the Tencent Hunyuan development team.

Special thanks to:

  • The Tencent team for developing and releasing the HunyuanOCR model.
  • Georgi Gerganov and the llama.cpp open-source community for enabling efficient quantization and inference via the GGUF format.

---

Contact

For questions, feedback, or support, please reach out at support@sandlogic.com or visit https://www.sandlogic.com/

Run SandLogicTechnologies/hunyuanocr-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