Add model card
Browse files
README.md
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
tags: [gguf, ocr, document-understanding, pixtral, qwen3]
|
| 4 |
+
base_model: lightonai/LightOnOCR-2-1B
|
| 5 |
+
pipeline_tag: image-to-text
|
| 6 |
+
language: [en, de, fr, es, it, pt, nl]
|
| 7 |
+
---
|
| 8 |
+
|
| 9 |
+
# LightOnOCR-2-1B — GGUF
|
| 10 |
+
|
| 11 |
+
GGUF conversion of [lightonai/LightOnOCR-2-1B](https://huggingface.co/lightonai/LightOnOCR-2-1B) for [CrispEmbed](https://github.com/CrispStrobe/CrispEmbed).
|
| 12 |
+
|
| 13 |
+
OCR Arena #2 (ELO 1697, 72% win rate). End-to-end document OCR — converts scans, PDFs, and photos to clean markdown.
|
| 14 |
+
|
| 15 |
+
## Architecture
|
| 16 |
+
|
| 17 |
+
| Component | Details |
|
| 18 |
+
|-----------|---------|
|
| 19 |
+
| Vision | Pixtral ViT (24L, 1024d, 2D RoPE, SiLU FFN) |
|
| 20 |
+
| Projection | 2×2 spatial merge + 2-layer MLP + RMSNorm |
|
| 21 |
+
| Decoder | Qwen3 (28L, 1024d, GQA 16/8, QK norm, SwiGLU) |
|
| 22 |
+
| Total | 1006M params |
|
| 23 |
+
| License | Apache 2.0 |
|
| 24 |
+
|
| 25 |
+
## Available Formats
|
| 26 |
+
|
| 27 |
+
| File | Format | Size |
|
| 28 |
+
|------|--------|------|
|
| 29 |
+
| `lightonocr-1b-f16.gguf` | F16 | 2218 MB |
|
| 30 |
+
| `lightonocr-1b-q8_0.gguf` | Q8_0 | 1025 MB |
|
| 31 |
+
| `lightonocr-1b-q4_k.gguf` | Q4_K | 622 MB |
|
| 32 |
+
|
| 33 |
+
## Usage
|
| 34 |
+
|
| 35 |
+
```bash
|
| 36 |
+
crispembed -m lightonocr-1b-q4_k.gguf --ocr document.png
|
| 37 |
+
```
|
| 38 |
+
|
| 39 |
+
Auto-detected from GGUF architecture metadata (`lightonocr`).
|