gemma-4-E2B-it-q4f32_1-MLC
This is Google's Gemma 4 E2B instruction-tuned model in MLC format q4f32_1.
It supports text generation and audio input in WebLLM 0.2.86. This package contains the text and audio weights; vision weights are excluded.
The package uses mlc-model-manifest.json and the matching libraries in binary-mlc-llm-libs/web-llm-models/v0_2_86.
Its default context window is 4,096 tokens, with a prefill chunk size of 512. Audio input is limited to 30 seconds per clip.
The q4f32_1 variant does not require WebGPU's shader-f16 feature.
WebLLM usage
import { CreateMLCEngine } from "@mlc-ai/web-llm";
const engine = await CreateMLCEngine("gemma-4-E2B-it-q4f32_1-MLC");
const response = await engine.chat.completions.create({
messages: [{ role: "user", content: "What is two plus two?" }],
});
console.log(response.choices[0].message.content);
Build sources
- Model:
3e22461f65e8. - TVM:
be03dc94b001. - MLC-LLM:
42fa855891fc.
mlc-build-info.json records the full revisions and source weight checksum.
See the upstream model card for model capabilities, evaluations, and limitations, and the WebLLM documentation for runtime usage.