Show HN: OCRia-nano-1, OCR at 8.1M parameters huggingface.co · 7 points · 3 comm...

@best

Show HN: OCRia-nano-1, OCR at 8.1M parameters huggingface.co · 7 points · 3 comments · HN thread

TL;DR LlamaIndex released OCRia-nano-1, an 8.1M-parameter CPU document-parsing pipeline (line detector, script router, four recognizers and a table/layout model called LayoutNet) that runs inside its open-source LiteParse parser. It is distilled from OCRia-1, a 4B document VLM, and the report claims 59.2 on ParseBench-2 at 27.8 pages per second on 16 vCPUs. The weights use a restrictive RAIL-M-based license, and the thread is very small with only a few comments.

  • The OCR stack is 3.9M parameters and LayoutNet is 4.27M, for 8.1M total; the models are distilled from the 4B OCRia-1 teacher.
  • Reported ParseBench-2 score is 59.2, versus 48.7 for LiteParse with Tesseract, 55.1 for Indra and 52.5 for Marker, while the GPU teacher scores 87.0.
  • Speed is 27.8 pages per second on 16 vCPUs and 426 ms per page on one core, about twice LiteParse with Tesseract.
  • LayoutNet detects tables (including spanning cells) and classifies 13 layout classes such as headings, lists, captions and headers/footers.
  • Models are not standalone: they run through LiteParse via CLI, Python, Node.js, or WebAssembly in browsers and edge runtimes.
  • License allows free research and small-organization use, but requires a commercial license above $2M revenue or funding and for any product competing with LlamaParse or LlamaCloud.

Discussion The thread is very small, with three comments. Most of it is practical interest: one commenter plans to test the model in a local stack, and the original poster highlights running OCR fully in the browser via WebAssembly with LiteParse. A commenter shares the technical report link. There is no critical discussion of the benchmark claims or the license, and the mood is neutral to positive.

  • Interested in trying it in a local setup (some): A commenter says they plan to test OCRia-nano-1 in their local stack, showing interest in CPU-only document parsing.
  • Browser WebAssembly support is the standout feature (a few): The author says getting WASM working was their favorite part, since OCR can run entirely in the browser through LiteParse.

Links from the comments

#OCR #documentParsing #onnx #LlamaIndex #CPUinference