chandra-ocr-2-NVFP4-GGUF

Chandra-OCR-2 from Datalab is a state-of-the-art OCR model that outputs structured markdown, HTML, or JSON while preserving precise layout information from images and PDFs across 90+ languages. It achieves SOTA benchmarks with 85.9% on olmocr and 77.8% multilingual score (+12% over Chandra 1), delivering major gains in math equation parsing, complex table reconstruction (including merged cells), handwriting recognition, form elements like checkboxes, and wide-document layouts alongside vastly improved image captioning and diagram extraction. Available via free playground, hosted API for production speed/accuracy, or local deployment through HuggingFace Transformers/vLLM, it excels at transforming challenging real-world documents—financial filings, research papers, historical scans, multilingual forms—into semantically rich structured data for downstream AI pipelines and automation workflows.

MTP — Speculative Decoding: No

Model Files

File Name Quant Type File Size File Link Description
chandra-ocr-2-NVFP4.gguf NVFP4 4.75 GB Link NVFP4 quantization. Highly optimized for specific hardware accelerators, offering a strong balance of size and performance.
chandra-ocr-2.mmproj.gguf mmproj 676 MB Link Multimodal projection file. Used for vision/language models.

NVFP4 Test Run

Tested chandra-ocr-2-NVFP4.gguf with multimodal vision support using llama-cli on an NVIDIA RTX PRO 6000 Blackwell Server Edition GPU with 96 GB of VRAM.

Performance Metrics

Metric Value
Average Prompt Processing Speed 2,957.14 tokens/s
Average Generation Speed 192.13 tokens/s
Average Wall Time 8.98 seconds
Total Wall Time 26.9 seconds
Context Length 16,384 tokens
KV Cache (K) q8_0
GPU NVIDIA RTX PRO 6000 Blackwell Server Edition
GPU VRAM Capacity 96 GB
Peak GPU VRAM Usage 6.66 GiB
Peak GPU Utilization 88%
GPU Layers Offloaded 99 (-ngl 99)
Random Seed 42
Speculative Decoding Disabled
Vision Support Enabled (--mmproj)
Test Runs 3

Test Shots

Shot Test
Shot 1 Vision OCR: Image 1
Shot 2 Vision OCR: Image 2
Shot 3 Vision OCR: Image 3

Run Inference

# Download the image
wget -O /path/to/models/input.jpeg \
  "https://cdn-uploads.huggingface.co/production/uploads/65bb837dbfb878f46c77de4c/EF8cldKHhUEO3MZPZSD19.jpeg"

# Run Chandra OCR 2 NVFP4 with vision support
/data/llama.cpp/build/bin/llama-cli \
  -m /path/to/models/chandra-ocr-2-NVFP4.gguf \
  --mmproj /path/to/models/chandra-ocr-2.mmproj.gguf \
  -ngl 99 \
  -c 16384 \
  --cache-type-k q8_0 \
  --seed 42 \
  -n 8192 \
  -st \
  --image /path/to/models/input.jpeg \
  -p "OCR the image"

Performance results reflect this specific hardware and inference configuration. Actual throughput may vary depending on the image, model, software build, and runtime settings.

llama.cpp

LLM inference in C/C++ — https://github.com/ggml-org/llama.cpp


Snapshots (3)

download (1) download (2) download (3) download


Quantized using llama.cpp by prithivMLmods

Downloads last month
260
GGUF
Model size
4B params
Architecture
qwen35
Hardware compatibility
Log In to add your hardware

4-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for prithivMLmods/chandra-ocr-2-NVFP4-GGUF

Quantized
(41)
this model

Collections including prithivMLmods/chandra-ocr-2-NVFP4-GGUF