Skip to content

Instantly share code, notes, and snippets.

View ashokvarmamatta's full-sized avatar

Matta Ashok Varma ashokvarmamatta

View GitHub Profile
@ashokvarmamatta
ashokvarmamatta / ml-from-zero-ch3-makemore-bigram.md
Last active June 30, 2026 11:21
makemore — Your First Tiny Language Model From Scratch: a bigram neural net (one-hot → @W → softmax → NLL) that generates name-like text, trained with the same backward pass from Chapter 2. Chapter 3 of ml-from-zero. For ECE/CS grads new to ML.

makemore — Your First Tiny Language Model From Scratch. A bigram neural net that generates name-like text: one-hot → @W → softmax → negative-log-likelihood, trained with the same backward pass from Chapter 2. Chapter 3 of ml-from-zero. For ECE/CS grads new to ML.

🔤 makemore — Your First Tiny Language Model

From a Pile of Names to a Net That Invents New Ones — One Character at a Time

Typing SVG
@ashokvarmamatta
ashokvarmamatta / ai-model-runtimes-guide.md
Last active June 30, 2026 05:23
AI Model Runtimes — The Complete Field Guide: what actually runs an AI model, from your phone's chip to a datacenter GPU. Cloud engines, on-device, vendor SDKs, browser, formats, the research techniques, and a decision tree.

🧠⚙️ AI Model Runtimes — The Complete Field Guide

What actually runs an AI model — from your phone's chip to a datacenter GPU

Topic Level

@ashokvarmamatta
ashokvarmamatta / ondevice-models-android-guide.md
Last active June 30, 2026 04:44
Run AI Models On-Device in Android — Download Them On-Demand (parallel/resumable download + offline inference, hand-it-to-your-AI guide)

📲 Run AI Models On-Device in Android — Download Them On-Demand

Ship a small APK. Pull the model from the cloud the first time. Run it 100% offline forever after.

Typing SVG
@ashokvarmamatta
ashokvarmamatta / android-appfunctions-on-device-mcp.md
Created June 3, 2026 11:51
Android AppFunctions — make your app a tool Gemini can call on-device (MCP for the phone's AI). Real code, with my device-info app ANTAR wired up as the example: gradle, @appfunction, the 2026 Android agent stack.

🧩 Android AppFunctions — Make Your App a Tool Gemini Can Call (On-Device MCP)

Your app stops being something the user opens, and becomes something the phone's AI operates

Android Kotlin

@ashokvarmamatta
ashokvarmamatta / backprop-from-scratch.md
Created June 1, 2026 05:42
Backprop & the Chain Rule From Scratch - How a network learns: gradients, the chain rule, and a 40-line micrograd engine verified against PyTorch. Chapter 2 of ml-from-zero. For ECE/CS grads new to ML.

🔁 Backprop & the Chain Rule From Scratch

How a Network Learns — Assigning Blame, One Derivative at a Time

Typing SVG
@ashokvarmamatta
ashokvarmamatta / neurons-from-scratch.md
Last active June 1, 2026 05:51
Neurons Explained From Scratch - From a single weighted decision to production on-device AI (Python + PyTorch + Gemma). For ECE/CS grads new to ML.

🧠 Neurons Explained From Scratch

From First Principles → Production On-Device AI

Typing SVG
@ashokvarmamatta
ashokvarmamatta / agentic-android-vault-guide.md
Last active April 30, 2026 06:19
Make Your AI a Senior Android Engineer — Build a living knowledge vault that wires into Claude Code, Antigravity, Codex, Gemini, Cursor, and Android Studio via MCP

🤖 Make Your AI a Senior Android Engineer

Stop the Hallucinations — Give Your AI a Living Brain That Knows Today's Android, Not 2023's Android

Typing SVG
@ashokvarmamatta
ashokvarmamatta / graphify-mcp-guide.md
Last active July 20, 2026 07:13
🧠 Make Your AI Coding Assistant 500x Smarter — Complete Guide to graphify + code-review-graph + MCP (Knowledge Graphs for Claude Code, Cursor, Windsurf)

🧠 Make Your AI Coding Assistant 500x Smarter

Stop Burning Tokens — Use Knowledge Graphs + MCP to Give AI a Map of Your Code

Typing SVG
@ashokvarmamatta
ashokvarmamatta / GEMMA4_ON_DEVICE_GUIDE.md
Last active July 1, 2026 09:17
Run Gemma 4 On Your Android Phone — Complete Beginner's Guide (LiteRT LM SDK, Kotlin, on-device AI)

Run Gemma 4 On Your Android Phone — Complete Beginner's Guide (LiteRT LM SDK, Kotlin, on-device AI)

🧠 Run Gemma 4 On Your Android Phone

The Complete Beginner's Guide — From Zero to On-Device AI

Typing SVG
@ashokvarmamatta
ashokvarmamatta / cloudflare-tunnel-android-guide.md
Last active June 23, 2026 11:57
Running Cloudflare Tunnels on Android - Complete Guide (every problem + solution)

☁️ Cloudflare Tunnels on Android

The guide nobody wrote. Until now.

Typing SVG