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...