cstr's picture
Upload README.md with huggingface_hub
ce09dc3 verified
|
Raw
History Blame Contribute Delete
1.1 kB
metadata
license: apache-2.0
tags:
  - ocr
  - gguf
  - crispembed
  - lightonocr
pipeline_tag: image-to-text

LightOnOCR-2-1B — CrispEmbed GGUF

LightOnOCR-2-1B (LightOn, Apache-2.0): Pixtral ViT (24L, 1024d) + Qwen3 decoder (28L, 1024d). OCR Arena #2. 1B params.

Files

File Type Size Notes
lightonocr-1b-f16.gguf F16 2.3 GB Full precision
lightonocr-1b-q8_0.gguf Q8_0 1.1 GB Best quality quantized
lightonocr-1b-q4_k.gguf Q4_K 0.6 GB Desktop/edge target

Usage

# CLI
crispembed --ocr lightonocr-1b-q8_0.gguf image.png

# Server
crispembed-server --ocr lightonocr-1b-q8_0.gguf
curl -X POST http://localhost:8080/math/ocr -d '{'"image": "document.png"}'
from crispembed import CrispMathOcr
ocr = CrispMathOcr("lightonocr-1b-q8_0.gguf")
text = ocr.recognize("document.png")
conf = ocr.mean_confidence
print(f"{text} (confidence: {conf:.2f})")

Source