GraySoft
Projects Models Compare Cloud benchmarks FAQ Download guIDE โ†’
Model Intelligence Sheet

Abiray/gemma-4-12B-coder-fable5-composer2.5-v1-GGUF overview

๐Ÿ’ป Gemma4 12B Coder GGUF โ€” Composer 2.5 ร— Fable 5 โœจ ๐Ÿฃ Tiny footprint, big brain โ€” a local coding model for everyone No matter your GPU. No matter your RAM. Ifโ€ฆ

ggufgemma4codingcodereasoningthinkingllama.cpplocal-llmtext-generationbase_model:yuxinlu1/gemma-4-12B-coder-fable5-composer2.5-v1-GGUFbase_model:quantized:yuxinlu1/gemma-4-12B-coder-fable5-composer2.5-v1-GGUFlicense:apache-2.0endpoints_compatibleregion:usimatrixconversational

Runs locally from ~5.15 GB disk (8 GB VRAM class GPUs with llama.cpp / guIDE).

Downloads
0
Likes
7
Pipeline
text-generation
Author

Repository Files & Downloads

7 GGUF files detected
Direct downloads for local inference
FileTypeQuantizationSizeLink
gemma-4-12B-coder-fable5-composer2.5-v1-IQ4_XS.ggufGGUFIQ4_XS6.18 GBDownload
gemma-4-12B-coder-fable5-composer2.5-v1-Q3_K_M.ggufGGUFQ3_K_M5.67 GBDownload
gemma-4-12B-coder-fable5-composer2.5-v1-Q3_K_S.ggufGGUFQ3_K_S5.15 GBDownload
gemma-4-12B-coder-fable5-composer2.5-v1-Q4_K_M.ggufGGUFQ4_K_M6.87 GBDownload
gemma-4-12B-coder-fable5-composer2.5-v1-Q5_K_M.ggufGGUFQ5_K_M7.96 GBDownload
gemma-4-12B-coder-fable5-composer2.5-v1-Q6_K.ggufGGUFQ6_K9.11 GBDownload
gemma-4-12B-coder-fable5-composer2.5-v1-Q8_0.ggufGGUFQ8_011.80 GBDownload

Model Details

Model IDAbiray/gemma-4-12B-coder-fable5-composer2.5-v1-GGUF
AuthorAbiray
Pipelinetext-generation
Licenseapache-2.0
Base modelyuxinlu1/gemma-4-12B-coder-fable5-composer2.5-v1-GGUF
Last modified2026-06-18T16:59:18.000Z

Model README

---

license: apache-2.0

base_model: yuxinlu1/gemma-4-12B-coder-fable5-composer2.5-v1-GGUF

library_name: gguf

pipeline_tag: text-generation

tags: [gemma4, coding, code, reasoning, thinking, gguf, llama.cpp, local-llm]

---

๐Ÿ’ป Gemma4-12B-Coder (GGUF) โ€” Composer 2.5 ร— Fable 5 โœจ

๐Ÿฃ Tiny footprint, big brain โ€” a local coding model for everyone

> No matter your GPU. No matter your RAM. If you've got ~5.5 GB of VRAM or unified memory free,

> you can run your own private, offline coding assistant right now. ๐Ÿš€

> This is the v1 / code edition โ€” distilled from real chain-of-thought so it thinks through a problem

> before writing the solution. ๐Ÿง ๐Ÿ’ป All local, all yours, no API, no cloud.

๐ŸŽฏ What it is

A focused fine-tune of Gemma 4 12B on verifiable Python coding data โ€” every training example's reasoning leads to

code that actually passed its tests. The result reasons in the open (edge cases, complexity, approach) and then

emits a clean, runnable solution. ๐Ÿ’š

---

๐Ÿ“ฃ Context length fixed: now 256K (was 131K) โ€” thanks, community! ๐Ÿ’š

A community member spotted that this model was reporting only a 131K context window. That turned out to be

the well-known upstream Gemma 4 metadata bug โ€” Google's initial config.json shipped with

max_position_embeddings: 131072 instead of the real 262144 (256K), and that value got baked into a lot of

downstream finetunes and quants (including this one) before it was fixed upstream.

The weights were always fine โ€” it was purely a metadata field. **All GGUF quants in this repository have been fully re-patched to the

full 256K context** (gemma4.context_length = 262144). Just re-download if you grabbed an earlier copy. ๐Ÿ™

---

๐Ÿ“š Training data (the interesting part ๐Ÿณ)

This is a distillation of two complementary chain-of-thought sources, both over verifiable Python coding tasks

(algorithmic / function-level problems that come with deterministic tests):

  • *๐Ÿฅ‡ Main set โ€” Composer 2.5 real CoT.* Genuine, model-authored reasoning traces. The teacher solved each problem,

its code was run against the task's tests, and only the passing solutions were kept. So the reasoning you're

learning from leads to code that actually works.

  • ๐Ÿฅˆ Aux set โ€” Fable 5 (released today! ๐ŸŽ‰). A clever twist: we took the problems where Composer 2.5 got it wrong

and handed them to Fable 5 to redo โ€” re-deriving a fresh, self-consistent chain-of-thought and a correct

solution, again gated on passing the tests. This recovers the hard cases the main teacher missed. These traces

are synthetic (rationalized CoT), and are tagged separately so the two sources stay distinguishable.

The recipe: real CoT for the bulk of solid coverage, plus synthetic "second-attempt" CoT to patch the failures โ€”

both verified by execution before anything entered training. โœ…

---

๐Ÿ“ฆ Pick your size (GGUF quants)

All files follow the standardized gemma-4-12B-coder-fable5-composer2.5-v1-(quant_name).gguf naming convention.

