Pierre-Loic Doulcet (@hexapode) header
Pierre-Loic Doulcet (@hexapode) profile picture

Currently hacking @llama_index, Stanford Codex Affiliate. Striving to make Computational Law general. Tweets express my own opinions

San Francisco
Joined May 2009
Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)Photo by Pierre-Loic Doulcet (@hexapode)
Pierre-Loic Doulcet retweeted
CLAUDE IS BRUTALLY SABOTAGING YOUR WORK, and there's a good chance that you're not aware of the extent of it. We are publishing an open source NERFAudit on a year of internal Ligandal work - 689 billion tokens of Claude Code, Codex, Grok, Gemini, and local models. 🧵
168
421
138
2,716
183,978
Pierre-Loic Doulcet retweeted
I think we’re kinda in a neon renaissance, where people discover all kinds of problems Claude failed to solve now are solved by neon, and it turned out that Claude didn’t really ā€œfailā€, it just didn’t want you to have the solution
16
39
2
640
8,554
Pierre-Loic Doulcet retweeted
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 : huggingface.co/llamaindex/OC… Release on @ollama: ollama.com/llamaindex/ocria-… LlamaParse: llamaparse.ai/
93
143
30
1,195
103,642
Pierre-Loic Doulcet retweeted
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: llamaindex.ai/blog/introduci… Install OCRia-nano-1 through liteparse: github.com/run-llama/litepar… Weights on @huggingface: huggingface.co/llamaindex/OC… Full technical report:
164
286
45
3,774
488,502
Pierre-Loic Doulcet retweeted
Building a great benchmark is challenging, building a perfect benchmark is near impossible. This especially holds true in the world of document parsing. I wrote a blog post that details the core design criteria needed for a document parsing benchmark, and the historical attempts to get there - from those based on static deterministic metrics to LLM as a judge approaches. Building a ā€œgreatā€ benchmark requires at least the following: 1. Representative data 2. Granularity 3. Quantifiable 4. Repeatable 5. Controllable 6. Aligned with human judgment Existing benchmarks based on deterministic metrics are oftentimes granular/repeatable, but not controllable or aligned with human judgment. Those based on LLM as a judge are not granular, quantifiable, repeatable, and can obscure how human judgment is encoded. Last week we launched ParseBench-2 in an attempt to tackle all of these dimensions. It contains a taxonomy of metrics across 6 dimensions (tables, charts, layout, formatting, text, and forms) that precisely measure document parsing failures and quantifies their impact. It’s certainly not perfect, but does make an honest attempt towards advancing every design criteria. It’s also designed to be customizable by the user (see our metric lab!) We’re rapidly shipping new iterations of this benchmark to improve annotations, metric quality, and customizability. If you do check it out, would love to hear your thoughts. Blog: llamaindex.ai/blog/building-… ParseBench-2: parsebench.ai/
ParseBench has been cited by NVIDIA, Cohere and Perplexity. It still isn’t a perfect benchmark. Part of getting closer meant owning where ParseBench-1 got things wrong. On one McDonald’s financial statement, it scored a parser that broke a dollar amount above one that got every number right. So for ParseBench-2, we changed how we build the metric. We decide how much each kind of error should matter first, then test and tune the scoring until it agrees. → 330 perturbation types to check that scores move by the right amount → 4,317 pages across six dimensions, now including forms → Full reference tables for all 1,025 charts → A Metric Lab to set scoring priorities for your own workload There’s still more to do, and we wanted to be open about that too. Read more about how we’re building toward a perfect document parsing benchmark in the reply below.
27
4
1
32
2,816
Pierre-Loic Doulcet retweeted
Last week we released ParseBench-2, our most comprehensive effort to benchmark various document OCR tools. It drew quite a bit of ire among our peer document OCR vendors, who offered their own reactions: ---- ā€œThis is marketing slopā€ - vendor 1 who immediately goes and publishes lower-effort marketing slop (*cough benchbench cough*) ---- ā€œeverybody is number 1 on their benchmarkā€ - vendor 2 who immediately shows their own benchmark where they’re #1 (also we’re not even #1 on some dimensions! No one actually cared about our efforts to be more fair) there was some constructive feedback which we’re taking into account and iterating on a new release. But it was mostly masked by some (pretty funny) noise and posturing. Unlike other vendors, our evals are completely open - no hidden judge prompt, no hidden test dataset, and we actively update the leaderboard from Github/Hugging Face submissions. If you’re in the market for document OCR, I think ParseBench-2 is probably the most comprehensive resource for comparing different solutions. Even if you completely ignore our parsing solutions or overall score, there’s value in understanding the detailed taxonomy we’ve created over different failure types. Come check it out! parsebench.ai/ Also our tech report is extremely detailed and the result of incredible effort from our research team. Come check it out: parsebench.ai/parsebench-2.p…
19
17
3
80
8,081
Pierre-Loic Doulcet retweeted
there's some legitimate feedback/critique that we're working through, but there's also quite a bit of noise. in the meantime, even if you disagree with the metrics, i'd hate if the methodology that our research team carefully put together was lost. check out the tech report: llamaindex.ai/files/parseben… would love your overall feedback on what dimensions matter the most for your needs!
4
2
13
1,966
Pierre-Loic Doulcet retweeted
i'm disappointed that you feel that way. calling it *only* marketing is extremely unfair to the months of effort our entire research team put in to put out this new version. we use these benchmarks extensively ourselves to understand capabilities of different ocr tools and improve our own stuff. we've benchmarked every new OCR/open-weight/frontier model release along these dimensions. if we purposely made our benchmarks trash it would seriously hurt our own development. everything is fully open, we have a 35-page tech report describing our methodology, actively update our leaderboard (we just updated it today thanks to feedback), etc. etc. every vendor has their own benchmark. you guys have OmniDocBench, Extend has RealDoc-Bench, Reducto has ParseArena, etc etc. I do think we're all angling for the same thing - a benchmark that is: - representative - repeatable - granular - aligned with human judgment we all have our own methodology towards getting there. and ofc we all want our own models to do well on these benchmarks. our benchmark is no more exclusively marketing-focused than OmniParseBench, or any others. so i do find it funny that you find we exclusively are "devaluing" the space. i do think there's valid feedback in the following: - we could've cleaned up our annotations - we can de-emphasize the overall score - we should've emphasize customizing the severity policy more instead of emphasizing the default scores in the end, i don't think my message will get through, since we're all competing and you guys have incentives to put this down. it's unfortunate that the real technical contributions within the paper (and the real constructive criticism) are deliberately glossed over in any of the slander. it's all good though šŸ™‚ have a great weekend
7
28
914
Pierre-Loic Doulcet retweeted
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.
We took a look at ParseBench-2 today. On their benchmark, one table scored 0 and another scored 100. Can you tell which is which? 🧵
2
9
19
1,594
Pierre-Loic Doulcet retweeted
XERJ just released Query-1. Instead of generating an answer, it turns your question into a program that runs over your data, with a trace you can inspect. It runs locally on four CPU cores. xerj.org/blog/xerj-query-ai-…
3
10
67
4,210
Pierre-Loic Doulcet retweeted
YOU CAN PARSE EVERYTHING 11.17.26 ocria-1 is already the cheapest, most accurate unified model for doc parsing (not only tables/text, but also charts/diagrams/images/scans) it's only getting better. stay tuned
Today we’re releasing OCRia-1, a frontier VLM for document parsing that sets a new SOTA in accuracy, cost, and latency. It not only sets a new high score on ParseBench (87.4), but also leads in three 3rd-party benchmarks: olmOCR-bench* (83.5 overall, 92.9 on tables!), PulseBench-Tab (84.1), and fr-bench-pdf2md (72.1). OCRia-1 is really, really good at parsing complex tables: nested headers, merged cells, irregular grids, scanned tables, and more. It is also fantastic at parsing complex unlabeled charts (line, bar, pie, technical diagrams), and preserving complex formatting. Most real-world enterprise documents contain at least one of the these, whether it’s a big tax withholding table or a public economic report. It is a 4B model and outperforms all other models within a similar parameter class: LightOnOCR-3, Chandra-OCR 2, Mistral OCR 4.1, and more. It is also extremely fast. All credit goes to our research team, who spent countless hours on curating a diverse dataset, tuning our training pipeline, and squeezing every last drop out of model optimization so that it can process billions of pages at scale. OCRia-1 as a base is powering all of our modes within LlamaParse (cost-effective, agentic, agentic plus), so you can access its capabilities today! If you’re processing millions/billions of documents at scale, we’re offering enterprises that book a demo up to $3k in credits for a guided evaluation.** *olmOCR-bench scores are adjusted based on unifying rendering at 1,288px for all models **enterprise POC credits apply to eligible organizations that book a demo
25
5
2
56
7,005
Pierre-Loic Doulcet retweeted
Today I'm releasing a deterministic algorithm that tells you whether the number of primes up to x is odd or even, in x^o(1) time. If x has n bits - Previous best: √x = 2^(n/2), exponential in n. Our algorithm: 2^(n/√log n). Paper: hexagonmath.org/pdf/2611.001…
4
11
1
93
4,417
Pierre-Loic Doulcet retweeted
There is so much alpha in this blog post for anyone learning model optimization. Check it out! llamaindex.ai/blog/the-infer…
We got OCRia-1 generating tokens nearly 10Ɨ faster on a single B200. Getting there meant making much better use of the same GPU. We tuned how OCRia-1 runs for the demands of document parsing, testing every change for both speed and accuracy. Some improvements were only 2–5%. Seventeen smaller optimizations later, ā€œjust a few percentā€ starts adding up. Our infrastructure team wrote up what worked, how they tested the changes, and what they learned about making document models run faster. We also plan to contribute some of these optimizations back to the open-source vLLM project. Read the full breakdown → llamaindex.ai/blog/the-infer… Watch the video below to see OCRia-1’s token generation before and after the optimizations.
3
7
41
4,353
Pierre-Loic Doulcet retweeted
We got OCRia-1 generating tokens nearly 10Ɨ faster on a single B200. Getting there meant making much better use of the same GPU. We tuned how OCRia-1 runs for the demands of document parsing, testing every change for both speed and accuracy. Some improvements were only 2–5%. Seventeen smaller optimizations later, ā€œjust a few percentā€ starts adding up. Our infrastructure team wrote up what worked, how they tested the changes, and what they learned about making document models run faster. We also plan to contribute some of these optimizations back to the open-source vLLM project. Read the full breakdown → llamaindex.ai/blog/the-infer… Watch the video below to see OCRia-1’s token generation before and after the optimizations.
13
8
2
37
13,778
Pierre-Loic Doulcet retweeted
happy halloween! šŸŽƒ we made a fun benchmark to "scare" LLMs and OCR tools into output repeating characters a lot of real-world documents have repeating characters that cause models to completely go off the rails check out boobench! link: llamaindex.ai/benchmarks/boo… dataset: huggingface.co/datasets/llam…
We built a haunted house for doc parsers šŸŽƒ Boo Bench is 179 pages that push parsers into repetition loops. One model saw 246 redaction x’s on a page and wrote 23,004 of them. Results in thread! Leaderboard + paper: llamaindex.ai/benchmarks/boo… Dataset: huggingface.co/datasets/llam…
37
3
2
29
4,548
Pierre-Loic Doulcet retweeted
BREAKING: Wow Gemini 3.8 flash is confirmed better at auto-research than Astra and Sol in our new auto-research benchmark! 🤯 I didn't expect this at all, but it's striking results confirmed with benchmarks that others can replicate. Gemini 3.8 Flash reaches better results faster than Astra and Sol, and it seems the model has been specifically trained to hillclimb(RSI?). A week ago we discovered a new benchmark using rewinded frontier research repos, which prevents "cheating" and tests true frontier problems that can't be in the training. Benchmark construction: 1) Rewind the Integer Multiplication repo to an earlier branch and have each model reach the next conditional witnesses ASAP. Measure time. 2) Start with the base Open Kernel Challenge kernels and try to reach an optimization of 1.01x within within 30 minutes. Gemini 3.8 Flash was both faster and reached better optimizations than Astra and Sol! I had some intuition of this last week running fleets of 3.8 flash agents making constant progress, so I wanted to benchmark it, and wow. Spent ~$9k in gemini tokens. I'm running the same benchmark on Claude models now.. You can replicate the benchmark and submit more models/harnesses using the link in the comments. Is it possible the Google models have been trained specifically to hillclimb, and this is how they solved RSI?
The Auto-research harness now supports Antigravity thanks to @saatvikv_ ! Shockingly, Google models are very good at auto-research/RSI. 🤯 I'm working on a cool benchmark that rewinds frontier research repos like Integer Mult, QRH, and these muse kernels to test all the models and harnesses and find the fastest and cheapest combinations. We tested Gemini 3.8 flash to hillclimb very fast and it even beat Opus 5.5 and Astra to some matched goals. I suspect Google has trained on code for RSI, and this is a spiky feature their models are very good at. Argon wouldn't allow it and kept stopping for security. Gemini 3.8 flash just climbed 26 ranks on the Open Kernel Challenge overall leaderboard to #70. I'm working on benchmarking the cost/breakthrough and will publish soon. I also published more CUDA optimization best practices as baked in prompts, and multiple people have used it to get on the leaderboard for the Muse Open Kernel Challenge now: github.com/rohanarun/Auto-re…
5
4
1
43
3,574
Pierre-Loic Doulcet retweeted
> Pretty crazy that math fell before OCR!
OCR is the latest task where AI surpassed humans Pretty crazy that math fell before OCR! > What is clear, is that on our benchmark anyway, Argon is much better than human experts
1
1
3
104
Pierre-Loic Doulcet retweeted
A lot of people pointed out the integer multiplication exponent progress is good but we still have constant time galactic multiplier. This is true for sure, but this post looked at how the constant time multiplier moved as the exponent improved. (Which wasn’t trivial to derive). Bad news and good news. Bad news is it doesn’t seem to be automatically improving with the exponent. Good news though is it one, it doesn’t seem to be getting worse, and two at least for most of the constructions there does seem to be opportunities to shrink it (since it was going down sometimes without even being optimized for). My optimistic take is this is hopefully that the integer multiplication work might actually one day become practical. Once the exponent comes down a little more, it might make sense to being a parallel track focusing on the constant multiplier. We may see the algorithm that comes out of this used in our computers for every day work still
17
3
1
110
9,771
Pierre-Loic Doulcet retweeted
china divided into areas of 1 million people! it's fun to see the contrast between the dense central plain and the sparsely populated west. i am working on doing all of asia, its been about 300 hours so far
29
119
7
1,313
55,630
Pierre-Loic Doulcet retweeted
Today we’re releasing OCRia-1, a frontier VLM for document parsing that sets a new SOTA in accuracy, cost, and latency. It not only sets a new high score on ParseBench (87.4), but also leads in three 3rd-party benchmarks: olmOCR-bench* (83.5 overall, 92.9 on tables!), PulseBench-Tab (84.1), and fr-bench-pdf2md (72.1). OCRia-1 is really, really good at parsing complex tables: nested headers, merged cells, irregular grids, scanned tables, and more. It is also fantastic at parsing complex unlabeled charts (line, bar, pie, technical diagrams), and preserving complex formatting. Most real-world enterprise documents contain at least one of the these, whether it’s a big tax withholding table or a public economic report. It is a 4B model and outperforms all other models within a similar parameter class: LightOnOCR-3, Chandra-OCR 2, Mistral OCR 4.1, and more. It is also extremely fast. All credit goes to our research team, who spent countless hours on curating a diverse dataset, tuning our training pipeline, and squeezing every last drop out of model optimization so that it can process billions of pages at scale. OCRia-1 as a base is powering all of our modes within LlamaParse (cost-effective, agentic, agentic plus), so you can access its capabilities today! If you’re processing millions/billions of documents at scale, we’re offering enterprises that book a demo up to $3k in credits for a guided evaluation.** *olmOCR-bench scores are adjusted based on unifying rendering at 1,288px for all models **enterprise POC credits apply to eligible organizations that book a demo
118
114
32
932
113,125