What happened
The pipeline pairs a detector–recognizer OCR stack with LayoutNet for layout and tables, using models distilled from LlamaIndex’s 4B OCRia-1 document VLM. (huggingface.co) LiteParse merges OCR text with a PDF’s text layer and can output Markdown or JSON with bounding boxes. (huggingface.co) LayoutNet detects table rows, columns and spanning header cells, and classifies page-layout blocks; a router chooses a recognizer for each line across Latin, CJK, right-to-left and world-script models. (huggingface.co) LiteParse accepts PDFs, images and Office documents, converting Office files as needed. (huggingface.co) OCR rendering defaults to 250 DPI, adjustable with --dpi; --extract-blocks returns JSON layout blocks with bounding boxes and links to text items. (huggingface.co)
LlamaIndex reports a ParseBench-2 score of 59.2 for LiteParse with OCRia-nano-1, versus 48.7 with Tesseract; it lists 55.1 for Indra and 52.5 for Marker. (huggingface.co) The OCRia-1 teacher scored 87.0 in LlamaParse on GPU. For tables, the reported scores are 59.5 with OCRia-nano-1 and 36.2 with Tesseract. The publisher reports 27.8 pages per second, averaging a 16-vCPU container across five hosts with one worker per core; the test used 300 random ParseBench pages. (huggingface.co) On one core, reported mean processing time was 426 ms per page. Single-threaded WebAssembly is reported at about 1–4 seconds per scanned page on a laptop, and the model plus ONNX Runtime download is 60–75 MB.
LiteParse is available via CLI, Python and Node.js on Linux, macOS and Windows, and via WebAssembly in browser and edge runtimes. (huggingface.co) LiteParse is Apache 2.0, but the weights use the separate OCRia-nano-1 Model License. (huggingface.co) It permits free personal use and specified research, evaluation and internal R&D that does not reach a product or production workflow. (huggingface.co) Organizations below both $2M in annual revenue and $2M in total funding may use it commercially; above either threshold, or for a competing document-parsing, OCR or extraction product or service, a commercial license is required. (huggingface.co) The model card lists no deployed inference provider. (huggingface.co)
What the archive adds
This extends LlamaIndex’s OCRia-1 document-parsing line, including prior coverage of the 4B model’s opened weights and reported comparison with open-weight parsers. (earlier New Runtime note)
Why it matters
After pulling the model, LiteParse uses OCRia-nano-1 as its OCR backend by default; you can select Tesseract for an individual run with lit parse scan.pdf --ocr-backend tesseract.
Limits and uncertainty
The benchmark and speed figures are reported by the model publisher; they are not an independent evaluation.
Skill to build now
Install LiteParse, pull the model and parse a PDF locally:
pip install liteparse
lit models pull ocria-nano
lit parse scan.pdf --format markdownReader takeaway
OCRia-nano-1 is an 8.1M-parameter CPU-oriented document parser used through LiteParse, not a standalone inference script. LlamaIndex reports better ParseBench-2 results than LiteParse with Tesseract, but the scores are self-reported and well below the OCRia-1 GPU teacher. Check the model license before production or commercial use.