Mindket

gemma-4-E2B-it-litert-lm

Newversion 1 · updated

Overview

Gemma 4 E2B instruction-tuned model packaged as a .litertlm file for the LiteRT-LM framework, made for private on-device use on phones, desktops and edge devices.

gemma-4-E2B-it-litert-lm 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 and pip, for the download command
  • The LiteRT-LM framework for your target platform
  • Memory for the model, as low as 0.8 GB for text-only use according to the card
Runs in
  • The LiteRT-LM framework, which reads .litertlm files
  • Android, iOS, desktop, IoT and web targets, per the card
  • Google AI Edge Gallery, the showcase app built on the same stack
  • Windows, macOS or Linux for the file download, with Python
Start with
pip install -U huggingface_hub
hf download litert-community/gemma-4-E2B-it-litert-lm

Platform

AndroidOperating system
iOSOperating system
WindowsOperating system
macOSOperating system
LinuxOperating system

About

What it is

gemma-4-E2B-it-litert-lm is the Gemma 4 E2B instruction-tuned model from Google, repackaged by litert-community. It comes as a .litertlm file for LiteRT-LM, a framework for running generative models on a device.

The card names Android, iOS, desktop, IoT and the web as places it can run. Running it on the device keeps your use private and works without an internet connection.

Who it suits

It suits app developers and edge engineers who want a small language model inside their own app or device. People who only want to chat can try it through Google's AI Edge Gallery app, which the card links.

IndustryWho uses itHow they use itExample
Mobile appsAndroid and iOS developersPut a small model inside an appAn offline assistant feature
IoT and edgeEmbedded engineersRun a model on a device without a network linkA local helper on a gadget
Desktop softwareDevelopersAdd on-device text generation to a programA writing aid that keeps data local
Privacy-minded teamsProduct teamsKeep prompts on the user's deviceA private note summarizer

Skip it if you want a large hosted model and have no need to run on a device.

Where to use it

  • The LiteRT-LM framework, which reads .litertlm files
  • Android, iOS, desktop, IoT and web targets, per the card
  • Google AI Edge Gallery, the showcase app built on the same stack
  • Windows, macOS or Linux for the file download, with Python
Use caseWhoWhat they get back
On-device chatApp developersText replies with no network needed
Function callingAgent buildersThe model can call functions through the LiteRT-LM APIs
Low-memory runsEdge engineersText-only use with weights as small as 0.8 GB

How to set it up

You need a few things in place first.

  • Python and pip, for the download command
  • The LiteRT-LM framework for your target platform
  • Memory for the model, as low as 0.8 GB for text-only use according to the card
  1. Install the Hugging Face hub package with pip.
  2. Download the repository with the hf command.
  3. Load the .litertlm file in LiteRT-LM. The model card and the LiteRT-LM documentation hold the run details.
pip install -U huggingface_hub
hf download litert-community/gemma-4-E2B-it-litert-lm

How to use it

You use the file through LiteRT-LM, which handles prompt templates, the key-value cache and function calling. The card also points to the Google AI Edge Gallery app and to a LiteRT-LM command line tool for trying the model.

Example

You put the file in a mobile app built on LiteRT-LM and ask the model to summarize a short note. The text stays on the phone, and the card says the model works without an internet connection.

For newcomers and experts

The easiest first try is the Google AI Edge Gallery app, which the card links for Android and iOS. Developers can then move on to the file itself.

The card describes a mobile quantization scheme that mixes 2-bit, 4-bit and 8-bit weights. For text-only use the weights can fit in as little as 0.8 GB, while memory mapping serves the 1.12 GB of embedding parameters. The vision and audio models load on demand to save more memory. LiteRT supplies XNNPack for the CPU and ML Drift for the GPU.

  1. Download the .litertlm file
  2. Load it in LiteRT-LM
  3. Send a prompt on the device
  4. Get a reply without a network

Good to know

  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: it downloads files from Hugging Face, and once loaded the model runs on the device

README and files

README

gemma-4-E2B-it-litert-lm

Gemma 4 E2B instruction-tuned model packaged as a .litertlm file for the LiteRT-LM framework, made for private on-device use on phones, desktops and edge devices.

Made by litert-community 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-it-litert-lm is the Gemma 4 E2B instruction-tuned model from Google, repackaged by litert-community. It comes as a .litertlm file for LiteRT-LM, a framework for running generative models on a device.

The card names Android, iOS, desktop, IoT and the web as places it can run. Running it on the device keeps your use private and works without an internet connection.

Who it suits: It suits app developers and edge engineers who want a small language model inside their own app or device. People who only want to chat can try it through Google's AI Edge Gallery app, which the card links.

Industry | Who uses it | How they use it | Example
Mobile apps | Android and iOS developers | Put a small model inside an app | An offline assistant feature
IoT and edge | Embedded engineers | Run a model on a device without a network link | A local helper on a gadget
Desktop software | Developers | Add on-device text generation to a program | A writing aid that keeps data local
Privacy-minded teams | Product teams | Keep prompts on the user's device | A private note summarizer

