Gemma 3 Chatbot

  • 2025/08/19
  • Gemma 3 270M local run HF transformers Claude Opus 4.1 Zed
  • On August 14, 2025, Google released Gemma 3 270M parameter model . As per the page, It's a high-quality foundation model that follows instructions well out of the box, and its true power is unlocked through fine-tuning. Once specialized, it can execute tasks like text classification and data extraction with remarkable accuracy, speed, and cost-effectiveness. By starting with a compact, capable model, you can build production systems that are lean, fast, and dramatically cheaper to operate.
  • I extended the Building a chatbot with Gemma application with help from Claude Opus 4.1 in Zed editor.
  • I asked Claude to build a minimal UI using HTML, CSS, JavaScript and a FastAPI based backend to serve the model. This is the generated layout.
  • GitHub repo

./images/gemma_3_270m_chatbot.png