About

I’m Sagar, a program lead who experiments with AI, machine learning, and data. This is where I share what I learn along the way, along with the occasional musing.

Forecasting in SQL: Building an Air Quality Model in BigQuery

Building and validating an air-quality forecasting model in BigQuery ML—and finding the data leakage that would break it in production.

June 11, 2026 · 4 min

Mapping r/conspiracy via Vertex AI & BigQuery ML

Using Vertex AI and BigQuery ML to classify 1.2 million r/conspiracy posts with a teacher-student pipeline.

April 28, 2026 · 4 min

Iterating ML models using Weights & Biases

Using Weights & Biases to track experiments and systematically improve a noisy regression model.

February 27, 2026 · 5 min

Beyond Keywords: Unlock Smarter AI with Semantic Search

Building semantic search with embeddings to retrieve relevant results beyond literal keyword matches.

November 4, 2025 · 6 min

AI Powered Small-Business ChatBot

Building a retrieval-augmented chatbot for small-business information and exploring where RAG helps—and where it does not.

November 3, 2025 · 4 min

Building Snoop-Speare

Fine-tuning a small language model on Snoop Dogg and Shakespeare to explore data preparation, tokenization, and causal language modeling.

October 31, 2025 · 6 min

High-Performance Image Classification with PyTorch and Hugging Face

Fine-tuning a pretrained Vision Transformer on a 6,000-image subset of Fashion-MNIST, with a custom PyTorch training loop and a macro F1 score of 0.9318.

October 23, 2025 · 4 min