Skip to content
View El-Bahnasawi's full-sized avatar

Block or report El-Bahnasawi

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
El-Bahnasawi/README.md

Typing SVG


👋 I'm Mahmoud El-Bahnasawi

I’m an ML engineer, fresh graduate from Zewail City of Science and Technology.
I build production‑ready machine learning systems – not just notebooks. My focus is ML, NLP, and MLOps.

I turn ideas into deployed services that are measurable, efficient, and actually used.

🚀 Currently focusing on: RAG systems, advanced MLOps (CI/CD), and cloud infrastructure.


💼 What I can do for you

Service What that means
📊 Data Analysis & Visualization Interactive dashboards (Plotly, Streamlit), exploratory data analysis, actionable insights.
🧠 Machine Learning Modeling Classification, regression, time series forecasting – with clean, reproducible code.
📝 Natural Language Processing Sentiment analysis, text classification, summarization. Fine‑tuning transformers (BERT) with LoRA.
⚡ Efficient GPU Training LoRA fine‑tuning, memory optimization, maximizing hardware utilization.
☁️ MLOps (growing) Experiment tracking (W&B), containerization (Docker), CI/CD basics. Learning multi‑container apps & GitHub Actions.

🚀 Featured Projects

🛡️ AI‑Powered Hate Speech Moderation – BERTweet · LoRA · FastAPI · Streamlit · Supabase · W&B

84.5% Macro‑F1 +4.5% over MetaHate sub‑second inference 1.37% trainable

  • Real‑time browser extension that blurs hateful text on Twitter & YouTube
  • Three‑tier pipeline: regex pre‑filter → LoRA‑tuned BERTweet → decision service
  • Feedback stored in Supabase for continuous active learning
  • Production deployment: GPU‑backed FastAPI on Hugging Face + Streamlit demo


📊 Graph‑Based Extractive Summarization – SBERT · PageRank · NetworkX · Streamlit

ROUGE L2 ≈ 0.41 ~0.04s/article

  • Semantic graph summarization with SBERT embeddings + PageRank
  • Entity‑aware graph construction and ablation studies
  • Interactive Streamlit app with real‑time graph visualization


🎯 Walmart Sales Analytics Dashboard – Plotly Dash · Docker · scikit‑learn · Render

45 stores × 98 departments store segmentation (4 tiers) holiday impact: +42% sales

  • Multi‑tab dashboard for retail analytics and forecasting
  • K‑Means & GMM clustering to identify performance tiers
  • Dockerized deployment on Render, used by analysts for decision support


🔬 U.S. Crime Data Analysis & Recidivism Prediction – XGBoost · Plotly · scikit‑learn · UMAP

98–100% accuracy t‑test p=0.383 (firearm laws)

  • 30‑year trend analysis and policy impact assessment
  • Recidivism prediction with interpretable features (RFE, VIF)
  • Statistical testing of firearm laws' effect on crime rates


📄 Featured Publication

Efficient Hate Speech Detection: A Three‑Layer LoRA‑Tuned BERTweet Framework
Mahmoud El‑Bahnasawi (under supervision of Dr. Doaa Shawky) — arXiv preprint, 2025

A parameter‑efficient framework that achieves 94% of the performance of a 14B parameter LLM (SafePhi) using a model 100× smaller (134M vs. 14B). LoRA fine‑tuning requires only 1.87M trainable parameters (1.37% of BERTweet's total) while outperforming traditional BERT‑based approaches.


🛠️ Tech Stack

Category Tools
Core ML & NLP Python PyTorch HuggingFace Scikit‑learn
MLOps & Deployment FastAPI Docker Weights&Biases Supabase Render
Data & Visualization Pandas Plotly Streamlit Mermaid
Familiar / Learning Multi‑container Docker, GitHub Actions, RAG, Azure ML

📫 Connect with me

Pinned Loading

  1. AI-Powered-Textual-Hate-Content-Moderation AI-Powered-Textual-Hate-Content-Moderation Public

    Real-time hate-speech filter: regex → LoRA-tuned BERTweet (530K tweets, 84.5 Macro F1 / 0.68 MCC) → Supabase feedback, served sub-second via FastAPI using browser & Streamlit UIs.

    Jupyter Notebook 1

  2. Walmart-Dataset-Analysis Walmart-Dataset-Analysis Public

    📊 Interactive Walmart sales dashboard using Dash & Plotly. Includes clustering analysis.

    Jupyter Notebook

  3. Analyzing-U.S.-Crime-Data Analyzing-U.S.-Crime-Data Public

    Analyze & visualize U.S. crime data + advanced ML to predict 3-year recidivism risk.

    Jupyter Notebook

  4. Graph-Based-Text-Summarization Graph-Based-Text-Summarization Public

    A modular and interpretable graph-based extractive summarization system that combines semantic embeddings (SBERT) with graph ranking to identify the most informative sentences.

    Python