paper-with-me

홈 › Papers

Arabic-Nougat: Fine-Tuning Vision Transformers for Arabic OCR and Markdown Extraction

2024-11-19 · Mohamed Rashad

We present Arabic-Nougat, a suite of OCR models for converting Arabic book pages into structured Markdown text. Based on Meta's Nougat architecture, Arabic-Nougat includes three specialized models: arabic-small-nougat, arabic-base-nougat, and arabic-large-nougat. These models are fine-tuned on a synthetic dataset, arabic-img2md, comprising 13.7k pairs of Arabic book pages and their Markdown representations. Key contributions include the Aranizer-PBE-86k tokenizer, designed for efficient tokenization, and the use of torch.bfloat16 precision with Flash Attention 2 for optimized training and inference. Our models achieve state-of-the-art performance, with arabic-large-nougat delivering the highest Markdown Structure Accuracy and the lowest Character Error Rate. Additionally, we release a large-scale dataset containing 1.1 billion Arabic tokens extracted from over 8,500 books using our best-performing model, providing a valuable resource for Arabic OCR research. All models, datasets, and code are open-sourced and available at https://github.com/MohamedAliRashad/arabic-nougat.

📄 PDF Abstract BibTeX arXiv:2411.17835

Code (1)

MohamedAliRashad/arabic-nougat 공식 구현 pytorch

Tasks

document understandingOptical Character Recognition (OCR)

Methods 이 논문이 사용한 방법론

Softmax The Softmax output function transforms a previous layer's output into a vector of probabilities. It is commonly used for multiclass classification. Given an input vector $x$…
Attention 설명 없음

Similar Papers 제목 키워드 기반

ALT at SemEval-2020 Task 12: Arabic and English Offensive Language Identification in Social Media

2020-12-01 · SEMEVAL 2020 · Sabit Hassan, Younes Samih, Hamdy Mubarak, Ahmed Abdelali

This paper describes the systems submitted by the Arabic Language Technology group (ALT) at SemEval-2020 Task 12: Multilingual Offensive Language Identification in Social Media. We focus on sub-task A (Offensive Language…

Language Identification

LISAC FSDM-USMBA Team at SemEval-2020 Task 12: Overcoming AraBERT's pretrain-finetune discrepancy for Arabic offensive language identification

2020-12-01 · SEMEVAL 2020 · Hamza Alami, Said Ouatik El Alaoui, Abdessamad Benlahbib, Noureddine En-nahnahi

AraBERT is an Arabic version of the state-of-the-art Bidirectional Encoder Representations from Transformers (BERT) model. The latter has achieved good performance in a variety of Natural Language Processing (NLP) tasks.…

Language Identification

Munsit at NADI 2025 Shared Task 2: Pushing the Boundaries of Multidialectal Arabic ASR with Weakly Supervised Pretraining and Continual Supervised Fine-tuning

2025-08-12 · Mahmoud Salhab, Shameed Sait, Mohammad Abusheikh, Hasan Abusheikh arxiv

Automatic speech recognition (ASR) plays a vital role in enabling natural human-machine interaction across applications such as virtual assistants, industrial automation, customer support, and real-time transcription. Ho…

Speech Recognition

SarcasmDet at SemEval-2022 Task 6: Detecting Sarcasm using Pre-trained Transformers in English and Arabic Languages

2022-07-01 · SemEval (NAACL) 2022 7 · Malak Abdullah, Dalya Alnore, Safa Swedat, Jumana Khrais 외

This paper presents solution systems for task 6 at SemEval2022, iSarcasmEval: Intended Sarcasm Detection In English and Arabic. The shared task 6 consists of three sub-task. We participated in subtask A for both language…

Sarcasm Detection

BERT Fine-tuning For Arabic Text Summarization

2020-03-29 · Khalid N. Elmadani, Mukhtar Elgezouli, Anas Showk

Fine-tuning a pretrained BERT model is the state of the art method for extractive/abstractive text summarization, in this paper we showcase how this fine-tuning method can be applied to the Arabic language to both constr…

Abstractive Text SummarizationExtractive SummarizationText Summarization