[INDOLOGY] New Dharmamitra OCR Model available

Tyler Neill tyler.g.neill at gmail.com
Fri Dec 4 19:44:28 UTC 2026


Another red-letter day for Indology!

I've just run my first test of this new OCR model (admittedly, on an easy
case), and so far I am very impressed with the results. Kudos to Sebastian
and the rest of the team for not only doing the hard work of training this
model but also for sharing it in a modular way that allowed me to install
and use it locally within minutes. Running the model locally on my laptop
is delivering results significantly faster than the Dharmamitra website
(understandably so), and the quality seems high enough that this may
already be my new go-to option. I'll continue testing side-by-side with
other options to understand strengths and weaknesses, but my early reaction
is: Yay!

Kind regards,
Tyler


On Fri, Dec 4, 2026 at 7:08 AM <indology-request at list.indology.info> wrote:

> ---------- Forwarded message ----------
> From: Sebastian Nehrdich <nehrdbsd at gmail.com>
> To: Indology List <indology at list.indology.info>
> Cc:
> Bcc:
> Date: Fri, 4 Dec 2026 14:44:17 +0900
> Subject: [INDOLOGY] New Dharmamitra OCR Model available
> Dear List members,
>
> We are happy to announce mitra-sanskrit-ocr, a freely available OCR model
> for printed Sanskrit:
>
> https://huggingface.co/buddhist-nlp/mitra-sanskrit-ocr
>
> The model is a fine-tune of Surya-OCR-2, an open OCR model by Datalab. It
> is the OCR engine behind the Dharmamitra OCR service (
> https://dharmamitra.org), where it can be used live without installing
> anything.
>
> We trained the model on about 37,000 pages from 346 printed Sanskrit
> editions scanned on archive.org. Each page was aligned with an existing
> human-typed e-text of the same work, and the e-text corrected the OCR
> wherever an independent second OCR agreed with it.
>
> We measured the model against a human-typed reference of a 1971
> letterpress edition (24 pages, about 7,800 phonemes). Counting only the
> errors specific to each engine, the results are:
>
> mitra-sanskrit-ocr: 69 errors
> Surya-OCR-2 (unmodified): 92 errors
> Google Cloud Vision: 115 errors
> Chandra-OCR-2: 168 errors
>
> On 60 pages from editions in Devanagari held out of training, the
> character error rate fell from 2.6% to 1.7%. Romanized Sanskrit (IAST) is
> read somewhat better than by the base model, and other content like English
> and Japanese is unaffected.
>
> The model is small (0.8 billion parameters) and runs on a GPU with vLLM.
> For Apple Silicon Macs (M1 and later) and other machines without an NVIDIA
> GPU, there is a llama.cpp version:
>
> https://huggingface.co/buddhist-nlp/mitra-sanskrit-ocr-gguf
>
> Heavily damaged scans remain difficult, and on such pages the model may
> drop or repeat lines. It is not intended for manuscripts or for Tibetan.
>
> We would be grateful for feedback, and especially for examples of pages
> where the model fails!
>
> Best regards,
>
> Sebastian, on behalf of the Dharmamitra team
>
> --
> Sebastian Nehrdich
>
> Distinguished Assistant Professor
> Tohoku University
> Center for Integrated Japanese Studies
>
> 東北大学 合日本学センター
> ディスティングイッシュトアシスタントプロフェッサー(助教)
>
> 〒980-8576
> https://cijs.oii.tohoku.ac.jp/
> sebastian-nehrdich.com
> ✉️ nehrdich at tohoku.ac.jp
> ☎️ 022-795-3822
> _______________________________________________
> INDOLOGY mailing list
> INDOLOGY at list.indology.info
> https://list.indology.info/mailman/listinfo/indology
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://list.indology.info/pipermail/indology/attachments/20261204/4818d0b8/attachment.htm>


More information about the INDOLOGY mailing list