Skip to content
View ardhendudebnath's full-sized avatar
๐Ÿ 
Working from home
๐Ÿ 
Working from home

Block or report ardhendudebnath

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please donโ€™t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this userโ€™s behavior. Learn more about reporting abuse.

Report abuse
ardhendudebnath/README.md

Ardhendu Debnath โ€” machine learning engineer

Live 3D profile Email

LinkedIn X HackerRank YouTube Instagram

Ardhendu Debnath

B.Tech, India. I build machine learning systems and the unglamorous plumbing underneath them โ€” benchmarks, evaluation harnesses, and agents that have to keep working when the inputs get messy.

Three of these run as one connected thread in a single vertical โ€” Indian GST. A hand-labelled benchmark, an agent audited against it, and the serving economics of running the thing. Repos that feed each other beat unrelated demos.

Every number below is measured and reported in that project's own README. Nothing here is illustrative.



01 ยท llm-gateway-rag

Hybrid retrieval lifts recall@5 from 0.873 to 1.000, and identifier-only queries from 0.722 to 1.000

A self-hosted LLM gateway and RAG backend. One OpenAI-compatible API in front of several providers, with automatic fallback, circuit breakers and a tenant-isolated semantic cache. Documents are ingested by background workers into Qdrant; questions come back reranked with numbered citations. No LangChain, no LlamaIndex.

The finding: hybrid retrieval takes recall@5 from 0.873 to 1.000, and identifier-only queries โ€” the ones dense embeddings are worst at โ€” from 0.722 to 1.000, in 14.7 ms. Adding backpressure took chat throughput from 20.6 to 156.8 req/s; before it, unbounded inference OOM-killed the API at 50 users with 74% errors. Killing the primary provider mid-traffic produced 0 user-visible failures across 2,100 requests, breakers opening 0.9 s after the fault. The RAG p95 target of 1 s was not met โ€” it sits at 1.4 s.

Python FastAPI Qdrant Redis Celery Kubernetes Prometheus ONNX

โ†’ llm-gateway-rag


02 ยท vision-rl-navigation

Success rate by condition โ€” the classical planner leads the learned policy in all seven

Vision-conditioned reinforcement learning for mobile robot navigation, measured against a classical planner rather than against nothing. A differential-drive robot reaching a goal pose in procedurally generated arenas, 32-beam lidar, continuous (v, ฯ‰). Pre-registered endpoints, exact permutation tests, six seeds per arm.

The finding: across seven conditions the learned policy beats the classical planner in none of them โ€” closest on dynamic (โˆ’0.020, not significant), worst on narrow (โˆ’0.168). The reward asymmetry turned out to matter more than the architecture: collisions cost 20 and a full timeout cost 5, so collisions fell from 27 to 2 per 100 episodes and 21 of 25 recovered episodes simply became timeouts. RGB policies trailed depth by 0.16โ€“0.24 on every condition. Real Nav2 over ROS 2, meanwhile, beats the classical baseline on the cluttered conditions.

PPO ROS 2 Nav2 Gymnasium Hydra NumPy

โ†’ vision-rl-navigation


03 ยท emotionedge-cpp

Per-stage latency, CPU against GPU โ€” end-to-end falls from 1262 ms to 365 ms

Real-time speech translation that keeps the speaker's emotion. ASR, emotion detection across valence/arousal/dominance, emotion-aware translation and expressive TTS in one C++20 process with no Python at runtime, on ONNX Runtime.

The finding: moving the pipeline to GPU collapsed end-to-end p50 from 1262 ms to 365 ms, p95 to 631 ms against an 800 ms budget, using 5 s of CPU time instead of 51 s โ€” with quality held (RAVDESS WER 0.042, chrF 56.70 on CUDA against 56.72 on CPU). The emotion-token NLLB LoRA beats plain NLLB-600M on FLORES chrF, 56.7 to 55.8. Echo cancellation was built, measured and not adopted: WebRTC AEC3 removed 8.6โ€“14.7 dB of loudspeaker echo but fragmented the transcript, so it stays off until it can be tuned on real hardware.

C++20 ONNX CUDA whisper.cpp NLLB-200 CMake

โ†’ emotionedge-cpp


