---
title: "Newer Models, Same Advantage"
description: "DharmaOCR, a Brazilian Portuguese-focused OCR model, is evaluated against newer Mistral OCR4 and Unlimited-OCR systems on a Portuguese-only benchmark. The article attributes its performance to a two-stage training pipeline: supervised fine-tuning on varied Portuguese documents, followed by Direct Preference Optimization (DPO) using comparative output preferences. Fine-tuning concentrates model capacity on Brazilian Portuguese vocabulary, syntax, and document structures, while DPO targets repetitive or incoherent generation, reducing inference time and cost and improving stability according to the article. DharmaOCR scored 0.925, compared with 0.798 for Mistral OCR4 and 0.7587 for Unlimited-OCR, while examples from handwritten ENEM essays show the competitors misreading Brazilian names and phrases that DharmaOCR handled correctly. The conclusion is that newer architectures can raise absolute performance, but directing finite resources at one domain can preserve a measurable specialist advantage."
---

# Newer Models, Same Advantage

[Hugging Face](https://yomu.fyi/company/hugging-face) · Erick Lachmann, Gabriel Pimenta de Freitas Cardoso, Francisco de Almeida Rocha Alves, Victor Gabriel Ferreira Barbosa · Jul 16, 2026

**Type:** Benchmark

## Summary

DharmaOCR, a Brazilian Portuguese-focused OCR model, is evaluated against newer Mistral OCR4 and Unlimited-OCR systems on a Portuguese-only benchmark. The article attributes its performance to a two-stage training pipeline: supervised fine-tuning on varied Portuguese documents, followed by Direct Preference Optimization (DPO) using comparative output preferences. Fine-tuning concentrates model capacity on Brazilian Portuguese vocabulary, syntax, and document structures, while DPO targets repetitive or incoherent generation, reducing inference time and cost and improving stability according to the article. DharmaOCR scored 0.925, compared with 0.798 for Mistral OCR4 and 0.7587 for Unlimited-OCR, while examples from handwritten ENEM essays show the competitors misreading Brazilian names and phrases that DharmaOCR handled correctly. The conclusion is that newer architectures can raise absolute performance, but directing finite resources at one domain can preserve a measurable specialist advantage.

## Context

The article addresses whether a domain-specialized OCR model can retain an advantage over newer, broader OCR models, given persistent gaps in extraction quality on complex documents and stability under production conditions.

## Approach / What changed

DharmaOCR uses supervised fine-tuning on Portuguese-language files from varied sources, formats, and complexity levels, followed by Direct Preference Optimization on comparative output preferences. The article compares it with Mistral OCR4 and Unlimited-OCR on a Portuguese-focused benchmark and examines handwritten ENEM essay examples.

## Takeaways

- On the Portuguese-focused benchmark, DharmaOCR scored 0.925, versus 0.798 for Mistral OCR4 and 0.7587 for Unlimited-OCR.
- Supervised fine-tuning builds Brazilian Portuguese domain competency, while DPO suppresses repetitive or incoherent outputs and improves stability, inference time, and cost.
- The article argues that newer architectures can increase a model's performance ceiling, but specialization can direct finite parameters and training resources more effectively toward a fixed domain.

**Tags:** [Machine Learning](https://yomu.fyi/topic/machine-learning), [Open Source](https://yomu.fyi/topic/open-source), [Performance](https://yomu.fyi/topic/performance)

- Source: [Hugging Face](https://huggingface.co/blog/Dharma-AI/newer-models-same-advantages)
- Source URL: https://huggingface.co/blog/Dharma-AI/newer-models-same-advantages
- Ingested by Yomu: 2026-08-29T05:40:15.797Z

[Read original post](https://huggingface.co/blog/Dharma-AI/newer-models-same-advantages)
