Newer Models, Same Advantage
AI-generated summary of reporting by Huggingface Blog. Read the original for the full story.
Why it matters
It shows that a narrowly fine-tuned open model (DharmaOCR) still beats newer generalist OCR models on its target language, so teams choosing OCR for Portuguese shouldn't assume newer means better.
A team called Dharma built DharmaOCR, an optical character recognition model that reads scanned documents in Brazilian Portuguese. They trained it only on that language, in two stages, so it learned Brazilian names and phrases properly. When tested against two newer, bigger rival models, DharmaOCR scored 0.925 while Mistral OCR4 scored 0.798 and Unlimited-OCR scored 0.7587. The lesson is that a model focused on one job can beat a generalist model even when the generalist is newer.
DharmaOCR, an OCR model specialized for Brazilian Portuguese, outperformed newer generalist rivals on Portuguese documents, scoring 0.925 versus 0.798 for Mistral OCR4 and 0.7587 for Unlimited-OCR. Generalist models misread common Brazilian names and produced unusable repetitive output on degraded scans, which breaks automated document workflows. Firms processing Portuguese documents gain accuracy and reliability by using a specialized model, though newer models may eventually close the gap.
DharmaOCR uses two-stage training: supervised fine-tuning on Portuguese documents, then Direct Preference Optimization on comparative output preferences to suppress text degeneration. On a Portuguese benchmark it scored 0.925 versus Mistral OCR4's 0.798 and Unlimited-OCR's 0.7587. Failures in generalists concentrate on proper nouns (e.g. 'Chico Buarque' misread) and next-token drift on degraded inputs; DPO penalizes incoherent full outputs, lowering degeneration rates. The authors caution newer architectures may still overtake it.
Read the original
This summary exists to save you time, not to replace the source.
Key terms
Was this summary useful?
One click, anonymous. It tells us which summaries to re-run.
Related reading
Samsung is testing a feature that changes the angle of photos you’ve already taken
Samsung’s new Recompose lets users change photo angles after shooting, potentially reducing the need for multiple shots and improving post-capture editing workflows for photographers and casual users alike.
Speculative Decoding Makes Tool Calls Faster. Agents Need a Cache.
Speed improvements in speculative decoding mean agents can execute tool calls faster, reducing latency for real-time applications.
Introducing the llama.cpp benchmark dashboard for AMD Ryzen and Radeon
AMD developers running llama.cpp locally on Ryzen/Radeon GPUs can now compare prompt-processing and token-generation speeds across builds, models and quantizations on a public dashboard.
Building on Nemotron 3.5 Parse: Open Data, Fine-Tuning, and Faster Inference
NVIDIA open-sources the datasets, training recipe and inference stack behind Nemotron 3.5 Parse, letting developers fine-tune custom document-extraction models today.
Swarms, Flocks, Gangs: How to build, train, and evaluate multi-agent systems
Hugging Face published a reproducible recipe and code showing a trained four-agent LLM team can beat an untrained one at 13x lower token cost, though the key question, whether communication beats extra compute, remains untested.