Downloads ยท 30 days
38
6% of all-time downloads
netarmy007/gemma-4-12B-coder-fable5-composer2.5-v1-GGUF
gemma-4-12B-coder-fable5-composer2.5-v1-GGUF is a text generation model from netarmy007. 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.
No matter your GPU. No matter your RAM. If you've got ~4.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 chโฆ
Downloads ยท 30 days
38
6% of all-time downloads
All-time downloads
673
Public
Repo size
75.4 GB
Likes
0
Public
Click a slice to open those files.
.gguf40.8 GB ยท 100%
From the Hugging Face model README
No matter your GPU. No matter your RAM. If you've got ~4.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.
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. ๐
๐ safetensors (full-precision) upload coming. A lot of you want the safetensors master so you can roll your own quants / MLX builds โ it's on the way. My home Verizon connection keeps auto-dropping the upload partway through (it died on me again last night ๐ค), so I'm heading to a Starbucks / library to push it through on a faster line. Thanks for the patience! ๐
๐ Big news โ v2 is almost here! Initial training of v2 is done, and it's now in benchmarking + final QA. I had Claude help me dig through a huge stack of the latest papers, and I'll be applying the newest methods to see how much further I can push it. ๐ So many of you flagged the agentic issues โ so this time I significantly increased the dataset (especially the agentic data). v2 is focused on agentic + coding. Stay tuned โ releasing this Friday or Saturday (US Pacific time)! ๐
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 have been re-patched to the
full 256K context (gemma4.context_length = 262144). Just re-download if you grabbed an earlier copy. ๐
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):
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. โ
| Quant | Size | Vibe |
|---|---|---|
| ๐ข Q2_K | 4.5 GB | tiniest โ runs almost anywhere |
| ๐ก Q3_K_M | 5.7 GB | great for 8 GB VRAM โ much better than Q2 |
| ๐ต Q4_K_M | 6.87 GB | the sweet spot ๐ (recommended) |
| ๐ฃ Q6_K | 9.11 GB | near-lossless |
| โช Q8_0 | 11.8 GB | basically full quality |
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 | ๐ข Q2_K (4.5G) | ๐ก Q3_K_M (5.7G) | ๐ต Q4_K_M (6.87G) | ๐ฃ Q6_K (9.11G) | โช Q8_0 (11.8G) |
|---|---|---|---|---|---|
| 8 GB | ~16K ctx | ~10K | tight (~2โ4K) | โ | โ |
| 12 GB | ~48K | ~38K | ~30K | ~12K | โ |
| 16 GB | ~80K | ~72K | ~64K | ~44K | ~22K |
| 24 GB | ~200K | ~160K | ~128K | ~110K | ~88K |
| 32 GB | 256K (max) ๐ | 256K | 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_0and your context roughly doubles.
โฆ-Q4_K_M.gguf) and llama-server from llama.cpp.
โ ๏ธ Needs a recent llama.cpp (this is the
gemma4_unifiedarchitecture โ older builds won't load it).
.bat shown โ tweak --port, --ctx-size to taste):@echo off
cd /d C:\llama.cpp
llama-server.exe ^
-m C:\models\gemma4-coding-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
http://localhost:18080 and chat. ๐ (Tip: bump --ctx-size per the table; use q4_0 KV for more.)Works in LM Studio, Jan, Ollama, etc. โ just import the GGUF, pick your quant, go. ๐พ
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 you can also go greedy (temp 0) for more deterministic solutions.
google/gemma-4-12B-it.