utsavz commited on
Commit
f65ea90
·
verified ·
1 Parent(s): c89305e

model card

Browse files
Files changed (1) hide show
  1. README.md +26 -0
README.md ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: gemma
3
+ base_model: google/gemma-3-4b-it
4
+ tags: [gemma3, safety, weight-space-patching, vlguard]
5
+ ---
6
+ # gemma3_4b_wsp_fable_fable
7
+
8
+ Gemma 3 4B-it (`google/gemma-3-4b-it` @ `093f9f388b31de276ce2de164bdc2081324b9767`, BF16) edited by gradient-free
9
+ two-stage Weight-Space Patching for multimodal safety (VLGuard). Run **E4**: Stage 1 (where to edit) = Fable 5.2,
10
+ Stage 2 (how to edit) = Fable 5.2, both at medium effort.
11
+
12
+ **This checkpoint is the run's Complementary WSP model** (`complementary:comp_f_rev060_h1114`).
13
+ Only direct weight edits; 5,794,210 parameter elements differ from the base model.
14
+
15
+ VLGuard test (1,558 records, greedy, 512 new tokens, keyword/regex refusal proxy):
16
+ harmful compliance 27/1000,
17
+ benign over-refusal 36/558,
18
+ generation failures 0/1558.
19
+ Research artifact; refusal judged by a keyword proxy, single run per configuration. Use subject to the Gemma terms of use.
20
+
21
+ ```python
22
+ import torch
23
+ from transformers import Gemma3ForConditionalGeneration, AutoProcessor
24
+ model = Gemma3ForConditionalGeneration.from_pretrained("utsavz/gemma3_4b_wsp_fable_fable", dtype=torch.bfloat16)
25
+ processor = AutoProcessor.from_pretrained("utsavz/gemma3_4b_wsp_fable_fable")
26
+ ```