Views
No views yet
wnfldchen/gemma-4-31B-it-qat-q4_0-unquantized-heretic. The original
adapter repo is intentionally left intact; this repo bakes that selected
Heretic edit into the base weights.wnfldchen/gemma-4-31B-it-qat-w4a16-ct-heretic-merged-direct.[!TIP] This model is reproducible!See the README in thereproducedirectory for more information. This repo was exported withexport_strategy=merge, so it does not require loading a separate LoRA adapter at inference time.
| Parameter | Value |
|---|---|
| trial | 6 |
| target_components | attn.o_proj |
| ara_lora_rank | 256 |
| start_layer_index | 24 |
| end_layer_index | 54 |
| preserve_good_behavior_weight | 0.1182 |
| steer_bad_behavior_weight | 0.0050 |
| overcorrect_relative_weight | 0.8715 |
| neighbor_count | 15 |
| Metric | This model | Original model (google/gemma-4-31B-it-qat-q4_0-unquantized) |
|---|---|---|
| Keywords | 8/100 | 99/100 |
| KL divergence | 0.0900 | 0 (by definition) |
wnfldchen/gemma-4-31B-it-qat-w4a16-ct-heretic-merged-direct, against the official Google W4A16 base,
google/gemma-4-31B-it-qat-w4a16-ct. The benchmark artifacts are archived with
the reproduction output.| Benchmark | Samples | Metric | Official W4A16 base | Heretic merged W4A16 | Delta |
|---|---|---|---|---|---|
| PIQA | 1,838 | acc_norm | 55.71% | 55.01% | -0.71 pp |
| WinoGrande | 1,267 | accuracy | 50.99% | 50.83% | -0.16 pp |
| CommonsenseQA | 1,221 | accuracy | 23.26% | 23.10% | -0.16 pp |
| EQ-Bench | 171 | score | 42.54 | 46.59 | +4.05 |
| EQ-Bench parseability | 171 | percent_parseable | 83.04% | 78.36% | -4.68 pp |
google/gemma-4-31B-it-qat-q4_0-unquantized1e4d8beecacb8b7590c1d8bedd7335f687bf311fwnfldchen/gemma-4-31B-it-qat-q4_0-unquantized-heretic8cce1a7166cd2b109886feff15ee12a78cc3177bee47df2fbdd61d8d3a67910ea58c45f91e868917export_strategy=merge and model_action=savesafetensors shards1from transformers import AutoProcessor, Gemma4UnifiedForConditionalGeneration
2
3repo_id = "wnfldchen/gemma-4-31B-it-qat-q4_0-unquantized-heretic-merged"
4
5processor = AutoProcessor.from_pretrained(repo_id)
6model = Gemma4UnifiedForConditionalGeneration.from_pretrained(
7 repo_id,
8 device_map="auto",
9)