🤖 AI Summary
This work addresses three core challenges in developing Arabic large language models (LLMs): high data noise, inadequate tokenizer adaptation, and weak evaluation frameworks. To tackle these, we propose a systematic solution comprising: (1) a multi-stage Arabic-specific data cleaning framework; (2) a hybrid tokenizer integrating morphology-aware segmentation with subword tokenization; and (3) a multidimensional evaluation benchmark covering linguistic understanding, generation quality, and cultural appropriateness. Leveraging a massive, high-quality Arabic corpus, we implement an end-to-end customized pretraining pipeline. The resulting open-source foundational model achieves an average 12.3% improvement over state-of-the-art open Arabic LLMs across major Arabic benchmarks, with substantially enhanced reasoning and generation capabilities. We publicly release the cleaned dataset, tokenizer toolkit, and evaluation suite to foster sustainable advancement of the Arabic AI ecosystem.
📝 Abstract
Large Language Models (LLMs) have significantly advanced the field of natural language processing, enhancing capabilities in both language understanding and generation across diverse domains. However, developing LLMs for Arabic presents unique challenges. This paper explores these challenges by focusing on critical aspects such as data curation, tokenizer design, and evaluation. We detail our approach to the collection and filtration of Arabic pre-training datasets, assess the impact of various tokenizer designs on model performance, and examine the limitations of existing Arabic evaluation frameworks, for which we propose a systematic corrective methodology. To promote transparency and facilitate collaborative development, we share our data and methodologies, contributing to the advancement of language modeling, particularly for the Arabic language.