Posts

Duel of Albion

How a Tiny 270M Gemma 3 Model Powers a Real-Time 3D Fighter By Sathvik A R and Sankalp H S If you've ever wondered whether you really need a massive, GPU-hungry language model to power smart NPCs, the short answer is: no, you don't. Welcome to Duel of Albion , our new Hugging Face Space that delivers a real-time 3D fighting game where the NPC opponent is driven entirely by a fine-tuned Gemma 3 270M model. We replaced our older, heavier 4B Gemma model with this specialized 270M LoRA adapter ( Sathvik0101/cyber-duel-tiny-users ). The result? The tiny NPC actually beat its 4B predecessor in a 10-round head-to-head match by a 19 HP margin —and it does it all running on a free CPU tier. Here’s a deep dive into how we built it, trained it, and optimized it for real-time inference. 🏗️ The Architecture: Three Core Pillars To make this work seamlessly on Hugging Face Spaces, we broke the architecture into three distinct layers: The 3D Game Engin...

Retro Alpha

Building Retro Alpha: A 90s CRT Stock Market Game for the Build Small Hackathon Authors: Sankalp H S & Sathvik A R   Project: Retro Alpha — Build Small Hackathon   GitHub: sankalphs/Retro-Alpha Models & Datasets: Retro Alpha Dataset NVIDIA Nemotron-3-Nano-4B (Fine-tuned LoRA) Nemotron Q4_K_M GGUF What If Zerodha Existed in 1994? The whole idea for Retro Alpha started with a fun, slightly ridiculous thought experiment: what would a modern trading platform look like if you had to boot it up on a bulky CRT monitor in the mid-90s? We pictured green phosphor text, scanlines, and a terminal where you half-expect a > CONNECTING TO NSE VIA 2400 BAUD MODEM... prompt to flicker across the screen. But we didn't just want to build a nostalgic UI. We wanted a game with actual stakes. The premise is simple: you start with ₹10,00,000 in April 1994. Your goal is to double it over 10 simulated years. Along the way, you have to navigate 2...

Noir Verdict

Noir Verdict: What I Built and What I Learned Ten questions, four suspects, one bad night, and a 4B parameter model that never talks to the internet. Two weeks ago, I sat down to build something for the Hugging Face Build Small Hackathon — a competition where every model must be 32B parameters or smaller, and the best entries run entirely offline. I came out the other side with a noir detective game, nine bonus quests checked off, and a notebook full of lessons that I want to share while the scars are still fresh. The Game You walk into a 1950s radio station. A phonograph disc has been stolen. Four suspects are waiting in the room — nervous, arrogant, helpful, evasive. You have ten questions to find the truth. Each question either cracks a clue, catches a contradiction, or wastes a turn. At the end, you charge someone. The math decides if you were right. The typewriter decides how it sounds. The whole thing — a custom 3D noir scene, a deterministic game engine, and a fine-...