Downloads · 30 days
1.1K
19% of all-time downloads
EmanuelOverride/Gemma-4-26B-A4B-StyleTune-V2-APEX-GGUF
Gemma-4-26B-A4B-StyleTune-V2-APEX-GGUF is a text generation model from EmanuelOverride. 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.
This repository hosts a curated suite of APEX (Adaptive Precision for EXpert Models) configurations. This collection bridges the gap between the standard APEX layouts and experimental mixed-precision configurations, a…
Downloads · 30 days
1.1K
19% of all-time downloads
All-time downloads
5.7K
Public
Repo size
182 GB
Likes
1
Public
Click a slice to open those files.
.gguf148 GB · 100%
From the Hugging Face model README
This repository hosts a curated suite of APEX (Adaptive Precision for EXpert Models) configurations. This collection bridges the gap between the standard APEX layouts and experimental mixed-precision configurations, all specifically adjusted to adhere with the structural nuances and naming conventions of the Gemma 4 MoE architecture.
⚠️ Disclaimer: Some of these layouts are custom-crafted and experimental. All credit for the underlying architecture, style fine-tune, original model weights and so on, belongs entirely to the upstream authors and developers. The foundational imatrix data utilized across this suite was generated by mradermacher.
Q6 or a small Q3/Q4 config. This project largely aims for Q5-equivalent precision at a rough Q4+ memory footprint.The default APEX configurations.
12,052.38 MiB MiB (3.89 BPW) — Extremely nimble, stable low-VRAM baseline.13,341.05 MiB (4.31 BPW) — The all-rounder baseline sweet spot.19,436.36 MiB (6.28 BPW) — High-precision layer tracking with mid-expert compression.18,226.36 MiB (5.89 BPW) — Advanced Importance Quantization (iq4_xs/nl) core valley logic.Continuing to build on the APEX logic, while introducing additional tweaks.
Legacy attempt at an intermediary tier, using an upscaled Compact as base layout, while testing different types of mid-layer gradient setups. Versions Econ/Balanced no longer being considered as standard, leaving only one remaining variant.
14,996.94 MiB (4.84 BPW) — Stable, tested, high-performance configuration. Employs a [Q5_K -> Q4_K -> Q3_K] stepped gradient across the mid-layer experts while shielding context gates.The Harmonic layouts optimize layer contiguity, by following strict precision tiers across all 30 layers, and explicitly shield Global Attention (GA) layers from aggressive compression to anchor deep-context tracking.
14,853.74 MiB (4.80 BPW) — Experimental high-performance configuration. Condenses the architecture into 3 strict tiers (5/15/10). Shifts high-precision blocks to coincide with global attention pulses. In testing: Faster than Upscale.Premium, with better long-context detail attention.16,288.70 MiB (5.26 BPW) — Experimental high-precision configuration. Eliminates the Q3_K compression valley entirely to enforce a flat, 2-tier matrix (10/20). In testing: Replaces and outperforms Upscale.Balanced at slightly larger overhead, while shielding long-context detail attention.The Mindful layouts build on the Harmonic framework, balancing precision-tier distributions while implementing additional buffers around the GA-layers.
16,079.18 MiB (5.19 BPW) — Experimental Semantic Anchor. Follows 15/9/6 distribution. Trades uniform end-precision for comprehensive buffering of all Global Attention layers. Expectations: Slight edge in context stability and logical coherence under heavy prompt load.16,064.38 MiB (5.19 BPW) — Experimental Fluidity Engine. Built on a 16/7/7 topology. Trades early intermediate buffers for an uncompromised, clean high-precision runway across the final formatting layers. Expectations: Slight edge in inference speed and final execution.Please open a thread, share your experience, and post your impressions.
As promised, a slightly less wonky 26B-A4B Style Tune! Turns out you really shouldn't use this technique with multiple epochs. I delved deep into the data and found that a second epoch does all sorts of nasty stuff to MoE models, so V2 is a single epoch of an otherwise unchanged technique. The metrics have barely changed, but stability should be far, far better this time around!
Where V1 had a 54% reduction in cliches V2 offers 52%, but otherwise still an entirely new writing style, and the same Gemma 4 26B-A4B you already know underneath. One tensor changed out of 659. For realsies this time, I promise.
Also available in 31B version and a 12B version!
Normally when I finetune a model I train as much of it as possible, loading every tensor and transforming it to better approximate whatever's in my data. Not this time. This time I trained precisely one tensor: the lm_head output projection - the layer that decides which token to emit. Literally the last stop before text appears on your screen.
This specific tensor has a massive influence on a model's writing style, something I first discovered building MythoMax years ago. Gemma 31B (the first style tune) is a VRAM-hungry monster, so the question became: how do I have the maximum impact with the minimum hardware requirements?
The answer: freeze everything else. All 30 transformer layers, all the attention heads, all the MLPs — completely untouched. Only lm_head trains, which means VRAM requirements drop dramatically, training completes in a single overnight run on consumer hardware, and every single one of Gemma's capabilities remains fully intact. The model hasn't changed. Only the voice has, and it's done so in the best way possible. (Obligatory disclaimer: I might be biased towards my own data.)
I used the same data I had on me for my last Pantheon Reasoning release, with one notable exception - No instruct 24k set. 100% narrative data, certified cliché free.
Benchmarked against 200 diverse roleplay prompts versus the base instruct model:
Considering we're talking about narrative data it's hard to provide you with many other meaningful statistics - It's one of those "try it to understand it" kinda situations.
Everything else. All the reasoning capability, world knowledge, instruction following, and language understanding are completely intact - none of those live in lm_head. This isn't a full finetune. It's a targeted style replacement on a single tensor.
Whatever you prefer, Gemma seems remarkably flexible in that regard. I run with temp 1.0, 0.10 MinP and the DRY sampler.
Gemma 4's native chat template applies automatically.