DEV Community

Vani thakur
Vani thakur

Posted on

I Built a Lazy Summarizer on a Tablet with Open-Source Gemma 4

Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady Submission 🦥

This is a submission for the Hacktoberfest Open-Source AI Challenge Week 3: Slow and Steady

What I Built

I built a lazy text summarizer. You give it a long piece of text and it writes a two-line summary, so you don't have to read the whole thing. Anyone who gets long messages or articles can be a little lazier because of it. I built it on a tablet, with no laptop.

Demo

No deployed link, since I ran it in Google Colab. Here are screenshots of the model summarizing text:

Code

I ran the summarizer in a Google Colab notebook. The code is in the screenshots above, and the model is google/gemma-4-E2B-it from Hugging Face.

How I Built It

I used Gemma 4 (E2B-it), an open-weight model from Google, running in Google Colab on a free T4 GPU, all from my tablet's browser. I loaded it with Hugging Face Transformers and gave it text to summarize in two short lines.

Why open innovation mattered: Gemma 4 uses the Apache 2.0 license, so I could download and run it for free, without asking anyone for access. I first tried an older gated Gemma model and it blocked me with a 403 error until I accepted a license. The open one worked right away. Because the weights are open, I can also swap models or fine-tune it later.

Why Does Open Innovation Matter?

Open innovation matters because it allows you to access powerful, open-weights models like Gemma, giving you the freedom to build and experiment without the restrictions of closed systems.

My Agent Session

The Lazy Payoff

Prize Categories

Gemma

Top comments (0)