Logo Lanfrica

Essouiriaya/darija_ai_project

Domain:

natural language processing

Record type:

softwaremodel
Creator:
Ess
Host:
# πŸš€ 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 …