Downloads · 30 days
76
47% of all-time downloads
UtopiaIA/Elffuss-Gemma4-E4B-litert
Elffuss-Gemma4-E4B-litert is a machine learning model from UtopiaIA. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for litert-lm. The card lists the license as gemma.
A .litertlm build of Gemma-4 E4B lightly healed to be the local brain of the Elffuss family — in-browser agentic tools where apps don't exist, they're generated. It runs fully client-side on WebGPU via Google's LiteRT…
Downloads · 30 days
76
47% of all-time downloads
All-time downloads
161
Public
Repo size
8.2 GB
Likes
0
Public
Click a slice to open those files.
.litertlm4.1 GB · 100%
From the Hugging Face model README
A .litertlm build of Gemma-4 E4B lightly healed to be the local brain of the Elffuss family — in-browser agentic tools where apps don't exist, they're generated. It runs fully client-side on WebGPU via Google's LiteRT-LM runtime (@litert-lm/core), so nothing leaves the user's machine.
Base model © Google — google/gemma-4-e4b-it, under the Gemma license. This is a derivative: a small task-alignment heal + conversion to
.litertlm. Weights are otherwise Google's.
Aligned to Elffuss's exact three-mode contract, so a small model reliably does the right thing:
<canvas>/WebGL for anything visual). No CDNs, no network — it runs in a sandboxed iframe instantly.```tool block with valid JSON (fs.*, tasks.add, memory.save, web.fetch, …).Held-out check (prompts not in training): it generalizes — e.g. "hazme un juego de asteroides" → a novel, self-contained canvas game; "recuérdame en 30 minutos llamar a mamá" → {"tool":"tasks.add","args":{"inMinutes":30,"prompt":"llamar a mamá"}}. It learned the format and style, not the training examples.
model.litertlm — LiteRT-LM bundle (tokenizer + model + metadata), int4 weights (dynamic_wi4_afp32), ~4 GB. Text-generation task (the base's vision/audio towers are not exported).@litert-lm/core, Engine.create) on WebGPU (Chrome/Edge). Recommended hardware: a GPU with ≥24 GB.import { Engine } from 'https://cdn.jsdelivr.net/npm/@litert-lm/core/+esm';
const engine = await Engine.create({
model: 'https://huggingface.co/KikoCis/Elffuss-Gemma4-E4B-litert/resolve/main/model.litertlm',
mainExecutorSettings: { maxNumTokens: 4096 },
});
const conv = await engine.createConversation({ preface: { messages: [{ role: 'system', content: ELFFUSS_SYSTEM }] } });
for await (const chunk of conv.sendMessageStreaming('hazme una app de pomodoro')) { /* stream */ }
.litertlm required patching a transformers-version incompatibility in the public litert-torch tooling (patch shipped in scripts/litert_patch.py); the produced bundle validates with litert-lm-peek.