Gemma 3 1B IT β gemma3-js Mobile W4A32
Independent quantized conversion of Google Gemma 3 1B IT, not a newly trained or fine-tuned model. Intended for gemma3-js v0.2.1 or later, WebGPU only; not compatible with Transformers loading.
Modifications
Derived from the Reference FP32 export at https://huggingface.co/NZM0/gemma3-js-1b-it using python/convert_mobile.py. Matrix weights use symmetric group-32 INT4 with FP32 scales (20 bytes per group); normalization, accumulation and KV cache remain FP32. The tied embedding/head is stored in 32 packed chunks. Tokenizer metadata is converted from the original Gemma tokenizer.
Usage
Open the gemma3-js WebGPU chat and select Hugging Face (Mobile INT4). Alternatively download the repository and select its local folder. WebGPU and sufficient memory are required. The model runs on the client, not an HF inference endpoint.
Provenance and validation
- Original model: google/gemma-3-1b-it
- Reference export revision/checkpoint hash: see PROVENANCE.json if present; verify against the original export before publishing.
- Converter: gemma3-js v0.2.0
python/convert_mobile.py. - Local Mobile inference was observed on Mac M4 and iPhone 16e during development. Remote loading of this exact upload is not yet verified. SHA256SUMS records staged file hashes, not inference parity.
Terms
Model and tokenizer materials are subject to the Gemma Terms of Use and incorporated Gemma Prohibited Use Policy, including Section 3.2 restrictions. Recipients must comply with these restrictions and applicable laws. Full texts accompany this repository in TERMS.md and PROHIBITED_USE_POLICY.md; see Notice. The separately authored runtime uses 0BSD, which does not license these model materials.
Independent conversion; not affiliated with or endorsed by Google.