76 likesNew · 12d old
OCRia-1 turns scanned pages into perfect Markdown with tables
What is OCRia-1?
OCRia-1 is a 4-billion-parameter vision-language model that reads a document page image and outputs the entire page as Markdown, rendering tables as HTML. It captures merged cells, spanning headers, charts, math, checkboxes and other formatting without a separate OCR engine.
Who it is for
Data engineers and analysts who need accurate, automated document digitisation should try it.
How OCRia-1 works
OCRia-1 is a 4 billion-parameter vision-language model that takes a page image as its only input and generates markdown text directly. It is trained with a fixed system prompt that tells the model how to format tables, charts, math and page furniture. The model runs on the same inference stack used by LlamaParse, which adds a speculative decoder and custom kernels to accelerate generation. It can be served with vLLM, llama.cpp or HuggingFace Transformers, which handle the image-text tokenization and the large output token budget. No separate OCR engine or layout detector is used; the model learns visual grounding end-to-end.
What you can do with it
- Turn a rendered PDF page into markdown that includes HTML tables for complex layouts.
- Extract the underlying data from line charts or bar graphs as an HTML table.
- Preserve formatting such as bold, italics, strikethrough, underline, sub- and superscripts, and checkboxes.
- Transcribe handwritten mathematical expressions into LaTeX.
Good to know
- Reasonable speed requires a GPU; the raw BF16 weights are unoptimized for CPU.
- The API accepts only one page per request, so multi-page documents must be split.
- Layout boxes are not produced automatically; an external detector is needed for that information.
Written from the project's own model card.
The story so far
Early Signal first spotted llamaindex/OCRia-1 on November 25, 2026, with 76 likes. On its busiest day it gained 6 likes. The project is 12 days old. Early Signal files it under LLMs, Image, Inference.