Smoking prevention mobile app with Atlas 2B finetuned to Algerian Darija trained on smoking data
# 🚭 SAI - Smoking Addiction Initiative
### AI-Powered Mental Health & Smoking Cessation Platform
*Leveraging NLP, RAG, and Fine-tuned Language Models for Arabic-speaking users*
Features • Architecture • ML/NLP • Setup • Demo
---
## 📖 About
**SAI** is an intelligent mobile application designed to support smoking cessation for Arabic-speaking users. The app combines behavioral tracking, personalized content, and an AI-powered chatbot to provide comprehensive support throughout the quitting journey.
### 🎯 Problem Statement
Smoking cessation apps often lack:
- **Arabic language support** with proper dialectal understanding
- **Intelligent conversational AI** that understands context and intent
- **Personalized, evidence-based** content delivery
- **Holistic mental health** tracking alongside cessation progress
### 💡 Solution
SAI addresses these gaps through:
- **Fine-tuned Arabic LLM** (Atlas model with LoRA) trained on smoking cessation data
- **RAG-powered chatbot** with semantic search and intent classification
- **Multi-modal tracking** (mood, sleep, cravings, smoking frequency)
- **Interactive podcasts** in Darija (Algerian Arabic)
- **Achievement system** to maintain user motivation
---
## ✨ Key Features
### 🤖 AI Chatbot (Sai)
- **Retrieval-Augmented Generation (RAG)** with FAISS vector database
- **Intent classification** (greetings, smoking queries, mental health, off-topic)
- **Semantic similarity matching** for relevant content retrieval
- **Dynamic token allocation** based on query complexity
- **Anti-hallucination measures** with confidence scoring
- **Persistent chat history** with session management
### 📊 Daily Check-in System
- Mood tracking with visual indicators
- Sleep quality monitoring
- Smoking frequency recording
- Craving intensity assessment
- Historical data visualization with calendar view
### 🎧 Interactive Podcasts
- Curated smoking cessation content in Arabic
- Audio playback with progress tracking
- Categorized by topics …