File size: 751 Bytes
316b7a6 ea56362 80af78d 316b7a6 7057762 316b7a6 ea56362 7057762 17369f1 316b7a6 7057762 80af78d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | ---
title: Gemma 4 - text only for lower memory use
emoji: 👁
colorFrom: blue
colorTo: purple
sdk: static
pinned: false
short_description: Gemma 4 E2B/E4B. WebGPU & uses mediapipe/tasks-genai
models:
- litert-community/gemma-4-E2B-it-litert-lm
- litert-community/gemma-4-E4B-it-litert-lm
- huggingworld/gemma-4-E2B-it-litert-lm
- huggingworld/gemma-4-E4B-it-litert-lm
---
Source code from [MediaPipe Samples](https://github.com/google-ai-edge/mediapipe-samples/tree/main/examples/llm_inference/llm_chat_ts/), simplified for Gemma 4 by removing authentication code and changing templates.
For more information, see [MediaPipe Web LLM Inference API reference documentation](https://ai.google.dev/edge/mediapipe/solutions/genai/llm_inference/web_js) |