04 ยท symmetrynet-equivariant-gnn

A molecule rotating while the predicted HOMO-LUMO gap stays pinned at 43.43 meV

Predicting molecular properties with neural networks that are provably invariant to rotation โ€” representation theory implemented from scratch rather than bolted on with data augmentation.

The finding: equivariance verified to 1.3 ร— 10โปยนโต relative error, against 1.2 ร— 10โปยฒ for a naive GNN. On QM9 HOMO-LUMO gap, equivariant PaiNN hits 43.43 meV test MAE versus 56.03 meV for a distance-only baseline โ€” and its advantage widens with data, from 1.16ร— at 11k molecules to 1.29ร— at 110k.

PyTorch PyG e3nn CUDA MIT

โ†’ symmetrynet-equivariant-gnn


05 ยท gst-eval-harness

Slab accuracy across five identical runs: 53.6, 50.0, 53.6, 50.0, 64.3

An open, hand-labelled benchmark for Indian GST rate-slab classification. India's slabs changed on 22 Sep 2025 and the 12% slab was abolished โ€” this measures how often LLMs still answer from the old table. It is also the scorer for 06, so "did my fix help" is a number rather than an opinion.

The finding: run the same prompt against the same model five times and slab accuracy swings from 50.0% to 64.3%. Self-agreement is 53.6% โ€” the model reproduces its own answer on only 15 of 28 rows. An abolished slab is recited somewhere in the response 11.4% of the time.

Python pypdf NVIDIA NIM Docker GitHub Actions

โ†’ gst-eval-harness


06 ยท gst-resilient-agent

Retrieval recall at k โ€” semantic reaches 89.3% at k=10, hybrid 82.1%, keyword 60.7%

A multi-step agent that audits Indian GST invoice lines against hash-pinned Gazette notifications โ€” and the chaos harness built to break it. Seven tools, a hand-rolled loop, a failure taxonomy, and eleven injected failure modes.

The finding: semantic retrieval reaches 89.3% recall@10 against keyword's 60.7% โ€” and pays 715 ms for it versus 9 ms. Hybrid RRF lands in between on both axes. Chaos injection configured at 10/25/50% actually fires at 8.2/24.9/49.3%.

Python Claude Agent SDK Nemotron pypdf pytest

โ†’ gst-resilient-agent


07 ยท register-aware-translation

A formality dial sweeping between เฆคเงเฆ‡, เฆคเงเฆฎเฆฟ and เฆ†เฆชเฆจเฆฟ

Speech translation that gets the register right โ€” เฆคเงเฆ‡ or เฆ†เฆชเฆจเฆฟ, du or Sie. Standard translators collapse that distinction into an arbitrary choice; here it is a dial. 20 languages, works offline.

The finding: 100% register detection across all 20 languages, 98.5% exactness on Bengali, and 95.3% agreement against the external FAME-MT set over 30,281 sentences. The register layer itself costs about 1 millisecond.

PyTorch Whisper Transformers Flask SQLite

โ†’ register-aware-translation


08 ยท chest-xray-classifier

Per-class F1 โ€” COVID19 0.982, PNEUMONIA 0.970, NORMAL 0.953, LUNG_OPACITY 0.929

Four-class CNN over chest radiographs โ€” NORMAL, PNEUMONIA, COVID19, LUNG_OPACITY โ€” with Grad-CAM, SHAP, and a Mahalanobis out-of-distribution check. Research prototype. Not a medical device, not clinically validated.

The finding: ResNet18 reaches 0.9587 macro F1 over 3,175 test images, edging out ResNet50 โ€” the smaller backbone wins. Masking to lungs only drops it to 0.9341, which is the honest number: some of the signal was never in the lungs.

PyTorch torchvision FastAPI Grad-CAM SHAP

โ†’ chest-xray-classifier


09 ยท smart-healthcare-triage

An urgency ladder escalating from SELF_CARE through URGENT_CARE to EMERGENCY

Symptom-based triage assistant. Describe symptoms in English, Hindi or Bengali; get an urgency class, a helpline and a specialist suggestion. Works offline, audits every decision with a timestamp, and produces a structured clinical handoff.