Skip it if you want a large hosted model and have no need to run on a device.

Where to use it:

  • The LiteRT-LM framework, which reads .litertlm files
  • Android, iOS, desktop, IoT and web targets, per the card
  • Google AI Edge Gallery, the showcase app built on the same stack
  • Windows, macOS or Linux for the file download, with Python
Use case | Who | What they get back
On-device chat | App developers | Text replies with no network needed
Function calling | Agent builders | The model can call functions through the LiteRT-LM APIs
Low-memory runs | Edge engineers | Text-only use with weights as small as 0.8 GB

How to set it up: You need a few things in place first.

  • Python and pip, for the download command
  • The LiteRT-LM framework for your target platform
  • Memory for the model, as low as 0.8 GB for text-only use according to the card
  1. Install the Hugging Face hub package with pip.
  2. Download the repository with the hf command.
  3. Load the .litertlm file in LiteRT-LM. The model card and the LiteRT-LM documentation hold the run details.
pip install -U huggingface_hub
hf download litert-community/gemma-4-E2B-it-litert-lm

How to use it: You use the file through LiteRT-LM, which handles prompt templates, the key-value cache and function calling. The card also points to the Google AI Edge Gallery app and to a LiteRT-LM command line tool for trying the model.

Example: You put the file in a mobile app built on LiteRT-LM and ask the model to summarize a short note. The text stays on the phone, and the card says the model works without an internet connection.

For newcomers and experts: The easiest first try is the Google AI Edge Gallery app, which the card links for Android and iOS. Developers can then move on to the file itself.

The card describes a mobile quantization scheme that mixes 2-bit, 4-bit and 8-bit weights. For text-only use the weights can fit in as little as 0.8 GB, while memory mapping serves the 1.12 GB of embedding parameters. The vision and audio models load on demand to save more memory. LiteRT supplies XNNPack for the CPU and ML Drift for the GPU.

Download the .litertlm file
Load it in LiteRT-LM
Send a prompt on the device
Get a reply without a network

Good to know:

  • License: Apache 2.0
  • Cost to run: none named
  • Data it reaches: it downloads files from Hugging Face, and once loaded the model runs on the device

On Hugging Face, 13 November 2026

  • Library: litert-lm
  • Downloads in the last 30 days: 1,418,552
  • Likes: 545
  • License: apache-2.0
  • Based on: google/gemma-4-E2B-it
  • Fine-tunes: 7
  • Tags: litert-lm

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download litert-community/gemma-4-E2B-it-litert-lm

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 daysLikesLicenseLast change
gemma-4-E2B-it-litert-lm This page1,418,552545apache-2.0
Gemma 4 E4B IT (LiteRT-LM)Shares litert-lm467,257250apache-2.0
embeddinggemma-2-740m-litert-lmShares litert-lm152,50744apache-2.0
Gemma 4 12B IT (LiteRT-LM)Shares litert-lm13,08371apache-2.0
Raon-1 nano (LiteRT-LM)Shares litert-lm2612apache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

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.

simonwGemma 4 QAT models: Optimizing compression for mobile and laptop efficiencyI just ran one of these locally on a Mac like this: uvx litert-lm run \ --from-huggingface-repo=litert-community/gemma-4-E2B-it-litert-lm \ gemma-4-E2B-it.litertlm \ --backend=gpu \ --prompt="Generate an SVG of a pelican riding a bicycle" The first time you run that it downloads 3.2GB to…@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 replywhhoneGoogle releases Gemma 4 open modelsThe LiteRT-LM CLI (https://ai.google.dev/edge/litert-lm/cli) provides a way to try the Gemma 4 model. # with uvx uvx litert-lm run \ --from-huggingface-repo=litert-community/gemma-4-E2B-it-litert-lm \ gemma-4-E2B-it.litertlmGuillaume LaforgeStep 1: LiteRT-LM setup Install the on-device runtime: pip install litert-lm Download a Gemma model: litert-lm import --model-id litert-community/gemma-4-E2B-it-litert-lm --output-dir ~/.litert-lm/models/gemma4-e2b/ Serve locally: litert-lm serve --port 93791 replyAlex McRobertsThanks! I found on the official site, this seemed to work (I changed the country from France) litert-lm run \ --from-huggingface-repo=litert-community/gemma-4-E2B-it-litert-lm \ gemma-4-E2B-it.litertlm \ --prompt="What is the capital of Northern Ireland?" ai.google.dev/edge/litert-...1 reply

Searched

More from Mindket

See all from Mindket

Huashu Design

alchaincyf · Skill

Turns a one-line request in your AI agent into a finished design: a launch animation, a clickable app prototype, an editable slide deck, an infographic or a se…

New29.4k

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

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

Similar in Developer

See all in Developer

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

open-code-review

alibaba · Kit

Reviews Git changes with an AI agent that reads files and searches the codebase, then writes comments tied to exact lines. It suits developers who want automat…

New50.7k