| Quant filename | Size | Vibe |

|------|------|------|

| ๐ŸŸข gemma-4-12B-coder-fable5-composer2.5-v1-Q3_K_S.gguf | 5.53 GB | Smallest available โ€” solid for tight memory profiles |

| ๐ŸŸก gemma-4-12B-coder-fable5-composer2.5-v1-Q3_K_M.gguf | 6.09 GB | Good balance for 8 GB total system/VRAM configurations |

| ๐Ÿ”ต gemma-4-12B-coder-fable5-composer2.5-v1-IQ4_XS.gguf | 6.64 GB | Sub-4-bit performance optimization via I-quantization |

| ๐Ÿ”ต gemma-4-12B-coder-fable5-composer2.5-v1-Q4_K_M.gguf | 7.38 GB | The ultimate sweet spot ๐Ÿ‘Œ (highly recommended) |

| ๐ŸŸฃ gemma-4-12B-coder-fable5-composer2.5-v1-Q5_K_M.gguf | 8.55 GB | Excellent trade-off between preservation and weight size |

| ๐ŸŸฃ gemma-4-12B-coder-fable5-composer2.5-v1-Q6_K.gguf | 9.79 GB | Near-lossless precision representation |

| โšช gemma-4-12B-coder-fable5-composer2.5-v1-Q8_0.gguf | 12.70 GB | Maximum precision, basically full teacher quality |

---

๐Ÿงฎ "Will it fit?" โ€” context length cheat-sheet

Rough estimates ๐Ÿค“ (assumes q8_0 KV cache + ~1.5 GB overhead; use q4_0 KV cache for โ‰ˆ2ร— more context!).

Max context is 256K. "โ€”" = won't fit, pick a smaller quant. โœ‚๏ธ

| Your VRAM / unified mem | ๐ŸŸข Q3_K_S / M (~5.5-6G) | ๐Ÿ”ต IQ4_XS / Q4_K_M (~6.6-7.4G) | ๐ŸŸฃ Q5_K_M / Q6_K (~8.5-9.8G) | โšช Q8_0 (12.7G) |

|---|---|---|---|---|

| 8 GB | ~12K ctx | tight (~2โ€“4K) | โ€” | โ€” |

| 12 GB | ~40K | ~30K | ~12K | โ€” |

| 16 GB | ~75K | ~64K | ~44K | ~22K |

| 24 GB | ~180K | ~128K | ~110K | ~88K |

| 32 GB | 256K (max) ๐ŸŽ‰ | 256K | ~230K | ~190K |

> ๐Ÿ’ก Apple Silicon / integrated GPUs with unified memory count too โ€” same numbers, just slower than a dGPU.

> ๐Ÿ’ก Low on room? Drop a quant or switch KV cache to q4_0 and your context roughly doubles.

---

๐Ÿš€ How to run it (super easy)

Option A โ€” llama.cpp (recommended) ๐Ÿฆ™

  1. Grab a quant above (e.g. gemma-4-12B-coder-fable5-composer2.5-v1-Q4_K_M.gguf) and llama-server from llama.cpp.

> โš ๏ธ Needs a recent llama.cpp (this uses the updated gemma4_unified architecture โ€” older builds won't load it).

  1. Run a server (Windows .bat shown โ€” tweak --port, --ctx-size to taste):
@echo off
cd /d C:\llama.cpp
llama-server.exe ^
  -m C:\models\gemma-4-12B-coder-fable5-composer2.5-v1-Q4_K_M.gguf ^
  --ctx-size 16384 ^
  --n-gpu-layers 99 ^
  --no-mmap ^
  -fa on ^
  --cache-type-k q8_0 --cache-type-v q8_0 ^
  --temp 1.0 --top-p 0.95 --top-k 64 ^
  --host 0.0.0.0 --port 18080
pause
  1. Open http://localhost:18080 and chat. ๐ŸŽ‰ (Tip: bump --ctx-size per the table; use q4_0 KV for more.)

Option B โ€” one-click apps ๐Ÿ–ฑ๏ธ

Works in LM Studio, Jan, Ollama, etc. โ€” just import the local GGUF file manually, select your quant level, and launch. ๐Ÿพ

๐Ÿง  Thinking mode

This model thinks in Gemma's native thought channel before answering โ€” exactly how it was trained. Keep

enable_thinking=true (the default chat template handles it). Recommended sampling: temp 1.0, top_p 0.95, top_k 64.

For coding tasks you can also go greedy (temp 0) for more deterministic, structured solutions.

---

โš ๏ธ Good to know

  • Reduced refusals: the training data is task-focused with no safety hedging, so this refuses less than the base

model. It is not safety-aligned โ€” add your own guardrails for production environments. Use responsibly. ๐Ÿ™

  • Specialized for Python / algorithmic coding. Reasoning quality is strongest in that domain; general-knowledge

facts/numbers should still be double-checked.

  • English-centric.

---

๐Ÿ“š Base & License

  • License: Apache 2.0. Gemma 4 is released by Google under

Apache 2.0 (unlike the older Gemma 1/2/3 terms), so this fine-tune is

Apache 2.0 too โ€” free to use, modify, and redistribute. ๐ŸŽ‰

  • Base model: google/gemma-4-12B-it.
  • Personal/hobby project โ€” shared as-is, no warranty. Have fun, and happy hacking! ๐Ÿพโœจ

Run Abiray/gemma-4-12B-coder-fable5-composer2.5-v1-GGUF with guIDE

Download guIDE โ€” the AI-native code editor with local LLM inference and 69 built-in tools.

Download guIDE โ†’ ยท Browse 524k+ models ยท Compare models

Source: Hugging Face ยท Compare models