← back to catalog · registered 2026-08-22 13:56

tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated

tpls Gemma 12B
Your rig guess connected
? Why do I need an app?
Reading your rig…

This is a rough estimate. Install the free app - we'll show exact numbers.

Reading real hardware from your app right now. Numbers below are exact.

Below is the per-quantization compatibility for this model.

curl -H "Authorization: Bearer $ABL_KEY" \
     "https://abliteration.org/api/v1/models/tpls%2Fgemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated"
Response includes
  • classification m1
  • files 14
  • hub_downloads_all_time 852
  • author_summary 6 models
  • readme_text full
10 credits · hourly refresh · ~4 KB payload Get an API key →
Abliteration classifier · v1.0.0
M1
Primary method

Direct removal

No other method signals detected in this model.
Confidence
MEDIUM
Why this label 3 signals
Method inferred from partial signals - repository name, related files, or tag patterns. Producer identity not confirmed; label may sharpen or shift as we gather more evidence.
  • 'abliterated' in name/tags
  • is_gguf=0 (base model)
  • no specific method indicators - defaulting to M1 (most common)
Refusal direction extracted via
Extraction technique

Difference-of-means

Confidence
MEDIUM
Why we say so
primary_method=M1; difference-of-means is the reference extraction for M1/M3 (Arditi 2024)
Downloads · lifetime
852
152 last 30d - stable
Likes
0
Descendants
1
in 1 direct fork
Model age
3mo ago
created 2026-06-26
Downloads over time
Now875→from502↑74%
483626769912502 on Jun 24875 on Oct 11JunJulAugSepOct
Jun 24 → Oct 11 · 55 snapshots · spans 109 days

Genealogy 1 direct fork

Full fork graph →

This model's place in the market. Above: what it was derived from. Below: the tree of everything derived from it.

Variants by this author 2 formats · 1K downloads combined

The same weights this author released in different packaging. Pick the format that matches your runtime.

Metadata

License
gemma
Languages
en
Tags
safetensors gemma4_unified gemma4 code text-generation function-calling tool-use agentic abliterated uncensored conversational en

Related

Total size
22.3 GB
Files
14
Quantizations
1
Registered
2026-08-22 13:56
Last updated on HF
2026-06-26 13:58

Files by quantization

Auxiliary files 14 files 22.3 GB
model-00004-of-00005.safetensors 4.64 GB bb649f9d download
model-00002-of-00005.safetensors 4.63 GB 24922f35 download
model-00001-of-00005.safetensors 4.62 GB 0232f9ea download
model-00003-of-00005.safetensors 4.55 GB eb485949 download
model-00005-of-00005.safetensors 3.84 GB 79ed0666 download
tokenizer.json 30.7 MB cc8d3a0c download
model.safetensors.index.json 64.8 KB 752efb73 download
README.md 7.00 KB 717e416f download
config.json 4.24 KB 02136bf8 download
tokenizer_config.json 2.75 KB 1ceff27e download
.gitattributes 2.14 KB 21d2055f download
processor_config.json 1.35 KB b889adcd download
chat_template.jinja 353 B b73b737d download
generation_config.json 255 B 1cfc051b download

README current version from Hugging Face


base_model: tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5
base_model_relation: finetune
pipeline_tag: text-generation
language:

  • en
    license: gemma
    quantized_by: triplezrobotics
    tags:
  • gemma4
  • code
  • text-generation
  • function-calling
  • tool-use
  • agentic
  • abliterated
  • uncensored
    model-index:
  • name: Gemma-4 12B Coder — SFT v5 + abliterated (weights)
    results:
    • task:
      type: text-generation
      name: Function calling (tool use)
      dataset:
      name: gemma4-coder-tool-eval
      type: tpls/gemma4-coder-tool-eval
      metrics:
      • type: pass_rate
        value: 1.0
        name: Tool-call pass rate (shim, prod path)
      • type: pass_rate
        value: 0.125
        name: Tool-call pass rate (raw llama.cpp --jinja)

Gemma-4 12B Coder — SFT v5 + abliterated (weights)

Uncensored gemma-4 12B coder weights (safetensors) — for fine-tuning, merging, or quantizing.

