Skip to main content

Model guide

Gemma 3n E4B Instruct

Gemma 3n E4B is designed for device-oriented text, visual and audio input. The E4B label describes effective parameters, not the complete stored model, and support differs between native and converted workflows. Choose it for a supported multimodal application, not on the assumption that every local chat runner exposes its audio features.

8BMultimodal32,768 token contextView the model card →

At a glance

Parameters
8B
Accepts
Text · Image · Audio · Video
Returns
Text
Published context limit
32,768 tokens
Model format
safetensors · GGUF
Software and download hosts
Ollama · Transformers · MLX · llama.cpp · Google AI Edge. Follow the exact setup below; this list does not establish support for every format, input type or software version.
Suggested compression
Q4_K_M
Model-weight download
Q4_K_M weights · 4.24 GBbartowski (community conversion)google_gemma-3n-E4B-it-Q4_K_M.gguf
Languages
140 languages for text · 35 languages for multimodal understanding, including audio tasks

Will it fit?

Gemma 3n E4B Instruct · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need. Audio processing and media companion files need additional memory.

Check on your computer

Best for

  • Rewrite an on-device notice into two short bullets while retaining its exception. The guide’s GGUF example exercises the text path.

Choose something else when

  • For audio or pictures, use Google’s separate native processor workflow and budget that download.

Using image input

This GGUF walkthrough exercises text. Use the publisher’s processor and native model to try images.

Using audio

Use a client that supports this exact model's audio pipeline and the matching media companion when required. A text-only chat does not use speech. Measure peak memory for your audio workload.

First setup

Check a representative task

Use the text session from either the LM Studio or llama.cpp tab. This checks an instruction-following task without requiring a different multimodal download.

Turn this device notice into two bullet points, each under 15 words.
Keep the exception and do not invent opening hours.

Notice: The North entrance is closed on Tuesday. Use the South entrance.
Staff with a maintenance pass may still enter through the North entrance.

Check the result: one bullet directs ordinary visitors to the South entrance on Tuesday; the other preserves the maintenance-pass exception. No opening hours should be added.

This is a text-only check of the selected GGUF. To assess images or audio, use Google’s native Gemma 3n workflow with its processor and separately budgeted native model. Passing this prompt says nothing about those modalities.

This creates a 4,096-token copy of gemma3n:e4b named gemma-3n-e4b-it-short-context. Save the following as a file named Modelfile in your working folder:

FROM gemma3n:e4b
PARAMETER num_ctx 4096

Then run these commands from that folder:

ollama pull gemma3n:e4b
ollama create gemma-3n-e4b-it-short-context -f ./Modelfile
ollama run gemma-3n-e4b-it-short-context

Run the task check. While the model is loaded, run ollama ps in another terminal and check CONTEXT and PROCESSOR.

The recorded Ollama package is Q4_K_M: 7.63 GB of model weights and 2.14 GB of media companion weights. Use Ollama 0.40.0 or a supporting newer release. A Hugging Face GGUF or MLX checkpoint is a separate representation; choose the matching source and runner in the memory calculator.

See Ollama context settings and the Modelfile instructions.

Other models for this task