Site logo
Selected work

 

Speech, retrieval, MLOps and data, on-device ML, robotics and graphics. Every project links to its code, and most report what did not work.

Top projects

Shrota: Timestamp-Grounded Transcripts for Code-Mixed Audio

A pipeline that compiles multi-speaker Hindi/English lecture and podcast audio once into a frozen canonical transcript where every word carries start/end timestamps and a speaker label, then serves subtitles, cited chapter summaries and moment-level search from that single artifact. faster-whisper large-v3 with an OOM fallback ladder, a local WeSpeaker ONNX plus spectral-clustering diarizer, and hybrid BM25 + BGE-M3 retrieval with cross-encoder rerank, all sequenced to fit a 4 GB laptop GPU at 2.1 GB peak VRAM. On synthetic TTS eval audio: 9.1% DER, 80% Recall@5 on 60 gold questions (exactly on target, so a strict miss), and 55.4% Hinglish WER, all reported as measured.

Pythonfaster-whisperFastAPIPydanticBGE-M3ONNX

NOIR: Autonomous Multimodal Robot Assistant

A mobile robot running vision, voice and hardware control as concurrent supervised loops in Python. Fully local voice: openWakeWord hotword, Faster-Whisper STT on CUDA, Gemma 4 via Ollama, Piper TTS. Vision covers YOLOv8 person tracking, a fine-tuned MobileNetV2 line follower with an OpenCV fallback, and a Gemma 4 vision-language-action mode. ESP32 firmware on FreeRTOS drives the motors with a failsafe that cuts power if the brain goes quiet, commands are allow-list validated, and 93 tests cover unit to resilience suites. Flutter app for live telemetry and manual control.

PythonPyTorchYOLOv8OllamaESP32Flutter

Credit Risk Policy: From Default Model to Lending Decision

A default model on the seven-table Home Credit dataset (307,511 applications) turned into a cost-based approval policy. 59 features in tested DuckDB SQL, a WoE scorecard benchmarked against LightGBM and CatBoost on time-ordered splits, and an isotonic-calibrated LightGBM at 0.782 test AUC. The chosen cutoff approves 91% of applicants and earns 5.7% more than approve-all, with fairness, reject-inference and A/B sizing checks. Margin and loss assumptions are stated, and the dataset's dates are synthetic, so real drift is not tested.

PythonDuckDBSQLLightGBMCatBoostFastAPI

Smogcast: Self-Monitoring PM2.5 Forecasts for Delhi NCR

24 h and 48 h PM2.5 forecasts where the platform matters more than the model: an outage-safe hourly collector, PSI/KS drift checks, drift-triggered retraining behind a promotion gate, a registry with canary deploys and 0.06 s rollback, MLflow tracking and a FastAPI server exporting Prometheus metrics. The model beats persistence by 10% at 24 h (26.4 vs 29.4 µg/m³ MAE) on CAMS model data. A 120-week walk-forward replay found drift-triggered retraining did not beat blind 28-day refits, and the README says so.

Pythonscikit-learnFastAPIMLflowPrometheus

NyxCore: TinyML Watchdog for micro-ROS (Research Prototype)

An independent ESP32 watchdog that monitors a robot's DDS streams and keeps reporting when the main compute node stalls: if a topic goes silent for 3 s it forces an ERROR state on its own. Anomaly scoring runs in pure C with no ML runtime, a Mahalanobis scorer plus a 31-parameter (124 B) autoencoder compiled into firmware, shipped as a managed micro-ROS lifecycle node on FreeRTOS. Research prototype: the S3 is the paper target, testing runs on ESP32 and ESP32-C6, and model constants are synthetic placeholders until field calibration, so there is no accuracy claim yet.

CESP32micro-ROSFreeRTOSPyTorch

NERV: Local LLM Agent Orchestrator

Splits one query into typed subtasks, routes each to the local model best suited to it (a code model for debugging, a general model for explanation), runs them in dependency order and merges the results. v1.1 replaces the LLM planner with a trained MiniLM router: 0.89 grouped cross-validation accuracy, 18/20 on held-out bench tasks, and about 7 ms to plan where the LLM planner took about 45 s. Planner output is Pydantic-validated with a safe fallback, and routing is deterministic and unit-tested. Ollama only, no cloud APIs.

PythonOllamaPydanticMiniLMpytest

image-N: Multimodal RAG From Scratch

A multimodal Retrieval-Augmented Generation system built in pure Python with no framework glue and no API keys. FAISS vector search, CLIP image retrieval, and local Ollama LLMs behind a FastAPI service, with every stage (chunking, embedding, retrieval, generation) readable top to bottom.

PythonFAISSCLIPOllamaFastAPI

Delhi Bus Stream: Real-Time Arrival Prediction on Kafka

GTFS-realtime protobuf into Kafka, a per-vehicle feature engine, a Feast online/offline store with exact parity, and gradient-boosted models for ETA and bus bunching. On a simulated Delhi network the ETA error is 11.2 s MAE against 18.7 s for schedule plus current delay, scoring runs at 94 ms p95 end to end, and a 132,000-message overload backlog drains with nothing lost. The live Delhi OTD feed (about 5,000 vehicles) is ingested and profiled, but every accuracy number is simulator-only for now.

PythonKafkaFeastscikit-learnProtobuf

Monitors in Black: Self-Verifying Incident Response for LLM Services

Built for the Agents of SigNoz hackathon. A SigNoz alert fires on one of six injected LLM-service failures (latency, error bursts, token bloat, memory growth, retry loops, lost traffic). Four agents read traces, logs and metrics through the SigNoz API and apply a fix only from a hard allowlist at 0.6 confidence or higher. A case closes only after two clean telemetry readings, so a fix that cannot be verified goes to a human instead of being marked resolved.

PythonFastAPIOpenTelemetrySigNozReact

Shortlist: Job-Fit Verdicts With Cited Evidence

Paste a job description and get a STRONG FIT / STRETCH / SKIP verdict, the gaps, and a tailored intro draft. Every claimed match quotes a verbatim line from the resume, and a verify_citation function rejects any quote that is not actually there, so a hallucinated match fails instead of shipping. STRETCH roles wait in a human review queue before they move forward. Deployed as a Lemma pod (agent, function, workflow, board app), with the original FastAPI prototype kept for local runs.

JavaScriptPythonFastAPIRAG

Holmes: AI-Content Provenance Detector

A misinformation and AI-content detector that fuses four independent signals (a DeBERTa-v3 text classifier, C2PA/EXIF metadata, SynthID, and image forensics) into one calibrated confidence with an uncertainty band, instead of a binary real-or-fake verdict. FastAPI plus ONNX, deployable to AWS Lambda.

PythonPyTorchDeBERTaONNXAWS Lambda

HealthByte: Honest Health & Nutrition Engine

A personalized nutrition engine that classifies food with EfficientNet-B0 and reports calories as uncertainty bands, not false-precision numbers. Stores biometric time-series in SQLite, pulls activity via Google Fit OAuth, and surfaces only statistically honest correlations (Spearman with Benjamini-Hochberg FDR control). FastAPI service that picks honest over impressive.

PythonPyTorchFastAPIONNXSQLite

Path Tracer: From-Scratch C++17 and CUDA Renderer

A Monte Carlo path tracer written twice with zero external dependencies: a single-file C++17 CPU reference and a CUDA port mapping one pixel to one GPU thread. Implements Lambertian, metal, and dielectric materials from the math (Snell refraction, Schlick Fresnel), with reproducible seeded renders and a thin-lens depth-of-field camera.

C++17CUDAMake