Logo Lanfrica

yahia-frf/algerian_arabic_nlp_project

Domain:

natural language processing

Record type:

project
Creator:
yah
Host:
# πŸ‡©πŸ‡Ώ Algerian Arabic NLP: Fine-Tuning BERT for Fake News Detection & Sentiment Analysis **A comprehensive NLP project fine-tuning state-of-the-art Arabic BERT models (DziriBERT & AraBERT) on Algerian Arabic dialect for binary classification tasks.** Key Features β€’ Installation β€’ Usage β€’ Architecture β€’ Results β€’ Citation --- ## πŸ“– Table of Contents - Overview - Key Features - Project Structure - Installation - Dataset Preparation - Usage - Model Architecture - Training Pipeline - Evaluation Metrics - Results - Inference - Technologies - Future Work - Contributing - License - Citation - Acknowledgments - Contact --- ## 🧠 Overview This project addresses the critical need for **Natural Language Processing (NLP)** tools tailored to **Algerian Arabic (Darja)**, a unique dialect that blends Modern Standard Arabic, Berber, and French influences. We tackle two fundamental NLP tasks: ### 🎯 Tasks 1. **πŸ“° Fake News Detection** Binary classification to identify misinformation in Arabic news articles and social media content. 2. **πŸ’¬ Sentiment Analysis** Binary sentiment classification to understand positive/negative emotions in Algerian Arabic text. ### πŸ”¬ Research Motivation Algerian Arabic presents unique challenges for NLP: - Limited labeled datasets - Code-switching between Arabic, French, and Berber - Dialectal variations distinct from Modern Standard Arabic - Underrepresentation in existing Arabic NLP models This project demonstrates that **dialect-specific models (DziriBERT) can outperform general-purpose Arabic models (AraBERT)** on Algerian content, validating the importance of regional language modeling. --- ## ✨ Key Features - πŸ€– **Dual Model Comparison**: DziriBERT vs AraBERT v2 - 🎯 **Two Classification Tasks**: Fake news detection & sentiment analysis - πŸ“Š **Comprehensive Evaluation**: Accuracy, F1-score, Precision, Recall - πŸš€ **Production-Ready Training**: Early stopping, learning rate scheduling, gradient accumulation - πŸ’Ύ **Google Drive Integra …