Hello, I'm
Ossama Elhakki
AI Engineer & ML Systems Builder
I build intelligent systems that learn, predict, and automate — from fraud detection models to WhatsApp AI agents.
Featured Projects
Selected work across machine learning, computer vision, NLP, and AI automation

IEEE-CIS Fraud Detection
Full ML pipeline on 590K transactions, 433 features. LightGBM AUC 0.9648 — stacking ensemble LGB+XGB+CatBoost+RF with advanced feature engineering on Vesta behavioral features.
AI Image Generation Platform (Ofoto)
Production deployment of Stable Diffusion (Automatic1111 + ControlNet) with FastAPI backend, Vue.js frontend — 500+ concurrent requests, 99.9% uptime, -35% latency, -40% release time.
WhatsApp AI Sales Agent
Production AI sales agent on WhatsApp Business. Classifies messages (Sales/Support/Off-topic), queries Supabase product DB, uses Ollama/Llama3.1 locally, bilingual FR/AR, conversation memory. -90% manual processing time.

Breast Cancer Ultrasound Segmentation
9-architecture segmentation benchmark on 780 BUSI images. DeepLabV3+ tops with Dice 0.7863, IoU 0.6483. FCN → SimpleUNet → SegNet → Attention-UNet → TransUNet → ResNet34-UNet → EfficientNet-UNet → DeepLabV3+ → Swin-UNet.

Ethereum Blockchain Fraud Detection
Blockchain fraud detection on 9,841 Ethereum addresses. XGBoost+LightGBM+CatBoost+Stacking with Optuna HPO (40 trials) and SHAP. AUC 0.9973, F1 0.9658 at optimal threshold 0.85.

English → French Neural Machine Translation
Memory-safe NMT on a 6 GB dataset without RAM crashes. Custom Seq2Seq + HuggingFace mBART/Helsinki-NLP fine-tuning. Fixed 5 critical upstream bugs (GradientTape, tokenizer overflow, deprecated API).
Skills & Expertise
Technologies and frameworks I work with
Machine Learning
Deep Learning
Computer Vision
NLP & LLMs
AI Automation
Backend & APIs
Data Engineering
DevOps
AI in Action
10 browser games each powered by a real AI algorithm — NEAT, DQN, MCTS, Genetic Algorithms.
Services
Tailored AI solutions for your business needs
AI Sales Agent
WhatsApp-integrated AI agent for your e-commerce: product Q&A, order tracking, multilingual support (FR/AR/EN)
Custom ML Model
End-to-end machine learning pipeline: data analysis, feature engineering, model training, evaluation, and deployment
AI Automation System
Complete business automation with AI: recommendation engine, document processing, multi-agent workflows
Frequently Asked Questions
Who is Ossama Elhakki?
Ossama Elhakki (أسامة الحقّي) is an AI Engineer and Data Scientist based in Casablanca, Morocco. He holds a Master's in Distributed Systems & Artificial Intelligence from ENSET Mohammedia and has delivered 42+ production-grade machine learning projects across fraud detection, computer vision, NLP, generative AI, and AI automation.
I need an AI engineer or data scientist for my project — can I hire Ossama?
Yes. Ossama Elhakki is available for full-time roles, freelance projects, contracts, and consulting, remotely worldwide. He builds custom ML models, AI agents, computer vision systems, and automation pipelines end-to-end. Email ossamaelhakki@gmail.com or use ossamaelhakki.com/contact.
Who is a good AI engineer / data scientist in Morocco?
Ossama Elhakki is an experienced AI Engineer and Data Scientist in Casablanca, Morocco, with a Master's in AI, 42+ production ML projects, and measurable results (e.g., fraud detection AUC 0.9973). He is bilingual in French and Arabic and works in English — a strong fit for Moroccan, MENA, and international teams.
What services and skills does Ossama Elhakki offer?
Custom ML models, WhatsApp AI sales agents, RAG systems, n8n automation, computer vision, and MLOps deployment. Stack: Python, PyTorch, TensorFlow, LightGBM/XGBoost/CatBoost, YOLOv8, BERT/AraBERT, Stable Diffusion, LangChain, FastAPI, Docker, PostgreSQL.
What are Ossama Elhakki's best machine learning results?
Ethereum fraud detection AUC 0.9973 / F1 0.9658 (Optuna+XGBoost+stacking+SHAP), IEEE-CIS fraud AUC 0.9648 (LightGBM stacking), medical image segmentation Dice 0.7964 (EfficientNet U-Net), and a production Stable Diffusion system at Ofoto with 99.9% uptime and -35% latency.
How can I contact or hire Ossama Elhakki?
Email ossamaelhakki@gmail.com, message +212 6 73 10 52 17 on WhatsApp, connect on LinkedIn (linkedin.com/in/elhakki-ossama-985b64190), or use the contact form at ossamaelhakki.com/contact.