mohamed.ehab_Resume / CV
AI/ML & INFRASTRUCTURE ENGINEERING / CAIRO, EG

Mohamed Ehab.

ML & MLOps Engineer / Software & Infrastructure

Intelligent systems.
Engineered for the real world.

I build ML-powered products
from the model to the infrastructure.

On-device intelligence, retrieval pipelines, and decision engines.
Complete software, with the architecture and code to back it up.

IEEEFirst-author research · published in IEEE Xplore
system.overviewME / 01
Mohamed Ehab, ML and infrastructure engineer
THE ENGINEERMohamed EhabAI / ML & Infrastructure Cairo, Egypt
+ENGINEERING AT EVERY LAYER
gain/packages/engine
MODEL → PRODUCT → INFRASTRUCTURE↳
THINK IN SYSTEMS.SHIP THE WHOLE THING.
↳ FROM LOCAL INFERENCE TO DEPLOYED APPLICATIONSSCROLL TO EXPLORE
01 / PUBLISHED RESEARCH

Research that made it to IEEE.

IEEE Xplore
Published in IEEE XploreFirst author · IEEE IMSA 2026

Automatic Model Selection and Sign-Aware Multiplicative Sentiment Modulation for Algorithmic Trading

Which financial language model should a trading system trust? And how should sentiment change a price signal without reversing its direction? This work connects automatic model benchmarking with sign-aware signal fusion.

01

Benchmark before selecting.

Fine-tuned DeBERTa-finance reached 94.2% accuracy and 0.9420 macro-F1, a 5.0 percentage-point accuracy lead over FinBERT. Candidates are evaluated using accuracy, macro-F1, and ordinal MAE.

02

Preserve direction. Modulate conviction.

Sign-aware multiplicative fusion strengthens a price signal when sentiment agrees with its long or short direction and attenuates it when sentiment disagrees. Sentiment changes conviction while preserving direction.

IEEE IMSA 2026 / July 2026 / IEEE document 11700381

HELD-OUT BENCHMARK
94.2%DeBERTa sentiment accuracy
+5.0 ppaccuracy over FinBERT
Financial PhraseBank · held-out stratified split · 3 sentiment classes
ModelAccuracyMacro-F1MAE ↓
DeBERTa94.2%0.94200.060
FinBERT89.2%0.89320.114
pmatorras12.5%0.0281.157

An 81.7 percentage-point gap between the best and worst candidates highlights why a finance label is not a substitute for evaluation. The pmatorras checkpoint scores below the 33% random baseline.

These are held-out sentiment-classification results, not evidence of trading profitability or live financial performance.

02 / ENGINEERING NOTES

Selected engineering.

A closer look at the decisions, trade-offs, and systems behind the software.

01FLAGSHIP CASE STUDYAndroid prerelease

GAIN.

Gym App with AI Intelligence. Even Offline.

An Arabic + English strength-training app that turns logged sets into an explicit plan for what comes next. Local persistence, deterministic progression, and experimental on-device adaptation in one complete product.

  • React Native
  • Expo
  • TypeScript
  • SQLite
  • XGBoost
  • Vitest
Saved locally. Explained clearly. Accepted by the user.
PRODUCT / MOBILE
GAIN workout logger web render with sample data
GAIN Today screen web render showing sample workout targets
LOCAL-FIRST BY DESIGN
Repository UI web renders · sample data · not native device captures
01 / INTELLIGENCE

A rule sets the plan. A model handles the next set.

A pure TypeScript engine calculates next-session progression from trusted working sets, rep ranges, equipment increments, and rejection history. A bundled experimental XGBoost model predicts next-set rep changes locally, without a network inference call.

The model is interpreted in TypeScript with float32 behavior and missing-value traversal. Reference parity tests verify the exported model contract; they do not establish real-world prediction accuracy.

↳packages/engine/src/liveAdaptationInference.ts
DATA FLOW / INFERENCE
Mobile UI01
SQLite state02
Local inference03

Experimental model · deterministic fallback · user accepts changes

[TODO_VERIFY: real-device screenshots and field-validation results]Guardrails are behavior, not an accuracy claim.
retrieval.pipeline02 / SYSTEM
research.pdf
semantic search
SOURCE-GROUNDEDAnswer + citations
  1. PDF / chunks
  2. MiniLM · 384d
  3. pgvector
  4. Groq / citations
02 / RETRIEVAL SYSTEMS

From documents to answers you can trace.

Deployed on Railway · earlier AWS implementation

THE PROBLEM

Make research papers queryable while preserving source-page citations and visibility into each request.

ENGINEERING CHALLENGE

Page-preserving chunk boundaries, bounded overlap, and context selection. Top-k cosine retrieval is the default; optional PostgreSQL full-text retrieval uses reciprocal rank fusion rather than mixing score scales.

Verified implementation & limitations +

VERIFIED OUTCOMES