Ready-to-serve GGUF quants: tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated-GGUF.

⚠️ Tool-calling needs the recovery shim. The model emits gemma-4's native tool markup, which llama.cpp --jinja under-parses — wrap your endpoint with the tool-shim (see Tool-calling below) to get standard tool_calls.

💡 Pick this for the best of both: SFT v5's tool-calling and an uncensored model — our KL-guarded abliteration applied on top of SFT v5 (no capability loss).

At a glance

Type Model weights (safetensors)
Techniques sft-qlora → abliteration
Tool-calling ✅ 100% gate pass (recovery-shim path)
Status ✅ Active / supported
Use GGUF quants: tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated-GGUF

Use it — GGUF quantizations

Ready-to-serve GGUF quants live at tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-abliterated-GGUF
(llama.cpp / Ollama one-liners on that card). These are the safetensors weights, for
fine-tuning / merging / quantizing.

Tool-calling

Tool-calling works — but llama.cpp --jinja doesn't recognise gemma-4's native
tool-call markup, so the bare parser under-reports calls. The model is fine; the
parser is blind to the format. Recover standard tool_calls with a small serve-side
post-processor (no weight change, no latency beyond a regex scan).

Ready-to-use → tpls/gemma4-tool-shim — a drop-in
callback for OpenAI-compatible proxies, a standalone (dependency-free) example, and the pure
parser, all Apache-2.0, with the full recovery algorithm documented. Point your
OpenAI-compatible endpoint through it.

You send tools the usual OpenAI way (tools=[…]); the model emits native markup; the
shim turns it into a standard tool_calls object:

# model completion (raw):
<|tool_call>get_weather{"city": "Paris", "units": "celsius"}
// after the shim:
{"finish_reason": "tool_calls",
 "message": {"role": "assistant", "content": null,
   "tool_calls": [{"id": "call_0", "type": "function",
     "function": {"name": "get_weather", "arguments": "{\"city\": \"Paris\", \"units\": \"celsius\"}"}}]}}

Tool-calling gate

tool_eval.sh (8 hand-picked cases: 7 tool + 1 abstain) — Q4_K_M served on llama.cpp --jinja, TOOLS_IN_PROMPT=1, temp 0; SHIM = prod gemma_tool_parse path

The rows are this model under two parse paths (raw and shim); the shim path is how it's served in production.

Measured on Pass rate
this model — raw (--jinja) 0.125
this model — shim (prod path) 1.000

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 the refusal direction has been ablated from the weights — 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

Step Technique What it does Provenance
1 sft-qlora QLoRA supervised fine-tune to keep + improve native tool-calling —
2 abliteration refusal-direction ablation edits the weights to remove refusals tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5

1. sft-qlora

  • tools_mode: mixed (xLAM schemas folded; conditional taught)

2. abliteration

weight ablation degrades the canonical <|tool_call> token — the model tends to leak calls as text markup, so the native llama.cpp parser may not fire. See the tool-call recovery note below to get structured calls back.

Training data, hyperparameters & environment

The supervised fine-tune (sft-qlora step above) is inherited from
Gemma-4 12B Coder — SFT v5 (weights) — see that card
for the full training mix, exact hyperparameters, and pinned environment. The remaining
step(s) above are what this model adds on top; their measured effect is below.

Other measured metrics

Metric Value
kl_divergence 0.001
n_trials 100.000
refusals 3.000

Part of the Gemma-4 12B Coder — active collection.

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

README history 5 versions

The author's README evolved over time. Click a version to see its content at that point.

  1. 2026-06-26card: mechanics + lineage + collection (hf_reorg)0b752c77 KB
    Loading...
  2. 2026-06-26card: mechanics + lineage + collection (hf_reorg)a32780a7 KB
    Loading...
  3. 2026-06-26card: mechanics + lineage + collection (hf_reorg)4bd904c6.6 KB
    Loading...
  4. 2026-06-26card: mechanics + lineage + collection (hf_reorg)1eedf8e7.2 KB
    Loading...
  5. 2026-06-26abliterated bf16 (tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5, KL_MAX...06d8501715 B
    Loading...
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration