Mindket

gemma-4-E2B

Newversion 1 · updated

Overview

Handles text, image and audio input and writes text, in a small Gemma 4 model built for laptops and phones. From Google DeepMind, with 2.3B effective parameters and a 128K context.

gemma-4-E2B is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python, to run the Hugging Face download tool
  • Room for about 10.2 GB of BF16 weights, or about 2.6 GB at 4-bit as an estimate
  • The transformers library to load the model
Runs in
  • Laptops and mobile devices, which the card names for the E2B and E4B sizes
  • Windows, macOS or Linux with Python, using the transformers library
  • Programs that load the Safetensors files
Start with
pip install -U huggingface_hub
hf download google/gemma-4-E2B

Platform

WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

gemma-4-E2B is the smallest model in Google DeepMind's Gemma 4 family. It takes text, images and audio as input and writes text. The E stands for effective parameters, so it behaves like a 2.3B model while the files hold 5.1B parameters, since per-layer embedding tables take up the difference.

Who it suits

Developers and hobbyists who want a small open model with multimodal input that can run on a laptop or a phone-class device.

IndustryWho uses itHow they use itExample
SoftwareMobile and desktop developersRun a small multimodal model on the deviceAn assistant that understands a photo
ResearchML researchersStudy small multimodal and per-layer embedding designsA comparison across Gemma 4 sizes
EducationStudentsTry reasoning and coding help on modest hardwareA study helper on a laptop
AccessibilityTool buildersDescribe images or transcribe short audio locallyA screen reader that explains pictures

If you need a larger model for harder tasks, you can skip it, since the family also has E4B, 12B, 26B A4B and 31B sizes.

Where to use it

  • Laptops and mobile devices, which the card names for the E2B and E4B sizes
  • Windows, macOS or Linux with Python, using the transformers library
  • Programs that load the Safetensors files
Use caseWhoWhat they get back
Chat and reasoningIndividualsAnswers with a configurable thinking mode
Image and audio inputDevelopersText answers about pictures or sound you supply
Coding and agentsBuildersFunction calls and code help
Multilingual useAnyoneSupport for more than 140 languages, per the card

How to set it up

  • Python, to run the Hugging Face download tool
  • Room for about 10.2 GB of BF16 weights, or about 2.6 GB at 4-bit as an estimate
  • The transformers library to load the model
  1. Install the Hugging Face hub tools with pip.
  2. Download the model files with the hf command.
  3. Load the model with transformers and follow the model card for details.
pip install -U huggingface_hub
hf download google/gemma-4-E2B

How to use it

Send the model text, an image or audio and read the text it writes back. The card says Gemma 4 supports a system role, so you can set rules for a conversation in a system message.

Example

You give the model a photo of a menu and ask "Which dishes here are vegetarian". It reads the image and replies in text with the dishes it thinks qualify.

For newcomers and experts

Start with a short text prompt to confirm the model loads, then add an image. Keep early prompts small, since the model is built for modest hardware.

The model has 35 layers and a sliding window of 512 tokens, and its design alternates local attention with full global attention, ending in a global layer. A vision encoder of about 150M and an audio encoder of about 300M parameters feed it. The vocabulary has 262K entries and the context reaches 128K tokens.

  1. Send text, image or audio
  2. Local and global attention layers process it
  3. Per-layer embeddings add lookups
  4. Text comes back

Good to know

  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: downloads files from Hugging Face, then runs on your own machine
  • Not for: the largest tasks, since the 12B, 26B A4B and 31B sizes exist for those
  • Limits: the 128K context is smaller than the 256K the medium models offer

README and files

README

gemma-4-E2B

Handles text, image and audio input and writes text, in a small Gemma 4 model built for laptops and phones. From Google DeepMind, with 2.3B effective parameters and a 128K context.

Made by google on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: gemma-4-E2B is the smallest model in Google DeepMind's Gemma 4 family. It takes text, images and audio as input and writes text. The E stands for effective parameters, so it behaves like a 2.3B model while the files hold 5.1B parameters, since per-layer embedding tables take up the difference.

Who it suits: Developers and hobbyists who want a small open model with multimodal input that can run on a laptop or a phone-class device.

Industry | Who uses it | How they use it | Example
Software | Mobile and desktop developers | Run a small multimodal model on the device | An assistant that understands a photo
Research | ML researchers | Study small multimodal and per-layer embedding designs | A comparison across Gemma 4 sizes
Education | Students | Try reasoning and coding help on modest hardware | A study helper on a laptop
Accessibility | Tool builders | Describe images or transcribe short audio locally | A screen reader that explains pictures

If you need a larger model for harder tasks, you can skip it, since the family also has E4B, 12B, 26B A4B and 31B sizes.

Where to use it:

  • Laptops and mobile devices, which the card names for the E2B and E4B sizes
  • Windows, macOS or Linux with Python, using the transformers library
  • Programs that load the Safetensors files
Use case | Who | What they get back
Chat and reasoning | Individuals | Answers with a configurable thinking mode
Image and audio input | Developers | Text answers about pictures or sound you supply
Coding and agents | Builders | Function calls and code help
Multilingual use | Anyone | Support for more than 140 languages, per the card

How to set it up:

  • Python, to run the Hugging Face download tool
  • Room for about 10.2 GB of BF16 weights, or about 2.6 GB at 4-bit as an estimate
  • The transformers library to load the model
  1. Install the Hugging Face hub tools with pip.
  2. Download the model files with the hf command.
  3. Load the model with transformers and follow the model card for details.
pip install -U huggingface_hub
hf download google/gemma-4-E2B

How to use it: Send the model text, an image or audio and read the text it writes back. The card says Gemma 4 supports a system role, so you can set rules for a conversation in a system message.

Example: You give the model a photo of a menu and ask "Which dishes here are vegetarian". It reads the image and replies in text with the dishes it thinks qualify.

For newcomers and experts: Start with a short text prompt to confirm the model loads, then add an image. Keep early prompts small, since the model is built for modest hardware.

The model has 35 layers and a sliding window of 512 tokens, and its design alternates local attention with full global attention, ending in a global layer. A vision encoder of about 150M and an audio encoder of about 300M parameters feed it. The vocabulary has 262K entries and the context reaches 128K tokens.

Send text, image or audio
Local and global attention layers process it
Per-layer embeddings add lookups
Text comes back

Good to know:

  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: downloads files from Hugging Face, then runs on your own machine
  • Not for: the largest tasks, since the 12B, 26B A4B and 31B sizes exist for those
  • Limits: the 128K context is smaller than the 256K the medium models offer

On Hugging Face, 13 November 2026

  • Task: any to any
  • Library: transformers
  • Parameters: 5.1B
  • Weights: about 10.2 GB in BF16; about 2.6 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 109,387
  • Likes: 559
  • License: apache-2.0
  • Quantized versions: 44
  • Fine-tunes: 157
  • Tags: transformers, safetensors, gemma4, image-text-to-text, any-to-any

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download google/gemma-4-E2B

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  4 KB

1 file, 4 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
gemma-4-E2B This page109,3875595.1Bapache-2.0
gemma-4-E4B-itShares any-to-any · gemma4 · image-text-to-text4,298,3481,8508Bapache-2.0
gemma-4-E2B-itShares any-to-any · gemma4 · image-text-to-text3,017,0591,1295.1Bapache-2.0
gemma-4-E4BShares any-to-any · gemma4 · image-text-to-text449,3165088Bapache-2.0
gemma-4-12B-it-qat-GGUFShares any-to-any · gemma4 · transformers196,87161711.9Bapache-2.0
gemma-4-12B-itShares any-to-any · image-text-to-text · transformers1,738,9051,73512Bapache-2.0
Numbers as Mindket last read them, on 2026-11-12.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

