Fahim Islam — portrait

Fahim Islam

AI Engineer — building LLM applications

Retrieval, reasoning & memory — RAG pipelines, agent workflows, and conversational AI, shipped end-to-end.

PythonPyTorchHuggingFace TransformersLangChainLangChain.jsLangGraphLlamaIndexFAISSOllamaFastAPINext.jsMERNConvexMongoDBMySQLOpenRouterRAGLLM Fine-tuningPruning

Selected work

Projects built end-to-end.

Retrieval systems, agent workflows, and model-compression research — every one measured, tested, and documented on GitHub.

Metrics are quoted from each project's own evaluation runs — RAGChecker, MTEB, perplexity benchmarks, and hand-graded student sessions.

02AI Agent

QuestGen — AI Exam Question Generator

TypeScript · Next.js 15 · LangChain · LangGraph · Convex · SSE · OpenRouter

  • PDF-grounded generator producing MCQ, true/false, short-answer, and essay questions from source material and user-defined marks, difficulty, and question types.
  • Five specialized stages — Extractor, Creator, Analysis, Decider, Formatter — separate requirements, generation, quality checks, revision decisions, and formatting.
  • Convex-backed file storage, OpenRouter model access, Markdown output, and real-time Server-Sent Events streaming.
5-stageLangGraph pipeline · SSE streaming
03Research

Hierarchical Reasoning Embeddings in Hyperbolic Space

Python · PyTorch · Transformers · Poincaré Embeddings · Contrastive Learning

  • Hierarchy-aware embedding model that represents inputs from coarse intent to fine-grained meaning via a frozen Transformer backbone, learned token-attention pooling, and iterative hierarchical refinement.
  • Maps each level into Poincaré space at increasing radial scales, trained with a coarse-to-fine hyperbolic NCE objective that encodes semantic granularity directly in the geometry.
  • Hyperbolic-distance retrieval evaluated over 11 MTEB tasks with Hits@K, Recall@K, NDCG, MRR, and MAP, plus a cosine-similarity baseline.
11MTEB retrieval tasks evaluated
View on GitHub#hyperbolic
04Health · Conversational AI

PANDA — Personalized ADHD Neuro Diagnostic Assistant

Next.js · Convex · OpenAI GPT-4.1 (STT/TTS) · LLM Evaluation

  • Text-and-voice conversational screening support that tracks which ADHD symptom indicators are covered — no fixed questionnaire flow.
  • Post-session evidence extraction and structured domain-level scoring from transcripts; on a 10-sample eval set: 83–94% item alignment, 79–86% question coverage, 82–86% response mapping accuracy.
83–94%item alignment · 10-sample eval
05LLM Compression

ClearCut — Efficient Weight Refinement for LLM Compression

Python · PyTorch · Transformers · N:M Structured Sparsity · Low-Rank SVD

  • Post-training pruning toolkit supporting magnitude, Wanda, SparseGPT, RIA, and an activation-aware ClearCut criterion, with unstructured and hardware-oriented N:M sparsity.
  • Channel reallocation and SVD low-rank decomposition for attention projections; perplexity and zero-shot eval across WikiText-2, C4, PTB, BoolQ, RTE, HellaSwag, ARC-Challenge, and MNLI.
  • At 50% sparsity on WikiText-2: 6.78 perplexity on LLaMA-2-7B and 11.44 on OPT-6.7B — below the SparseGPT, Wanda, and RIA baselines.
6.78 pplLLaMA-2-7B @ 50% sparsity
06ML Pipeline

Traffic Accident Outcome Prediction

Python · Logistic Regression · SVM · Random Forest · XGBoost

  • Full ML pipeline over Rawalpindi road traffic accidents targeting injury severity and post-accident patient status.
  • Benchmarked classical and ensemble classifiers with accuracy, precision, recall, F1, and confusion matrices, plus diagnostic learning curves for key hyperparameters.
6classifiers benchmarked
6
Projects built end-to-end
0.86 F1
RAG math QA · RAGChecker eval
0.82 faithfulness
Generation quality on 4k QA pairs
83–94 %
PANDA clinical item alignment

Experience & involvement

Research, then product.

Hands-on AI engineering across retrieval, conversational systems, and model compression — from research prototypes to deployed applications.

Experience

Machine Intelligence Lab · North South University

Research Assistant — LLMs & Representation Learning

May 2025 – Dec 2025
  • Designed hierarchy-aware text representations using hyperbolic (Poincaré ball) embeddings, learned token-attention pooling, and multi-segment refinement to support coarse-to-fine semantic retrieval.
  • Built a conversational ADHD screening-support system that tracks symptom coverage across dialogue and uses a multi-model pipeline to extract evidence and produce structured assessment outputs.

Activities

Bear Summit · National Semiconductor Symposium 2025

Represented the Machine Intelligence Lab

2025

AI, IoT & Robotics Day

National seminar · North South University

2025

NSU ACM Student Chapter

General Member

2025

Stack

Tools I reach for under the hood.

Retrieval, agents, and evaluation — from model internals to streaming interfaces.

Currently into

  • Building LLM applications with retrieval, tools, and structured workflows
  • RAG pipelines — retrieval, re-ranking, grounding, and evaluation
  • Agent workflows for multi-step AI applications
  • Efficient local LLM inference and model compression
  • Multimodal AI — text, vision, and audio

Languages

PythonJavaScriptTypeScript

AI / ML

PyTorchScikit-learnHuggingFace TransformersRAGLLM Fine-tuningPruningPrompt EngineeringLangChainLangGraphLlamaIndexOllama

Web

MERN StackNext.jsFastAPI

Data & Ops

MySQLMongoDBConvexGitREST API DesignData Analysis

Contact

Let's build something that remembers.

I'm open to AI engineering roles and research collaborations — happy to talk about RAG, agents, or anything in between.