Views
No views yet
florianvoss/Gemma-4-E4B-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 |
HuggingFaceH4/ultrachat_200k train_sft conversations, rendered with the
Gemma chat template, truncated to 1,024 tokens, and processed in deterministic
dataset order.quantize.py reproduces the prequantize model directly
from the Gemma4 TextOnly source. It targets all 344 Linear
modules, including lm_head, with GPTQ INT4/G256, static act-order, block size
128, and dampening fraction 0.01. It contains the Gemma4 shared-KV replay fix
required during sequential GPTQ calibration and has no vision/audio loading or
targeting code.1python quantize.py \
2 --model-path /path/to/Gemma-4-E4B-it-TextOnly \
3 --output-dir /path/to/Gemma-4-E4B-it-TextOnly-GPTQ-Safetensorsversions.txt for the exact Python, CUDA, Torch, Transformers,
llm-compressor, and compressed-tensors versions.