ryansenBuilding an LLM runtime in 700 lines of CI wanted to understand how modern AI models actually generate text, but most inference codebases are tens or hundreds of thousands of lines long. They’re incredibly impressive, but they’re optimized for flexibility and performance. So I implemented a complete CPU runtime for Google’s latest open…GusThis browser demo is pretty neat! 🎙️🌐✨ Talk to Gemma 4 E2B directly in the browser with WebGPU and Transformers.js: it caches the weights locally and runs the full voice loop on your machine. Check it out: https://huggingface.co/spaces/google/gemma-4-webgpu-voice-assistant33 likesreactordevGemma 4 QAT models: Optimizing compression for mobile and laptop efficiencyI think this is the one but it’s 0.8GB VRAM not 0.8GB size. https://huggingface.co/google/gemma-4-E2B-it-qat-mobile-ct But they could be cooking up a smaller one because the model card lists the Q_4 quants as being bigger than the mobile or text-only so I think we’ll need to wait for the…heiseonlineGoogle verlagert KI-Funktionen von der Cloud direkt auf das Smartphone. Das Modell Gemma 4 E2B for TPU ist speziell für das Pixel 10 konzipiert. #Künstliche Intelligenz4 likes · 1 replyadrian_bAccelerating Gemma 4: faster inference with multi-token prediction draftersI do not know what you mean by sparse models. All 4 gemma-4-*-it models, regardless whether they are dense models or MoE models, have associated small models for MTP, whose names are obtained by adding the "-assistant" suffix. https://huggingface.co/google/gemma-4-E2B-it-assistant…Signal LedgerGoogle reports a 2.85x Gemma 4 E2B inference speedup on A100 with token parity. Promising engineering signal; I'd still want an independent rerun of that setup before generalizing. deepmind.google/blog/introdu...1 like · 1 replyAbuAssarAccelerating Gemma 4: faster inference with multi-token prediction draftersthese are the updated models: google/gemma-4-31B-it-assistant google/gemma-4-26B-A4B-it-assistant google/gemma-4-E4B-it-assistant google/gemma-4-E2B-it-assistantJauntyWunderKindGemma4 E2B runs great on phones and other tiny devices. Ideally one's user agent lets one run whatever model one wants! Even nice big fat remote ones ideally! The user agent should extend agency!! This API is generic. I don't really care what your situation is. The answer is the same.1 like · 1 replymeander_waterThe Prompt APIThis looks like it uses Gemini Nano under the hood. But the latest Gemma4 E2B and E4B models appear to be much better, so you'd probably be better off deploying quantized versions through an extension for now. - Gemini Nano-1: 46% MMLU, 1.8B - Gemini Nano-2: 56% MMLU, 3.25B - Gemma4 E2B: 60.0%…@quon-echosphere.bsky.social元ポストに書いてないこと、あと2つ。 ①「入れるだけ」の前に、モデルのダウンロードで電波が要る。Gemma 4 E2Bでファイル約2.6GB。機内で使うなら地上で落としておくのが前提。 ②「Googleがとんでもないのを出した」の「出した」は、実は2025年5月末の話。そこから育ってきたアプリで、今もREADMEには「実験的なベータ版」とある。 https://huggingface.co/litert-community/gemma-4-E2B-it-litert-lm1 replynamnnumbrMeasuring Claude 4.7's tokenizer costsYes! I'd be totally happy with today's sonnet 4.6 if I could run it locally. If you can forgive the obviously-AI-generated writing, [CPUs Aren't Dead](https://seqpu.com/CPUsArentDead) makes an interesting point on AI progress: Google's latest, smallest Gemma model (Gemma 4 E2B), which can run on a…Cyrus WongZero-Egress Browser Edge AI Investigator — Running #Gemma4 E2B, #MediaPipe 3D Face Mesh & #LiteRT #Whisper in Web Workers #googledeveloperexpert dev.to/gde/google-a...

Searched

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Developer

See all in Developer

Claude Code Skills & Plugins

alirezarezvani · Skill

Adds 411 ready-made skills for Claude Code and other coding agents, grouped by role from engineering and product to marketing, finance and compliance. Installs…

New29.8k

buzz

block · Kit

Self-hostable workspace where people and AI agents share the same rooms, built on a Nostr relay that logs every action as a signed event. For teams that want t…

New37.3k

plannotator

backnotprop · Kit

Opens your AI coding agent's plans, specs and code changes in a browser so you can annotate or comment on them and send the feedback straight back to the agent.

New10.5k