PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
February 5, 2026F1000Research4 citationsOpen Access

Enhancing Transformer-Based Language Models for Hungarian Handwritten Text Recognition

View Full Paper
MAMohammed A.S Al-HitawiGMGyöngyössy Natabara Máté

Key Points

  • The aim is to enhance the recognition of Hungarian handwritten text using transformer-based models.
  • Investigated several models including TrOCR, PULI-BERT, and Roberta-base.
  • Pre-trained models on large synthetic datasets and fine-tuned on human-annotated data.
  • Used augmentations to improve the dataset comprised of three-million-lines of text.
  • Achieved a Character Error Rate (CER) of 3.681 with TrOCR large handwritten model.
  • Achieved a Word Error Rate (WER) of 16.091 using PULI-BERT with the Deit model.
  • Fine-tuned models outperformed existing state-of-the-art models for historical Hungarian handwriting.

Abstract

Optical Character Recognition (OCR) is still working on making a multilingual model that incorporates the Hungarian language. We introduce a hybrid Hungarian and English model, one of the biggest challenges is to recognize handwritten text. We are going to investigate a set of models in this research, such as TrOCR large-handwritten, leveraging PULI-BERT, and Roberta-base with Diet models. The digitization of documents, and the preservation of cultural heritage specifically, has long been a research problem related to text recognition. We use an extensive text on the recognition approach using pre-trained visual and language transformer models. We pre-train the TrOCR proposed by Microsoft researchers for both large and base models at the first phase and then fine-tune them on human data at the second stage. Then, leverage new pre-trained transformers models such as Roberta-base, and PULI-BERT, as decoders and Diet, Vit, and Beit as encoder models at the pre-training phase on generated synthetic data and then fine-tune them on a small amount of human-annotated data provided by (DH-Lab) researchers with augmentation and without augmentation. Developed using tiny-scale Synthetic data of around three-million-line text open-source corpus, and subsequently refined using tiny person-labeled datasets. Experiments showed that the best CER is 3.681 in the TrOCR large handwritten, and the best WER is 16.091 by leveraging the PULI-BERT with the Deit model. These fine-tuned models outperform the currently existing state-of-the-art TrOCR models on historical Hungarian handwriting, according to the benchmark results on the János Arany dataset.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Al-Hitawi et al. (2026) studied this question.

synapsesocial.com/papers/6984358ff1d9ada3c1fb46f7https://doi.org/10.12688/f1000research.176408.1
Ask AI
Helpful
Bookmark
Share
View Full Paper