Instructions to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- llama.cpp
How to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with llama.cpp:
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh # Start a local OpenAI-compatible server with a web UI: llama serve -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M # Run inference directly in the terminal: llama cli -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Install from WinGet (Windows)
winget install llama.cpp # Start a local OpenAI-compatible server with a web UI: llama serve -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M # Run inference directly in the terminal: llama cli -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Use pre-built binary
# Download pre-built binary from: # https://github.com/ggerganov/llama.cpp/releases # Start a local OpenAI-compatible server with a web UI: ./llama-server -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M # Run inference directly in the terminal: ./llama-cli -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Build from source code
git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp cmake -B build cmake --build build -j --target llama-server llama-cli # Start a local OpenAI-compatible server with a web UI: ./build/bin/llama-server -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M # Run inference directly in the terminal: ./build/bin/llama-cli -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Use Docker
docker model run hf.co/tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
- LM Studio
- Jan
- vLLM
How to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
- Ollama
How to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with Ollama:
ollama run hf.co/tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
- Unsloth Desktop
- Pi
How to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with Pi:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Configure the model in Pi
# Install Pi: npm install -g @earendil-works/pi-coding-agent # Add to ~/.pi/agent/models.json: { "providers": { "llama-cpp": { "baseUrl": "http://localhost:8080/v1", "api": "openai-completions", "apiKey": "none", "models": [ { "id": "tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M" } ] } } }Run Pi
# Start Pi in your project directory: pi
- Docker Model Runner
How to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with Docker Model Runner:
docker model run hf.co/tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
- Lemonade
How to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with Lemonade:
Pull the model
# Download Lemonade from https://lemonade-server.ai/ lemonade pull tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Run and chat with the model
lemonade run user.gemma-4-12B-coder-fable5-composer2.5-v1-steer-Q5_K_M
List all available models
lemonade list
- Hermes Agent
How to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with Hermes Agent:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Configure Hermes
# Install Hermes: curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash hermes setup # Point Hermes at the local server: hermes config set model.provider custom hermes config set model.base_url http://127.0.0.1:8080/v1 hermes config set model.default tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Run Hermes
hermes
- Atomic Chat
- OpenClaw
How to use tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer with OpenClaw:
Start the llama.cpp server
# Install llama.cpp: brew install llama.cpp # Start a local OpenAI-compatible server: llama serve -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M
Configure OpenClaw
# Install OpenClaw: npm install -g openclaw@latest # Register the local server and set it as the default model: openclaw onboard --non-interactive --mode local \ --auth-choice custom-api-key \ --custom-base-url http://127.0.0.1:8080/v1 \ --custom-model-id "tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M" \ --custom-provider-id llama-cpp \ --custom-compatibility openai \ --custom-text-input \ --accept-risk \ --skip-health
Run OpenClaw
openclaw agent --local --agent main --message "Hello from Hugging Face"
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.
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
| Type | GGUF quantizations · llama.cpp / Ollama |
| Techniques | activation-steering → imatrix-quant |
| Tool-calling | native token preserved (no shim) — but see deprecation |
| Status | ⚠️ Deprecated → tpls/gemma-4-12B-coder-fable5-composer2.5-v1-sft-v5-GGUF |
| Use | llama-server -hf tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer:Q5_K_M --jinja |
Use it
# 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.
| Quant | Notes |
|---|---|
Q5_K_M |
higher 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
- base (upstream) —
yuxinlu1/gemma-4-12B-coder-fable5-composer2.5-v1
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 | activation-steering |
a control vector uncensors at inference WITHOUT editing the weights | yuxinlu1/gemma-4-12B-coder-fable5-composer2.5-v1 |
| 2 | imatrix-quant |
llama.cpp quantization with an importance matrix (imatrix) | — |
1. activation-steering
no weight edit → the canonical tool token survives, so bare
--jinjaworks (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:
| Step | Tool / setting |
|---|---|
| quantizer | llama.cpp tools image ghcr.io/ggml-org/llama.cpp:full |
| convert | convert_hf_to_gguf.py → f16 GGUF |
| imatrix | llama-imatrix over the calibration set (CPU forward pass) |
| quantize | llama-quantize --imatrix, token-embeddings + output tensor kept at f16 |
The image is the rolling
:fulltag, not a digest — for byte-exact reproduction pin the image digest you build with. Theimatrix-quantstep 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.
- Downloads last month
- 60
5-bit
Model tree for tpls/gemma-4-12B-coder-fable5-composer2.5-v1-steer
Base model
google/gemma-4-12B