Downloads · 30 days
13
2% of all-time downloads
simaai/Gemma-2-2B-it-Autoround-Safetensors
Gemma-2-2B-it-Autoround-Safetensors is a text generation model from simaai. Use it when you need the model to write or continue text. It is set up for transformers. The card lists the license as gemma.
This is a post-training quantized version of google/gemma-2-2b-it, prepared as a Hugging Face checkpoint for LLiMa compilation and deployment on Sima.ai hardware.
Downloads · 30 days
13
2% of all-time downloads
All-time downloads
556
Public
Parameters
3.2B
5.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.5 GB · 98%
How the weights are stored.
I322.6B · 82%
From the Hugging Face model README
This is a post-training quantized version of
google/gemma-2-2b-it,
prepared as a Hugging Face checkpoint for LLiMa compilation and deployment on
Sima.ai hardware.
Source revision: 299a8560bedf22ed1c72a8a11e7dce4a7f9f51f8
This checkpoint remains subject to the source model's license, intended-use guidance, and limitations.
| Component | Method | Weight format | Details |
|---|---|---|---|
| Decoder Linear layers | AutoRound | symmetric INT4, G256 | 182 targets; lm_head excluded; 200 iterations |
lm_head | GPTQ | symmetric INT4, G256 | static act-order; block size 128; dampening 0.01 |
| Mixed-precision exceptions | Source precision | BF16 | Embeddings, norms, and non-Linear operations |
Calibration used the first 512 examples from
HuggingFaceH4/ultrachat_200k train_sft, in deterministic order. Messages
were rendered with the model chat template and packed into 512 complete
1,024-token spans. AutoRound batch size was 1. Calibration shuffling was
disabled; the effective ordering is therefore deterministic.
Perplexity used the full wikitext-2-raw-v1 test split through the wikitext
lm-eval task, without an example limit.
| Checkpoint | Word perplexity | Status |
|---|---|---|
| Source checkpoint | 17.152318 | Full run: 2026-07-19 |
| This UltraChat checkpoint | 19.344819 | Full run: 2026-07-19 |
| Absolute degradation vs source | +2.192501 | Lower is better |
| Relative degradation vs source | +12.78% | 100 * (quantized / source - 1) |
Raw JSON evidence is retained under perplexity_results/full_wikitext/.
Finite-scale validation and a Transformers chat-generation smoke test passed on 2026-07-19.
This directory includes the exact quantize.py, recipe.yaml, and
versions.txt used for this artifact:
python quantize.py \
--model-path /path/to/models--google--gemma-2-2b-it \
--output-dir /path/to/Gemma-2-2B-it-Autoround-Safetensors
See versions.txt for the exact environment:
Python: 3.13.2
torch: 2.11.0+cu128
CUDA: 12.8
transformers: 5.10.1
llm-compressor: 0.12.0
auto-round: 0.13.0
compressed-tensors: 0.17.1
This is the pre-LLiMa quantized Hugging Face artifact. Compile it with the appropriate LLiMa release and keep compiler output separate from this checkpoint. No upload is authorized as part of the current local batch.
Quantization can affect quality, especially for tasks unlike the calibration data. Validate this checkpoint for the intended language, domain, prompt format, context length, safety requirements, and deployment runtime.