Views
No views yet
florianvoss/Gemma-4-E2B-it-TextOnly,
prepared as a Hugging Face causal-language-model checkpoint for LLiMa
compilation and deployment on Sima.ai hardware. Vision and audio components are
not included.| Component | Method | Weight format | Details |
|---|---|---|---|
| Language-model Linear layers | GPTQ | symmetric INT4, G256 | Static act-order; retained from the source GPTQ artifact |
lm_head | GPTQ | symmetric INT4, G256 | Retained from the source artifact |
| Embeddings, norms, and non-Linear operations | Source precision | BF16 | Language-only tensors retained |
| Vision and audio components | Removed | — | Not part of this checkpoint |
quantize.py is a direct TextOnly reproduction recipe. It targets
all language Linear modules, including lm_head, with GPTQ INT4/G256 and
static act-order. It uses the first 512
HuggingFaceH4/ultrachat_200k train_sft conversations in deterministic
order, rendered with the Gemma chat template and truncated to 1,024 tokens.
That script creates a newly calibrated direct-GPTQ checkpoint; it is not the
operation that produced the present extracted weights.validation.json; 277 finite quantization scales were
checked.1python quantize.py \
2 --model-path /path/to/Gemma-4-E2B-it-TextOnly \
3 --output-dir /path/to/Gemma-4-E2B-it-TextOnly-GPTQ-Safetensorsversions.txt for the exact environment:1Python: 3.13.2
2torch: 2.11.0+cu128
3CUDA: 12.8
4transformers: 5.10.1
5llm-compressor: 0.12.0
6compressed-tensors: 0.17.1