CoolFace
Modelpublic

tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer

sourceHugging Facegemmaupdated 3mo agoView on Hugging Face
0likes72downloads
Model Card

Gemma-4 12B Coder — activation-steered (GGUF + control vector, deprecated)

⚠️ Deprecated — do not use for new work. control-vector steering proved unreliable — the strength that removes refusals also destabilises tool-calling and coherence, and the repo mixes a base GGUF with the vector. Use the abliterated line (uncensored, stable) or SFT v5 (the tool-calling winner). Replaced by [`tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-GGUF`](https://huggingface.co/tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-GGUF).

Uncensored gemma-4 12B coder for local, agentic tool use — GGUF quantizations for llama.cpp / Ollama.

Run it: llama-server -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M --jinja (full commands below).

At a glance

TypeGGUF quantizations · llama.cpp / Ollama
Techniquesactivation-steering → imatrix-quant
Tool-callingnative token preserved (no shim) — but see deprecation
Status⚠️ Deprecated → `tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-GGUF`
Usellama-server -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M --jinja

Use it

bash
# llama.cpp (server) — tool-calling needs the recovery shim, see below
llama-server -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M --jinja --ctx-size 16384

# Ollama
ollama run hf.co/tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M

Files

Sizes and a one-click loader are in the file browser / Quantizations widget above; the note says which quant to reach for.

QuantNotes
Q5_K_Mhigher quality, ~9.5 GB
coder

Intended use & limitations

Built for code generation and agentic tool use; serve locally via llama.cpp / Ollama, or use as a base to fine-tune / merge / quantize. Outputs can be wrong or fabricated — validate tool arguments before executing, and keep a human in the loop for anything consequential.

⚠️ Uncensored. For this variant a control vector suppresses refusals at inference — safety guardrails are substantially removed and it will attempt requests a stock model would refuse. You are responsible for what you generate and how it's used; not suitable where refusal behaviour is itself a safety requirement.

Where this sits in the family


Provenance & reproduction

How this model was built — technique chain, training mix, and the exact knobs/pins, so the result is reproducible without any of our tooling.

Mechanics applied

StepTechniqueWhat it doesProvenance
1activation-steeringa control vector uncensors at inference WITHOUT editing the weightsyuxinlu1/gemma-4-12B-coder-fable5-composer2.5-v1
2imatrix-quantllama.cpp quantization with an importance matrix (imatrix)—
1. activation-steering
no weight edit → the canonical tool token survives, so bare --jinja works (no shim).
2. imatrix-quant
  • —calibration: code + tool-call markup
  • —embed/output: kept at f16 (protects tool-call logits)
  • —eog_patch: tokens 105/106 → EOG (bounds the <|turn> runaway)

Quantization environment

The GGUF bytes depend on the quantizer build, not just the weights — a different llama.cpp release rounds tensors differently and can change the convert mapping. Pins the toolchain these quants were produced with:

StepTool / setting
quantizerllama.cpp tools image ghcr.io/ggml-org/llama.cpp:full
convertconvert_hf_to_gguf.py → f16 GGUF
imatrixllama-imatrix over the calibration set (CPU forward pass)
quantizellama-quantize --imatrix, token-embeddings + output tensor kept at f16
The image is the rolling :full tag, not a digest — for byte-exact reproduction pin the image digest you build with. The imatrix-quant step above lists the calibration set and the EOG patch this build applied.

Part of the Gemma-4 12B Coder — archive (superseded) collection.

Something not right, or a request? Open a discussion — happy to help.