ToastyPigeon commited on
Commit
69b7d98
·
verified ·
1 Parent(s): bc86bbe

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +23 -12
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
- Per-weight **contrastive style-Fisher ratios** for style-aware 31B merges (J-line / target-side style mask).
7
 
8
- Each subfolder holds a `style_ratio.pt` (bf16, target LM-linear keys only: q/k/v/o_proj + mlp
9
- gate/up/down in `language_model.layers.*`) + `ratio_layer_summary.json`.
 
 
 
 
 
10
 
11
- `r_w = F_A / (F_A + F_B)`, where `F_M = relu(Fisher(M under S+ style prompt) - Fisher(M under S-))`
12
- over matched generations. `r_w > 0.5` => weight carries more good-style signal in model A;
13
- neutral 0.5 below a combined-Fisher floor. Consumed by `04_merge_style.py` (trim-then-weight TIES).
 
14
 
15
- Pipeline: `instruct_mask/style_mask_j1/`. Public so multiple ~35GB masks fit without private-storage limits.
16
- Initialized 2026-05-29T01:01:19Z.
 
 
 
 
 
 
 
 
 
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.