Logo Lanfrica

Essouiriaya/darija_ai_project

Domaine:

natural language processing

Type de record:

softwaremodel
Créateur:
Ess
Hôte:
# 🚀 Darija AI Translator ## 📖 Description **Darija AI Translator** is a full-stack AI-powered web application that translates Moroccan Darija into English using Deep Learning models. This project includes: - 🧹 Cleaned and preprocessed datasets - 🤖 AI training experiments (Google Colab) - 🌐 Flask web application - 🎙️ Speech, text, and image translation modules 👉 **Google Colab Notebook (Training & Experiments):** colab.research.google.com --- ## ⚠️ Important Note This project is large and includes: - Datasets (DODa, MADAR) - Model checkpoints - OCR + Whisper assets --- ## 🏗️ Architecture ```text User │ ▼ Flask Frontend │ ▼ Flask Backend │ ├── Authentication ├── Translation Service ├── OCR Service └── Speech Service │ ▼ AI Layer ├── Transformer Models ├── Whisper └── EasyOCR │ ▼ MySQL Database ``` --- ## 🤖 AI Models ### Transformer Models #### Latin Darija → English ```python Helsinki-NLP/opus-mt-mul-en ``` #### Arabic Darija → English ```python Helsinki-NLP/opus-mt-ar-en ``` ### Baseline Model ```python Custom Seq2Seq LSTM (PyTorch) ``` --- ## 📊 Dataset ### Sources #### MADAR Corpus Arabic dialect parallel corpus. #### DODa (Darija Open Dataset) ```text 86,000+ sentence pairs Darija (Latin) Darija (Arabic) English ``` --- ## 🛠️ Tech Stack ### Backend ```text Python Flask SQLAlchemy MySQL ``` ### AI & NLP ```text PyTorch Transformers Hugging Face Whisper EasyOCR ``` ### Frontend ```text HTML5 CSS3 Bootstrap 5 JavaScript ``` --- ## 📈 Results ### Transformer | Metric | Value | |----------|----------| | Training Loss | 0.0464 | | Validation Loss | 0.0604 | | Translation Quality | Excellent | ### LSTM | Metric | Value | |----------|----------| | Training Loss | 1.68 | | Validation Loss | 5.32 | | Translation Quality | Limited | --- ## 🎯 Features …