Current deployment runs on Railway with FastAPI, PostgreSQL/pgvector, Streamlit, Docker, and GitHub Actions. Implemented PDF ingestion, cited answers, document filtering, and query logs. The earlier AWS implementation used EC2, RDS PostgreSQL 16 / pgvector (IVFFlat), and S3; 4 GB swap and container limits supported a 2 GB RAM EC2 host. Current PDFs are processed in memory; the earlier AWS and current Railway setups are distinct.

LIMITATIONS & EVALUATION

Arabic retrieval is limited by the English-oriented embedding model. No reranker or indexed full-text vectors yet. Retrieval-quality and latency benchmarks are not established.

[TODO_VERIFY: current retrieval benchmarks]Retrieval implementation (opens in new tab)
  • Python
  • FastAPI
  • PostgreSQL
  • pgvector
  • sentence-transformers
  • Groq
  • Docker
  • Railway
optimization.engine03 / SYSTEM
Squad legalitychecked
Transfer routes3 / 5 / 8 GW
Model cohortsseparated
  1. Official FPL API
  2. Player projections
  3. Route search
  4. Frozen audit
03 / DECISION ENGINEERING

Better decisions under real constraints.

Hosted implementation · forecast model experimental

THE PROBLEM

Turn noisy football data into explainable squad choices and legal multi-gameweek transfer strategies.

ENGINEERING CHALLENGE

Search 3, 5, or 8-gameweek routes while carrying squad legality, bank, selling values, free transfers, and hit costs. A quality gate keeps low-confidence candidates from becoming headline recommendations.

Verified implementation & limitations +

VERIFIED OUTCOMES

Implemented route explanations, legal bench-order optimization, and immutable prediction receipts. History derives calibration from official completed gameweeks and separates model-version cohorts.

LIMITATIONS & EVALUATION

Projections are application models, not official forecasts. Small cohorts are early evidence; predictive advantage and rank improvements are not claimed. No verified Elo implementation is asserted.

[TODO_VERIFY: out-of-sample forecast and decision-quality results]Optimizer implementation (opens in new tab)
  • TypeScript
  • Next.js
  • React
  • Cloudflare
  • Drizzle / D1
  • Official FPL API
MORE SYSTEMS / CV & SOURCE

From market signals to spoken Arabic.

Research, data pipelines, and tools built around real operational constraints.

2026
GRADUATION THESIS

Agentic E-Trading Engine

Paper-trading system · team of 5

An autonomous paper-trading system that connects price forecasting, adaptive position sizing, and deterministic execution guardrails.

  1. Market data
  2. XGBoost + ElasticNet
  3. Contextual bandit
  4. Risk gates / Alpaca
Engineering details & evidence +

A contextual epsilon-greedy bandit adapts position sizing to realized after-cost P&L. Seven deterministic risk layers include drawdown throttling, a kill switch, end-of-day flattening, and exposure caps. PostgreSQL persistence, drift monitoring, idempotent orders, and crash recovery support the execution path.

Thesis scope and team size from the CV; architecture cross-checked against the public repository. Paper trading is distinguished from live investment performance.

  • Python
  • XGBoost
  • ElasticNet
  • Contextual bandits
  • PostgreSQL
  • Alpaca API
Trading engine source (opens in new tab)
2025 – 2026
SPEECH & MEDIA PIPELINES

MALIK / Arabic ASR

Research pipeline & local clipping workflow

Long-form Arabic transcription and AI-assisted clipping, from overlapping audio chunks to captioned vertical video.

  1. yt-dlp / audio
  2. Whisper.cpp
  3. Groq clip selection
  4. FFmpeg render
Engineering details & evidence +

Arabic normalization, overlapping chunks, and WER/CER evaluation on FLEURS support transcription experiments. A Groq LLM agent selects semantic hooks; FFmpeg produces captioned vertical clips with dynamic framing. The ASR benchmark and downstream clipping workflow have separate evaluation scopes.

ASR code and FLEURS experiments are public. The complete MALIK orchestration and rendering workflow is described in the CV; the linked repository covers the ASR component and optional downstream clipper.

  • Python
  • yt-dlp
  • Whisper.cpp
  • FLEURS
  • Groq
  • FFmpeg
ASR research & clipper source (opens in new tab)
2026
AUTOMATED DATA ENGINEERING

Competitor Price Intelligence

Scheduled retail-intelligence pipeline

Daily pricing and change detection for Egyptian retail brands, with historical observations in Supabase/PostgreSQL.

  1. Retail / Shopify
  2. Playwright scraper
  3. Snapshot diff
  4. PostgreSQL history
Engineering details & evidence +

The CV reports a 17-brand project scope and scheduled Render cloud jobs. The inspected source uses Shopify API detection, Playwright fallback, snapshot comparisons, and filtering of dynamic interface noise. The current checked-in target file contains 11 entries; historical scope and current configuration are kept distinct.

17 brands is the CV-reported project scope, not a live count inferred from the current repository.

[TODO_VERIFY: reconcile 17-brand historical scope with 11 checked-in targets]
  • Python
  • Playwright
  • Shopify APIs
  • Supabase
  • PostgreSQL
  • Render
Price intelligence source (opens in new tab)

