Featured project
RAG Hallucination Detector
0.65 F10.92 AUROC
PyTorchHugging Face TransformersNLPFastAPIDockerTableau
- Fine-tuned ModernBERT-base in a custom PyTorch loop on 100K RAGTruth sentence pairs to flag unsupported claims in LLM-generated RAG answers, reaching 0.65 F1 and 0.92 AUROC on held-out test vs 0.20 F1 and 0.64 AUROC for a zero-shot NLI baseline.
- Trained with fp16 autocast, gradient accumulation, token-budget batching, and class-weighted loss on a Kaggle T4, then reached 71.5 balanced accuracy on 11 LLM-AggreFact datasets and cut calibration error from 0.043 to 0.016 via Platt scaling.
- Served per-sentence calibrated scores through a FastAPI endpoint in a non-root CPU Docker image, gated by GitHub Actions CI running 46 pytest tests and a container smoke test, and published results to a Tableau Public dashboard.
AI Outreach Assistant
FastAPIReactLangGraphOllamaPostgreSQL / pgvectorDockerAWSGitHub Actions
- Built a React/TypeScript and FastAPI outreach assistant integrating Tsenta MCP, Serper, and Ollama to research contacts and draft grounded LinkedIn notes across 797 tracked applications, with durable LangGraph checkpoints and validation gates for restart recovery.
- Implemented SQLAlchemy and PostgreSQL/pgvector retrieval with embedding caches and lexical fallback, enforcing 200-character notes and session/CSRF protections, with draft editing and provider-failure recovery covered by 130 pytest and 11 Playwright tests.
- Deployed the app as a non-root Docker container on AWS EC2 via CloudFormation with Secrets Manager, encrypted storage, and zero inbound ports, gated by GitHub Actions CI running backend, browser, and container smoke tests on every push.
Efficient Test-Time Scaling through Execution-Supervised Refinement
Gemini APILLMsExecution-Supervised Refinement
- Achieved 88.3% MBPP, 98.3% GSM8K, and 76.7% BoolQ accuracy across 150 sampled problems with Gemini 2.0 Flash at 1.35 model calls per MBPP problem, beating the MiPS best-of-32 baseline of 57.8% on MBPP with over 95% fewer calls.
- Architected Self-Refine-Loop, a Gemini 2.0 Flash pipeline that generates code, runs unit tests in an isolated Python subprocess with a 10-second timeout, and feeds error traces such as NameError back for up to 3 refinement iterations.
- Doubled MBPP accuracy from 40.0% to 88.3% by Context Injection of missing helper classes such as Pair and Node into the prompt and execution scope, after an ablation traced most failures to undefined data structures rather than wrong logic.
Mid-Day Meal Analysis using Machine Learning
Scikit-learnKNNLogistic RegressionLightGBMDjango
- Developed scikit-learn KNN and Logistic Regression models on funds-disbursed and food-ingredient data across 24 Indian states, reaching 94.2% and 91.6% accuracy at 0.93 precision for child meal-program outcome prediction.
- Built LightGBM classifiers for rice, wheat, and dry-bean quality inspection reaching 99.88%, 92.52%, and 93.22% accuracy, serialized with Pickle and served through a Django web app for interactive food-quality predictions.
Alzheimer’s Disease Detection & Categorization
Logistic RegressionDecision TreesDjango
- Trained Logistic Regression and Decision Tree classifiers on a 374-row, 15-attribute OASIS dataset to flag dementia, reaching 95% and 91% accuracy, with tuning lifting the decision tree from a 0.906 baseline.
- Built a Django web form in Python, HTML, and CSS where patients submit clinical attributes and receive a demented or non-demented prediction from the trained model, preparing data with Pandas and NumPy.
Brain Tumor Classification Pipeline
KNNPCAPlotly Dash
- Tuned a K-Nearest Neighbors classifier on a 699-row, 11-column tumor dataset, evaluating K values from 1–50 with cross-validation and achieving 97% classification accuracy.
- Applied PCA to reduce features into two- and three-dimensional spaces; used Plotly Dash to compare actual and predicted class separation and investigate misclassifications.
Automatic Rain-Shade Simulation (Arduino + Proteus)
EmbeddedSimulationAutomation
- Simulated an UNO + rain sensor controlling dual servos for a retractable roof.
- Modeled the roof mechanism in AutoCAD 2020 and simulated rain-triggered 90-degree servo movement in Proteus.
- Documented circuit, algorithm, and test cases for home-automation use.