Downloads · 30 days
91
2% of all-time downloads
KikoCis/gemma-4-31b-it-IQ3_XS-GGUF
gemma-4-31b-it-IQ3_XS-GGUF is a text generation model from KikoCis. Use it when you need the model to write or continue text. It is set up for gguf. The card lists the license as apache-2.0.
Gemma 4 31B Instruct quantized to IQ3XS (3.40 BPW, 13.1GB) using llama.cpp with importance matrix calibration on CLI/package management data.
Downloads · 30 days
91
2% of all-time downloads
All-time downloads
4.5K
Public
Repo size
13.1 GB
Likes
1
Public
Click a slice to open those files.
.gguf13.1 GB · 100%
From the Hugging Face model README
Gemma 4 31B Instruct quantized to IQ3_XS (3.40 BPW, 13.1GB) using llama.cpp with importance matrix calibration on CLI/package management data.
Matches f16 baseline on Char-F1 (84.76%) at 1/4.7 the size (50-example NL2Bash benchmark).
💡 Looking for the smallest possible variant?
Try our gemma-4-31b-it-IQ2_M-GGUF — 10.17 GB with F1 84.71% and BLEU-4 22.39 (beats f16 at 6× smaller). Custom CLI-tuned imatrix on IQ2_M.
| Metric | Value |
|---|---|
| Base model | google/gemma-4-31b-it |
| Quantization | IQ3_XS (3.40 BPW) |
| Size | 13.1 GB |
| Layers | 60 (full model, no pruning) |
| NL2Bash Char-F1 | 84.76% (= f16 baseline) |
| CLI 7/7 | 7/7 with thinking enabled |
50 examples from the official Stanford/Tellina test split, reasoning OFF, max_tokens=200, temp=0.1, sorted by Char-F1.
| Model | Size | BPW | Char-F1 | BLEU-1 | BLEU-2 | BLEU-4 | EM |
|---|---|---|---|---|---|---|---|
| Unsloth UD-IQ3_XXS | 11.84 GB | ~2.98 | 85.06% | 46.30 | 34.64 | 20.26 | 12% |
| Base f16 (full precision) | 61.4 GB | 16.0 | 84.76% | 43.94 | 33.84 | 21.02 | 12% |
| Base IQ3_XS (this model) | 13.1 GB | 3.40 | 84.76% | 42.77 | 31.46 | 18.95 | 8% |
| ✨ Sibling IQ2_M (CLI imatrix) | 10.17 GB | 2.84 | 84.71% | 44.72 | 34.36 | 22.39 | 12% |
| Unsloth UD-IQ2_M | 10.75 GB | ~2.70 | 84.02% | 42.38 | 31.73 | 18.64 | 10% |
| Unsloth UD-IQ2_XXS | 8.53 GB | ~2.06 | 76.82% | 33.03 | 22.17 | 11.49 | 0% |
| Base Q2_K (3rd party) | 11.0 GB | 2.70 | 58.60% | 18.82 | 12.79 | 6.92 | 0% |
Full per-question predictions + layer analysis study: https://huggingface.co/datasets/KikoCis/gemma4-31b-layer-study
Tested with llama-cli -cnv --reasoning on --reasoning-budget 512:
| Test | Result |
|---|---|
| Install neofetch on Void Linux | sudo xbps-install -S neofetch |
| Install htop on Ubuntu | sudo apt install htop |
| Search ripgrep on Arch | pacman -Ss ripgrep |
| Search packages on Void | xbps-query -S <package_name> |
| Add cargo to PATH in zsh | echo 'export PATH="$HOME/.cargo/bin:$PATH"' >> ~/.zshrc |
| Install jq on macOS | brew install jq |
| Grep TODO in /var/www | grep -r "TODO" /var/www |
# llama.cpp with thinking
llama-cli -m gemma4-31b-IQ3_XS.gguf -cnv -ngl 99 --ctx-size 8192 \
--reasoning on --reasoning-budget 512
# Ollama
cat > Modelfile << 'EOF'
FROM ./gemma4-31b-IQ3_XS.gguf
PARAMETER temperature 0.1
PARAMETER num_ctx 8192
EOF
ollama create gemma4-31b-iq3xs -f Modelfile
convert_hf_to_gguf.pyTellinaTool/nl2bash)-p prompt, --reasoning off, --ctx-size 4096, --max-tokens 200, --temp 0.1Benchmark scores do not predict agent capability. In Docker-based autonomous testing, fine-tuned E4B models (95% BFCL) scored 0/10 while the unfine-tuned base scored 6/10. Fine-tuning for BFCL destroyed general reasoning (error recovery, strategy adaptation, anti-repetition). Fine-tuned E4B models have been withdrawn.
For autonomous agent tasks, use the base Gemma 4 model or a larger model at higher BPW. See: The Benchmark Trap — Full Study