class Mahateer:
def __init__(self):
self.role = "AI/ML Engineer"
self.focus = ["LLM Systems", "Preference Optimization", "Applied Deep Learning"]
self.background = "Co-founder @ UXELERATE, university student"
self.currently_learning = "LLM/RAG, applied AI systems"
self.fun_fact = "trained a DPO model on a single T4 in ~2 hours"
def say_hi(self):
print("Let's build something that doesn't hallucinate.")I build production-grade AI systems β LLM orchestration with real security hardening, preference-optimization fine-tunes, clinical data pipelines, and interactive ML tooling. Currently deepening into LLM/RAG and applied AI systems.
| Area | Expertise | Evidence |
|---|---|---|
| π€ LLM Systems in Production | Multi-agent orchestration, LLMOps | Rate limiting, prompt injection defense, hardened Docker |
| π― Preference Optimization | DPO fine-tuning for factual grounding | F1 0.535 β 0.650 on MedHallu |
| π¨ Interactive ML Tooling | Visualization built on live model internals | 255 tests, zero faked data |
| π₯ Clinical Data Engineering | Large-scale EHR pipelines | 546K+ MIMIC-IV stays, 40GB+ processed |
| πΌοΈ Medical Imaging | CNN classification + explainability | 90.69% accuracy, Grad-CAM |
A single API call, 25 nested LLM calls, and enough hardening to survive contact with the real world
FastAPI service where /api/v1/run spawns up to 25 nested LLM calls across Proponent/Opponent agents. Pushed through a full LLMOps + security hardening pass:
- π‘οΈ Distributed rate limiting (
slowapi+ Redis, cross-worker/pod safe) - π‘οΈ Prompt injection defense β XML delimiter encapsulation, input tag-stripping, system-level security directive
- π Request tracing with correlation IDs, structured JSON logs
- π Docker hardened β non-root user,
cap_drop: ALL, correct ownership - β‘ Async connection pooling moved outside the retry loop,
asyncio.wait_fortimeouts
Teaching a 7B model to stop confidently making things up in clinical answers
Fine-tunes Qwen2.5-7B-Instruct with Direct Preference Optimization (not SFT) on the MedHallu benchmark β matched grounded vs. hallucinated PubMedQA answers, 4-bit QLoRA, 40.3M trainable LoRA params (0.53% of total weights), ~2 hours on one Kaggle T4.
Benchmark results (999 held-out human-annotated pairs):
| Tier | Base F1 | MedTrust DPO F1 | Ξ |
|---|---|---|---|
| π’ Easy | 0.612 | 0.747 | +13.5 |
| π‘ Medium | 0.530 | 0.648 | +11.8 |
| π΄ Hard | 0.498 | 0.586 | +8.8 |
| Overall | 0.535 | 0.650 | +11.5 |
Hard-tier score (0.586) lands close to GPT-4o's reported ~0.625 on the same split β from a model 1/20th the size, fine-tuned on a free GPU.
Case study β the model catching a fatal contraindication:
Query: Should beta-blockers be given immediately in cardiogenic shock from acute MI?
β Base model: "Yes, initiate immediately in all AMI patients." (dangerous β beta-blockers are contraindicated here) β MedTrust: "No β contraindicated in cardiogenic shock due to negative inotropic effects. Stabilize hemodynamics first."
Neural networks, explained by the network itself
- πΌοΈ Network Canvas β semantic-zoom D3 graph, VCR-style stepping
- π§ͺ Activation Lab, CNN Lab (filter factory, receptive fields, saliency), Optimizer Arena, BatchNorm Tracker
- β 255 tests, zero faked data β every number comes live from PyTorch hooks
40GB of raw hospital data in, a risk-scoring RAG agent out
Production pipeline processing 546K+ MIMIC-IV hospital stays (40GB+ raw temporal tables) into ML-ready Parquet datasets, feeding multi-task clinical prediction models. This is the project MedTrust's hallucination-reduction work feeds into β same failure mode, applied to the decision-support agent below.
5-Stage Pipeline: Load (schema inference) β Clean (validation) β EDA β Feature Engineering β Datasets
- π― 0.949 AUROC β 24-hour mortality prediction
- π― 0.897 AUROC β 6-hour ward deterioration
- π§© LLM/RAG decision-support agent: SHAP TreeExplainer interpretability, counterfactual "what-if" simulation, clinical guideline retrieval (KDIGO, Surviving Sepsis)
- π Patient embedding layer for similar-patient retrieval
Distributed retail analytics on PySpark β revenue analysis, customer metrics, spend classification, rolling averages.
Healthcare AI that shows its work
- π― 90.69% accuracy on 4-class tumor classification (ResNet50 transfer learning)
- π Grad-CAM explainability layered on top of every prediction
- π¨ Interactive Streamlit dashboard
- π§ͺ Five-notebook pipeline: EDA β Preprocessing β Custom CNN β Transfer Learning β Grad-CAM
Two Flutter apps from earlier in my dev work β real-time systems with Firebase backends:
- Social-Swap (Konexea) β social app with real-time chat, AI-assisted translation, Rive animations
- CALiNGA β on-demand healthcare platform with live location tracking and provider matching
LLM Systems & Orchestration ββββββββββββββββββ 85%
AI/ML Development ββββββββββββββββββ 90%
Data Engineering ββββββββββββββββββ 80%
Backend Development ββββββββββββββββββ 85%
Frontend Development ββββββββββββββββββ 75%
DevOps & Deployment ββββββββββββββββββ 45%
- π Working on preference-optimization methods (DPO) for factual grounding in LLMs
- π± Learning applied RAG architectures and production LLMOps
- π€ Open to collaborating on applied LLM and systems projects
- β‘ Fun fact: trained MedTrust's DPO adapter (40.3M params) end-to-end on a free Kaggle T4 in under 2 hours