The finding: follow-up questions can escalate a case โ€” triage is not a single-shot classification. 79 symptoms, 487 phrases across three languages, 122 tests covering the safety overrides.

Python FastAPI spaCy SQLite PWA

โ†’ smart-healthcare-triage


10 ยท neuro-sathi

Six language packs, one native-reviewed and five hidden until review; deviation alerts are rules-only

An offline-first multilingual companion for elderly cognitive care in North-East India โ€” adaptive memory games, a voice companion, a memory book, medicine reminders, and a caregiver dashboard with baseline-deviation alerts. FastAPI, Flutter and Next.js over Postgres with row-level security.

Status: built, and deliberately not claimed as validated. It does not diagnose. Five of the six language packs โ€” Assamese, Bengali, Nepali, Manipuri, Bodo โ€” stay hidden from users until a native speaker reviews them. Deviation alerts compare the last 7 days against the previous 28 and flag changes beyond 2 SD, but the model behind them is still rules, not the trained tree-based or TFLite models planned. Clinical validation and usability studies remain outstanding.

FastAPI Flutter Next.js PostgreSQL Redis Docker

โ†’ neuro-sathi


11 ยท llm-serving-unit-economics

A 3D measurement space โ€” cost, quality and latency axes around three empty workload slots

Serving an open-weight LLM on vLLM and Kubernetes, benchmarked against a paid API. Three dimensions โ€” latency, quality, cost โ€” pointed at one question: above what request volume does self-hosting actually win?

Status: week 1 of 6. Build complete, nothing measured yet. The diagram is the measurement design, not results โ€” the repo's standing rule is that every number in it is absent rather than estimated, and those three slots stay empty until a run fills them. Defined so far: three workload profiles โ€” short (606-char median prompt โ†’ 48 tokens), long_in (7,177 โ†’ 48), long_out (446 โ†’ 768) โ€” on an RTX 5070 Ti Laptop with 12,227 MiB.

vLLM Kubernetes Prometheus Grafana Podman

โ†’ llm-serving-unit-economics


Toolbox

Modelling

Python PyTorch PyG e3nn TensorFlow scikit-learn NumPy Pandas

LLM & NLP

Claude Agent SDK Transformers Whisper spaCy Gemini NVIDIA NIM

Serving & infra

FastAPI Flask Docker AWS Linux GitHub Actions SQLite MySQL MongoDB pytest


Numbers

GitHub statistics Most used languages

Three ink plates rendered as 3D perspective cards

Open the live 3D version โ†’

Each plate is a real 3D surface there โ€” a depth map drives per-pixel parallax in a hand-written WebGL shader, no libraries.


Load the bar. Then add weight.

Popular repositories Loading

  1. emotionedge-cpp emotionedge-cpp Public

    Real-time, emotion-preserving speech translation in C++. Streams speech โ†’ ASR โ†’ emotion detection (valence/arousal/dominance) โ†’ emotion-aware translation โ†’ expressive TTS, all via ONNX Runtime on Cโ€ฆ

    C++ 2

  2. llm-gateway-rag llm-gateway-rag Public

    A self-hosted gateway that turns "call an LLM" into a production system โ€” provider fallback, semantic caching, retrieval, and cost/latency observability, all behind one API.

    Python 2

  3. smart-healthcare-triage smart-healthcare-triage Public

    Symptom-based healthcare triage assistant โ€” NLP + rule-based urgency classification, evolving toward a deep learning model.

    Python 1

  4. chest-xray-classifier chest-xray-classifier Public

    Four-class CNN over chest radiographs (NORMAL / PNEUMONIA / COVID19 / LUNG_OPACITY), with Grad-CAM and an out-of-distribution check. Research prototype โ€” not a medical device, not clinically validaโ€ฆ

    Python 1

  5. symmetrynet-equivariant-gnn symmetrynet-equivariant-gnn Public

    Predicting molecular properties with neural networks that are provably invariant to rotation โ€” representation theory implemented from scratch, verified to 1e-15

    Python 1

  6. register-aware-translation register-aware-translation Public

    Speech translation that gets the register right โ€” เฆคเงเฆ‡ or เฆ†เฆชเฆจเฆฟ, du or Sie. A dial for politeness, 20 languages, works offline.

    Python 1