Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,16 +1,27 @@
|
|
| 1 |
-
---
|
| 2 |
-
tags: [gemma-4, 31b, style-mask, fisher, j-line, merge]
|
| 3 |
-
---
|
| 4 |
-
# Esobold Style_Masks
|
| 5 |
|
| 6 |
-
|
| 7 |
|
| 8 |
-
|
| 9 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
|
|
|
| 14 |
|
| 15 |
-
|
| 16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Esobold Style Masks — J-line (2026-05-29)
|
|
|
|
|
|
|
|
|
|
| 2 |
|
| 3 |
+
Target-side per-weight **style masks** for Gemma-4-31B merges. Each `style_ratio.pt` is a dict `{linear_weight_key: r_w}` (bf16), where `r_w ∈ [0,1]` is the per-element interpolation weight toward model **A** vs model **B**, derived from a **contrastive teacher-forced Fisher**:
|
| 4 |
|
| 5 |
+
```
|
| 6 |
+
F_A = relu( Fisher(A | S+) − Fisher(A | S−) ) # style-salient weights of A
|
| 7 |
+
F_B = relu( Fisher(B | S+) − Fisher(B | S−) ) # style-salient weights of B
|
| 8 |
+
each normalized by its own global max (models have different Fisher scales)
|
| 9 |
+
r_w = F_A / (F_A + F_B + eps)
|
| 10 |
+
where (F_A+F_B) below the 50th-pct floor → r_w = 0.5 (neutral)
|
| 11 |
+
```
|
| 12 |
|
| 13 |
+
- **S+** = "good style" system prompt, **S−** = "slop" system prompt (see `system_prompts.json`).
|
| 14 |
+
- Generation: `transformers` greedy, thinking-OFF, 40 seeded prompts (Eso-5 genre set).
|
| 15 |
+
- 410 target LM-linear keys, 60 layers. `ratio_layer_summary.json` = per-layer mean r_w / mean F_A / mean F_B.
|
| 16 |
+
- `r_w > 0.5` → keep weight closer to **A**; `r_w < 0.5` → closer to **B**.
|
| 17 |
|
| 18 |
+
## `j1_iv_glimmer/` — the J-line style mask
|
| 19 |
+
- **A = Iv3** = Gv3-rebuilt ⊕ Equinox, TIES density 0.3 / scale 0.8, thinkfisher mask.
|
| 20 |
+
- **B = glimmer-on-Iv3** = toasty `glimmer-rp v0.1` LoRA folded onto Iv3.
|
| 21 |
+
- mean r_w **0.380** (leans toward glimmer). Purpose: inject glimmer's prose style into Iv3 while protecting instruct-Fisher directions.
|
| 22 |
+
|
| 23 |
+
## `gv3_equinox/` — Mask 2 (#74)
|
| 24 |
+
- **A = Gv3** (`Esobold/g4_31b_Gv3_Stage1`), **B = Equinox** (`LatitudeGames/Equinox-31B`).
|
| 25 |
+
- mean r_w **0.343** (leans toward Equinox).
|
| 26 |
+
|
| 27 |
+
The **stage-04 merge** that applies a mask runs separately (uses the IT-base instruct_fisher to protect instruction-following). Built on RunPod H100 NVL, 2026-05-29.
|