Every case study links to its implementation. Maturity and validation limits are stated explicitly.

Explore GitHub (opens in new tab)
03 / ENGINEERING NOTES

Built on solid foundations.

Infrastructure, applied intelligence, and the product experience connect in the work.

Good AI engineering
starts below the model.

Persistence, deployment, recovery, and visibility are part of the product. Infrastructure work keeps those concerns in the design from the beginning.

SYSTEMS THINKING / PRACTICAL EXECUTION
  1. CURRENT ROLEAug 2026 – Present

    Infrastructure Specialist (Cloud & Virtualization)

    Prosoft

    Lead evaluations of Scale Computing HyperCore and Platform9 Private Cloud Director for enterprise VMware migrations. Design highly available compute, storage, and networking; size bare-metal and private-cloud clusters; translate fault-tolerance and hybrid-cloud requirements into architectures for government, manufacturing, and industrial accounts.

  2. INTERNSHIPAug 2025

    DevOps & Infrastructure Engineer Intern

    BARQ Systems

    Automated deployment workflows with Docker and CI/CD. Supported Linux administration, networking, and infrastructure monitoring for scalable enterprise deployments and consistent environments.

  3. INTERNSHIPApr 2025 – Jul 2025

    Machine Learning Engineer Intern

    CLS Learning Solutions

    Built classification and predictive pipelines with Python, scikit-learn, XGBoost, and Pandas, covering validation, feature engineering, and cross-validation. Used Optuna, ROC-AUC, macro-F1, and experiment/artifact tracking to make model development reproducible.

04 / ENGINEERING NOTES

The academic foundation.

An AI degree grounded in applied work, with infrastructure training that connects models to the systems running them.

GRADUATED2023 – Jun 2026

BSc in Artificial Intelligence

ESLSCA University · Cairo, Egypt

COURSEWORK
  • Machine Learning
  • MLOps
  • Deep Learning
  • NLP
  • Time Series Forecasting
  • Computer Vision
CERTIFICATIONS & TRAINING

Scale Computing

  • Technical Professional Certification (TPC)
  • Infrastructure & Data Center Architecture
  • Sales Professional
05 / ENGINEERING NOTES

A stack with a purpose.

Tools organized by the problems they solve, with a path back to the work.

01

AI & machine learning

  • PyTorch
  • TensorFlow / Keras
  • scikit-learn
  • XGBoost
  • Hugging Face Transformers
  • Reinforcement learning
  • Optuna
  • On-device inference
  • Model evaluation
IEEE research + CLS internship + GAIN
02

LLMs, RAG & NLP

  • RAG
  • pgvector / IVFFlat
  • Whisper ASR
  • Ollama
  • OpenAI / Groq APIs
  • Semantic chunking
  • Embedding pipelines
  • sentence-transformers
RAGBase + MALIK / Arabic ASR · CV & source
03

Python & data engineering

  • Python
  • SQL
  • Pandas
  • NumPy
  • Pandera
  • Feature engineering
  • Cross-validation
  • Algorithmic optimization
  • Playwright
CLS internship + price intelligence + FPL Edge
04

Software & mobile

  • TypeScript / JavaScript
  • C
  • React Native / Expo
  • React / Next.js
  • FastAPI
  • Streamlit
  • REST APIs
GAIN + RAGBase + FPL Edge
05

Cloud, DevOps & infrastructure

  • AWS · EC2 / RDS / S3
  • Docker / Compose
  • GitHub Actions
  • MLflow
  • DVC
  • Airflow
  • Linux
  • Kubernetes
  • Scale Computing HyperCore
  • Platform9
  • Cloudflare
Prosoft + BARQ Systems · infrastructure experience
06

Databases & storage

  • PostgreSQL
  • SQLite
  • Supabase
  • pgvector / IVFFlat
  • Relational modeling
  • Drizzle / D1
GAIN + RAGBase + retail price history

Capabilities combine the supplied CV, professional experience, and linked repositories. A listed tool does not imply that every project uses it; deployment and evaluation scopes are stated in the case studies.

06 / THE ENGINEER

The model is
only the beginning.

Dokki, Cairo, Egypt

I’m Mohamed Ehab El Molla, an Artificial Intelligence BSc graduate from ESLSCA University and first-author IEEE IMSA 2026 researcher. I build ML pipelines, retrieval systems, NLP applications, and on-device AI, with infrastructure experience that keeps the deployment path in view.

In GAIN, that means keeping workout state on the phone and making every recommendation overridable. In RAGBase, it means keeping the source attached to the answer. In FPL Edge, it means checking constraints before presenting a decision.

At Prosoft, I work on cloud and virtualization architectures, building on DevOps experience at BARQ Systems and ML pipeline development at CLS Learning Solutions. The same question follows the work: what happens when a connection fails, a process restarts, or an assumption stops holding?

~/contactLET’S BUILD SOMETHING USEFUL
HAVE A SYSTEM WORTH BUILDING?

Let’s make it work.

ML engineering, intelligent products, or the infrastructure beneath them.
I’m always interested in a thoughtful technical conversation.