ICYMI - this week we open-sourced the weights to our flagship OCR model, OCRia-1.
At the time of its release, it set the SOTA on ParseBench. it can parse most complex PDFs.
And now you can run it on your Mac mini!
https://t.co/IDi0TiYn8L
OCRia-nano-1 is an insane model.
It's just 8.1M parameters (!!) and can parse scanned text, tables, support multiple languages, and give you annotated bounding boxes.
It's probably the best model for digitalizing an unlimited document corpus for RAG, without worrying about page counts.
This Thanksgiving, come check it out 🙂
Today we are open-sourcing the weights to OCRia-1, our flagship 4B VLM for document OCR 🔥
This is our SECOND open-weight release in two days (we just launched OCRia-nano-1 yesterday!!).
OCRia-1 is on the pareto curve of accuracy and cost relative to other 4B models on multiple benchmarks: ParseBench, olmOCR-bench (tables), PulseBench-Tab, and fr-bench-pdf2md. It is an extremely general purpose model that can parse even the most complex document types, including complex tables/charts/formatting/layout.
We’re releasing the weights to help advance open research around OCR, on both @huggingface 🤗 and @ollama 🦙
If you want to use it in prod, come talk to us. If you want to use the latest SOTA of the OCRia model family, tuned for production, check out LlamaParse!
Release on @huggingface : https://t.co/h8SMhfRLDo
Release on @ollama: https://t.co/p4B9GtHFfU
LlamaParse: https://t.co/pAJJyXjzVD
In celebration of Jensen Huang's return and his commitment to open-source AI:
Today we’re releasing OCRia-nano-1, an extremely lightweight and open-weight OCR model that is just 8.1M parameters in size and can parse pages at 426 ms per page on your CPU ⚡️ - no GPU required!
OCRia-nano-1 is intended to be the first pass parsing for the billions of pages/petabytes of data that are locked up within any organization and unlock it for all agentic automation. Even at its size, it still has the following properties:
✅ it can parse complex tables and generate bounding boxes
✅ it is natively multilingual and can cover CJK, right-to-left, and other scripts
✅ is more accurate than Marker, PP-OCRv6, Tesseract while being up to 2-5x faster
It is perfect for ‘unlimited’ high-volume ingestion (e.g. indexing a petabyte scale RAG knowledge base) and ad-hoc uploaded files where the agent has additional tools to inspect the file more deeply. You can always use larger VLMs (like OCRia-1.5) for any document that requires higher visual accuracy.
Best of all, it’s a fully open-weight model available through liteparse. If you’re interested in using it for commercial use, come talk to us!
Blog: https://t.co/2woySeAtbz
Install OCRia-nano-1 through liteparse: https://t.co/Z5JFsCA7G3
Weights on @huggingface: https://t.co/1t6EZTO0fq
Full technical report:
I think this rule-based vs. model-based eval debate is missing the point we are trying to make (maybe this is valid feedback that we need to write our paper better😅)
ultimately, we are trying to say that severity is human preference, and human preference can be quite granular and nuanced.
we need evals that reflect that reality.
we love rule-based, deterministic evals AND LLM-as-judge evals.
with LLM-as-judge, what's in the rubric (i.e. prompt) becomes really important, to properly encode your preference.
in fact, we tried to do exactly that, writing down our preference in https://t.co/iypDnuEgm0 that can be used as rubric for LLM-as-judge.
There's no free lunch, you gotta state your preference somewhere.
In ParseBench-2. We chose to state the preference with what we call severity policies and optimize / generate deterministic rules to implement those.
There's definitely mistakes, as optimization is imperfect, and we have finite resources.
But we are making a genuine effort here, taking in feedback, and improving in the public quickly.
ParseBench-2 tests for a lot of things. This specific example was only annotated to look at formatting (bold, underline, strikethrough, etc.).
So yes, one table will score zero here. Thankfully, we have 100s of other tests for exact table structure, along with forms, text content, visual grounding, and charts.
As an open source benchmark, anyone is free to explore the dataset and look at how things are annotated, and even propose fixes. Deterministic benchmarks allow us to audit and trace every measurement. I can't say the same for lower effort LLM-as-a-judge approaches.
You shouldn't blindly any public benchmarks.
Every benchmark encodes what its authors care about. In data distribution, metric definition, and aggregation rules.
ParseBench-2 is no exception.
But we make these preferences as explicit and transparent as possible, so you can interpret it in your own context.
What's even cooler: we let you state your own preferences (of what is severe vs. benign).
Checkout our metric lab: https://t.co/bYUEGUFYJf
Big launch day at LlamaIndex! 🚀 We're introducing ParseBench-2, our most comprehensive document parsing benchmark yet, alongside OCRia-1.5, our newest family of document parsing models. Really exciting to see the team continue pushing the boundaries of what's possible! 🙌🏻
Me: It’s better.
Them: How do you know?
Me: Several researchers have been expecting this question.
ParseBench 2 is out. A ridiculous amount of work behind those three words. Major props to our team!
A really cool part of this work is how we approach automated metric design.
Instead of crafting them by hand, we fully acknowledge coding agents are now often better at doing that.
What's important for us human to do, is to state our preference and have a scalable method to encode that.
This is how we made ParseBench-2 much more granular, robust, and aligned.
Parsing keeps getting better. The evals need to keep up.
With ParseBench-2, we’re looking beyond similarity and asking what an expert would: how much did the parser get right, and how much do its mistakes matter?
Excited to see ParseBench-2 officially launched 🎉
A major step forward in making document parsing benchmarks more granular, reliable, and aligned with human judgment.
Proud to have contributed to this work!
LlamaIndex started as an open-source framework. ParseBench-2 is a good snapshot of where our heads are now: obsessing over whether a document actually got read correctly
this entire launch video was edited with AI
no agency. just me, 2 hours of raw footage, and my secret sauce
i’ve been able to cut my editing time by 40%, which meant more time to focus on the execution of this launch (which as a marketing person is the absolute best)
if enough people want it I'll make a video showing exactly how I did it :)