Skip to content
Back to projects
GenAI 4th-year project · EMSI Rabat, with Innovatech and SMARTiLab (Honoris United Universities) · pair project · 2026

E-Press

Track Moroccan news across several channels and produce a reliable report without sending content to an external AI service.

See the post Private code / team project
82 % classification accuracy
85 % RAG queries with relevant sources
5–15 s per article on GPU (vs several minutes)

Problem

Teams need a daily watch over Moroccan press and social media. Because the collected content is sensitive, all AI processing had to stay local.

Data

  • 10 Moroccan sources: press, YouTube, X and Facebook
  • Evaluation set of 30 annotated articles

Approach

  • Automated collection, cleaning and de-duplication of articles
  • Report generated twice a day
  • Local LLM agents (Ollama qwen2.5, Flowise) for classification and sentiment analysis
  • MiniLM embeddings stored in ChromaDB and a RAG chatbot that cites its sources
  • Moved inference from CPU to GPU
  • Built with Sadik Dassaa, supervised by Dr. Ing. Hasnââ Chaabi

Results

  • Classification: 82% accuracy; sentiment: 76% (on 30 annotated articles)
  • RAG chatbot: relevant sources in 85% of queries
  • Processing time: from several minutes down to 5–15 s per article

What I would improve

  • Extend the evaluation set beyond 30 annotated articles for more reliable measurements
  • Improve sentiment analysis (76%) with annotated examples from Moroccan media
Enlarged image