Analysis of Libyan Dialect Sentiment Using AraBERT and MARBERT: A Comparative Study

Authors

  • Souad Al-Haram Department of Internet Technologies, Faculty of Information Technology, Al-Asmariya Islamic University, Zliten, Libya Author
  • Fatma Howedi Department of Computer Science, Faculty of Information Technology, Al-Asmariya Islamic University, Zliten, Libya Author

Keywords:

Sentiment, Libyan Dialect, AraBERT, MARBERT, Arabic NLP

Abstract

Because of the wide range of spoken dialects, the Libyan dialect is regarded as an uncommon digital resource and presents significant challenges for Arabic natural language processing. By providing an experimental comparative analysis of the capability of two cutting-edge language models based on this gap, this study seeks to address and evaluate it. Trained in the Libyan dialect to use the transformer architectures AraBERTvs and MARBERTv2 for sentiment analysis. A new dataset of 500 comments collected from social media sites was created and categorized. Both models were fine-tuned using the same parameters and evaluated on a specially designed test set. The AraBERTv2 model achieved 71. 0% accuracy, compared to the MARBERTv2 model's 70. 0%, demonstrating a slight advantage in the results. Notably, a study of training practices revealed that MARBERTv2 had early over fitting, whereas AraBERTv2 exhibited superior stability and enhanced learning ability. When applied to resource-constrained local vernaculars, the research demonstrates that models trained on various Modern Standard Arabic, such as AraBERT, may provide a more robust and generalizable foundation.

Downloads

Published

2025-12-20

Issue

Section

Applied Sciences Theme

How to Cite

Souad Al-Haram, & Fatma Howedi. (2025). Analysis of Libyan Dialect Sentiment Using AraBERT and MARBERT: A Comparative Study. Afro-Asian Journal of Scientific Research (AAJSR), 3(4), 175-179. https://aajsr.com/index.php/aajsr/article/view/695