Freelance AI Developers in MumbaiFreelance AI Developers in Mumbai
AI Video Producer | Brand Designer
$10k+
Earned
18x
Hired
5.0
Rating
249
Followers
AI Video Producer | Brand Designer
I’m an AI & Machine Learning engineer with expertise in deve
I’m an AI & Machine Learning engineer with expertise in deve
Cover image for What your attention heatmap isn't
What your attention heatmap isn't telling you Everyone's staring at attention heatmaps and calling it "interpretability." Almost nobody's asking whether a single attention map actually tells you what the model used to make its decision. It doesn't. Not on its own. A raw attention map from layer 8 shows you what layer 8 attended to. It says nothing about how that signal got mixed, diluted, or overwritten by every layer before and after it. Attention rollout fixes this — and I built a walkthrough to show why it matters. Here's what makes it more than a "pretty heatmap" demo: Instead of visualizing one layer's attention, I traced how information actually flows through the full transformer stack. → Every layer's attention matrix is extracted, per head, per token → Multi-head attention is averaged, then combined with the residual connection (identity + attention) — this is the step most tutorials skip, and it's the one that actually matters → The combined matrices are matrix-multiplied layer by layer, rolling attention forward from input to output → The result: a single map showing genuine token-to-token influence across the entire network, not just one layer's snapshot The overlay shows you everything: → Per-layer attention vs. rolled-out attention, side by side → Token importance scores overlaid directly on the input text → A comparison view: which tokens raw attention says "matter" vs. which ones rollout says actually matter → Head-level breakdown so you can see which heads specialize vs. which are noise No black box. No "trust me, the model looked here." Just linear algebra, applied honestly across every layer instead of cherry-picking one. Built with PyTorch + HuggingFace Transformers + Matplotlib. Runs on any pretrained transformer, fully offline. ⚠️ Important: attention rollout is an approximation, not ground truth. It assumes attention is the primary information pathway, which ignores MLP layers and can still mislead for very deep models. Treat it as a debugging lens, not proof of causality.
0
30
Cover image for Everyone's talking about quantum computing.
Everyone's talking about quantum computing. Nobody's using it to feed farmers. India loses 20–30% of its crop yield every year to diseases and pests. Not because farmers don't care — but because early detection is hard, expensive, and inaccessible to the people who need it most. The existing solutions? Either a basic image classifier trained on lab-perfect photos that fail in real field conditions, or an agronomist visit that costs time and money most small farmers don't have. So I built QuantumEdge AgriGuard — a hybrid Quantum Neural Network app where a farmer can photograph a diseased leaf on their phone and get an instant diagnosis in under 5 seconds. Here's what makes it different from just another plant disease detector: Instead of a pure classical CNN, I built a hybrid architecture — a ResNet/EfficientNet backbone extracts visual features, then passes them into a Variational Quantum Circuit (VQC) for the final classification. The quantum layer uses angle embedding + StronglyEntanglingLayers, which gives it a measurable edge on small, noisy datasets — exactly the kind of data you get from Indian field conditions. The app doesn't just tell you what disease it is. It gives you: → Confidence score → Organic + chemical remedies (India-specific) → Yield impact estimate → A live classical vs quantum accuracy comparison so you can see the difference yourself I tested the quantum advantage claim honestly — ran both models on the same downsampled PlantVillage dataset and tracked accuracy, F1-score, and inference time side by side. The results are on the dashboard. No hand-waving. Built with PennyLane + PyTorch + Plotly Dash. Designed to run on simulators today and on QpiAI-Indus 25-qubit hardware tomorrow.
1
0
50
Tech solutions with a product-first approach.
Tech solutions with a product-first approach.
The best in AI & Web Products, SaaS Platforms & Mobile Apps!
$5k+
Earned
5.0
Rating
4
Followers
The best in AI & Web Products, SaaS Platforms & Mobile Apps!
Tailor-made, Intelligent Tools in just 3 weeks
5.0
Rating
14
Followers
Tailor-made, Intelligent Tools in just 3 weeks
I build AI-powered data apps and dashboards
11
Followers
I build AI-powered data apps and dashboards
PyPI Author | Python Dev | Building real-world tools| UI-UX|
PyPI Author | Python Dev | Building real-world tools| UI-UX|