Where I document experiments, share failures, and write about building AI systems that actually work in production.
Monocular depth estimation + five anatomical keypoints + a 150-year-old livestock formula. The pipeline runs end-to-end. The numbers say I've still got work to do. An honest, mid-flight write-up of a research project โ including the negative Rยฒ I'm trying to fix.
Read post โRebuilt the 124M GPT-2 stack line-by-line in PyTorch โ multi-head attention, GELU, transformer blocks โ the cleanest way I've found to actually understand attention. With every important code snippet and the six things that only landed once I wrote it.
I tried to get a 7B model to understand cattle health, crop cycles, and Kannada farming terminology. Here's exactly what went wrong and what eventually worked โ with full loss curves and prompting strategies.
Low-light, motion blur, and occlusion โ the failure modes benchmarks never cover, and how I found them in production.
How we combined retrieval with structured livestock data to get reliable, explainable outputs from an LLM.
A step-by-step walkthrough of the mean-variance optimizer I built โ constraints, edge cases, and the math behind it.