chandra-OCR-GGUF

Chandra is a highly accurate OCR model designed to convert images and PDFs into structured outputs such as markdown, HTML, and JSON while preserving detailed layout information. It supports over 40 languages and excels in handling complex document elements including handwriting, tables, math expressions, forms with checkboxes, and diagrams with captions. Chandra offers flexible inference modes with local execution via HuggingFace or remote deployment using a vLLM server, making it suitable for both interactive use and large-scale batch processing. Its strong layout preservation and multilingual capabilities make it a versatile choice for document digitization and automated content extraction workflows.

Model Files

File Name Quant Type File Size File Link Description
chandra-BF16.gguf BF16 16.4 GB Link Full BF16 weights. Highest quality, largest file size.
chandra-F16.gguf F16 16.4 GB Link Full F16 weights. Highest quality, largest file size.
chandra-F32.gguf F32 32.8 GB Link Full F32 weights. Maximum precision, double the size of F16/BF16.
chandra-Q3_K_M.gguf Q3_K_M 4.12 GB Link Low quality.
chandra-Q3_K_S.gguf Q3_K_S 3.77 GB Link Lowest of the Q3 variants, very low RAM usage.
chandra-Q4_K_M.gguf Q4_K_M 5.03 GB Link Good quality, default size for most use cases, recommended.
chandra-Q4_K_S.gguf Q4_K_S 4.8 GB Link Slightly lower quality with more space savings, recommended.
chandra-Q8_0.gguf Q8_0 8.71 GB Link Extremely high quality, generally unneeded but max available quant.
chandra-mmproj-bf16.gguf mmproj-bf16 1.16 GB Link Multimodal projection file in BF16 format. Used for vision/language models.
chandra-mmproj-f16.gguf mmproj-f16 1.16 GB Link Multimodal projection file in F16 format. Used for vision/language models.
chandra-mmproj-f32.gguf mmproj-f32 2.31 GB Link Multimodal projection file in F32 format. Maximum precision for vision.
chandra-mmproj-q8_0.gguf mmproj-q8_0 752 MB Link Multimodal projection file in Q8_0 quantization. Smaller size for vision capabilities.

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 "Q4_K_M" with vision support
/data/llama.cpp/build/bin/llama-cli \
  -m /path/to/models/chandra-Q4_K_M.gguf \
  --mmproj /path/to/models/chandra-mmproj-bf16.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"

llama.cpp

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

Downloads last month
1,270
GGUF
Model size
8B params
Architecture
qwen3vl
Hardware compatibility
Log In to add your hardware

3-bit

4-bit

8-bit

16-bit

32-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. πŸ™‹ Ask for provider support

Model tree for prithivMLmods/chandra-OCR-GGUF

Quantized
(12)
this model

Spaces using prithivMLmods/chandra-OCR-GGUF 2

Collections including prithivMLmods/chandra-OCR-GGUF