Ahmed Safdar

Ahmed Safdar

Electrical Engineer specializing in Generative AI, Computer Vision, and Embedded Systems.

Based in: Lahore, PakistanMost recently: Research Intern - Control Systems, Graduate Research Complex, NUST

Hire me

A NUST Electrical Engineering graduate with expertise in building hybrid RAG systems and deploying real-time YOLOv8 models on edge hardware. He bridges the gap between advanced LLM engineering and robust control systems, backed by co-authored research in Sliding Mode Control.

Experience

Research Intern - Control Systems

Graduate Research Complex, NUSTinternshipJun 2025 – Sep 2025

Summary

Modeled bone cancer tumour dynamics and designed a Sliding Mode Controller (SMC) to robustly regulate drug dosage against model uncertainties; validated via Lyapunov stability analysis and MATLAB/Simulink simulation. Co-authored research paper currently under peer review.

What I did

  • Interning as a backend engineer at FlyRank, with plans to expand into frontend development.
  • Designed a Sliding Mode Controller to regulate drug dosage for bone cancer tumor dynamics.
  • Working on a FastAPI backend with Python.
Sliding Mode Controller (SMC)MATLABSimulinkLyapunov stability analysisRMSEITAEFastAPI

Skills

Technical

PythonPython
RAG
Hybrid Retrieval (dense + BM25)
MATLAB
YOLOv8
NVIDIA Jetson Nano
Object Detection
Simulink
Sliding Mode Control (SMC)
OpenCVOpenCV
TensorRT
CNNs
Vector Databases (ChromaDB)
Prompt Engineering
LLM APIs (Groq/Llama, Anthropic)
TensorFlowTensorFlow
Keras
PyTorchPyTorch
HuggingFace Transformers
Transfer Learning
PID
Lyapunov Analysis
STM32
ArduinoArduino
Embedded C
GPIO
PWM
H-Bridge
Real-time Hardware Control
GitGit
Streamlit
scikit-learn
C++C++
CC
Proteus
LTspice
Image Segmentation
BART
AutoCAD
Verilog
VHDL
Quartus
LabVIEW
RMSE
FastAPIFastAPI
Fine-tuning
LinkedInLinkedIn
ROUGE
F1 Score
Manual Calibration
ITAE

Languages

German

Projects

Library Management System

personal
Developed a library management system as part of an Object-Oriented Programming (OOP) course.
C++

Olive Yield Detection Using Computer Vision & Edge Computing

Lead Developeracademic
Trained a YOLOv8 object detection model on a custom labelled olive dataset, achieving robust detection across varying lighting, occlusion, and foliage density conditions. Deployed on NVIDIA Jetson Nano using TensorRT optimisation for real-time on-site inference, eliminating cloud dependency and reducing latency; built a full capture-to-count pipeline producing per-tree yield estimates for precision agriculture decisions.
YOLOv8TensorRTNVIDIA Jetson NanoOpenCVPythonGitHub: https://github.com/ahmedsafdar3-cloud/Olive-Yield-Detection

Farm Advisor - Hybrid RAG Agricultural Advisory System

personal
Built a retrieval-augmented generation (RAG) system fusing dense embeddings and BM25 keyword search via Reciprocal Rank Fusion, achieving 100% Hit@4 and 0.906 MRR on a custom 15-question evaluation set. Deployed as an interactive Streamlit chat application with cited, grounded answers and a resilient multi-backend design (graceful fallback across embedding and LLM providers).
PythonChromaDBBM25Sentence-TransformersGroq/LlamaStreamlitGitHub: https://github.com/ahmedsafdar3-cloud/Farm-AdvisorRAG

Text Summarisation using BART

personal
Fine-tuned BART for abstractive summarization; built an end-to-end tokenization and inference pipeline evaluated with ROUGE-1/2/L, demonstrating measurable gains over extractive baselines.
PythonHuggingFace TransformersPyTorchROUGE

Dog Breed Identification

personal
Trained a CNN with transfer learning to classify 120+ dog breeds; applied data augmentation to improve generalization on a multi-class classification task.
PythonTensorFlowKerasCNNsTransfer Learning

Home Automation (STM32)

personal
GPIO/relay control.
STM32GPIORelay Control

DC Motor Control via PWM

personal
Closed-loop H-Bridge control.
PWMH-BridgeEmbedded C

Robotic Arm

personal
Multi-axis joystick-driven servo control.
Servo MotorsArduinoJoystickPotentiometers

Text Summarization tool using BERT

personal
Developed a text summarization tool using BERT during a deep learning course and built a custom interface for it.
BERTStreamlit

Education

BSc Electrical Engineering

NUST SEECS, IslamabadElectrical Engineering2022 – 2026

Thesis. Olive Yield Detection Using Computer Vision & Edge Computing

Coursework

Machine LearningEmbedded SystemsControl SystemsDigital Signal ProcessingComputer VisionCommunication SystemsElectrical Machines

Recognition

Certifications

Microsoft SC-900 Security Fundamentals

Microsoft

Machine Learning with Python

Zero to Mastery

German Language A1

Not Specified

Patents & publications

Sliding Mode Control (SMC) for Bone Cancer Tumour Dynamics

research paper2025

Research paper currently under peer review regarding robust regulation of drug dosage against model uncertainties.

Social impact & activities

Organizer

Ramadan Food-Distribution Drivesorganizer

Organized and personally funded Ramadan food-distribution drives for underprivileged families.

Volunteer Teacher

Local Orphanagesvolunteer

Donated to local orphanages and taught computer literacy workshops.

Registered Blood Donor

Blood Donationdonor

Registered blood donor.

Hire AhmedReach out about a role, a contract or a conversation.For recruiters

Ahmed's twin is AI, it can make mistakes.