| 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 | |
| ```bash | |
| # 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"}' | |
| ``` | |
| ```python | |
| 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 | |
| - Original: [LightOn/LightOnOCR-2-1B](https://huggingface.co/LightOn/LightOnOCR-2-1B) | |
| - Converted with CrispEmbed `convert-lightonocr-to-gguf.py` | |