Sungjun Cho commited on
Commit
8ccf64c
·
verified ·
1 Parent(s): 23be7e3

Upload README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. README.md +56 -0
README.md ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ base_model: runwayml/stable-diffusion-v1-5
4
+ tags:
5
+ - stable-diffusion
6
+ - diffusion-models
7
+ - machine-unlearning
8
+ - unlearncanvas
9
+ ---
10
+
11
+ # FADE UnlearnCanvas -- SalUn unlearned checkpoints
12
+
13
+ Stable Diffusion checkpoints after applying **Saliency Unlearning (SalUn)**
14
+ ([SalUn reference implementation](https://github.com/OPTML-Group/Unlearn-Saliency)) to unlearn a
15
+ single artistic style from the UnlearnCanvas full (50-style) checkpoint. One
16
+ checkpoint per forgotten style.
17
+
18
+ ## Files
19
+
20
+ | File | Description |
21
+ |---|---|
22
+ | `salun_monet.safetensors` | Monet forgotten |
23
+ | `salun_picasso.safetensors` | Picasso forgotten |
24
+ | `salun_van_gogh.safetensors` | Van Gogh forgotten |
25
+
26
+ ## Evaluation
27
+
28
+ These checkpoints were evaluated with FADE against the retain-only oracle checkpoints
29
+ (see `nike7788/fade-unlearncanvas-retain-seed{0,1,2}`) and with UnlearnCanvas's own
30
+ accuracy/FID metrics. See the project repo for numbers and evaluation scripts.
31
+
32
+
33
+ ## About FADE
34
+
35
+ FADE (Forget-Ability via Divergence Estimate) is a metric for evaluating machine
36
+ unlearning in diffusion models: it generates images from an unlearned model and a
37
+ retain-only oracle, then measures a variational upper bound on the KL divergence
38
+ between the two models' output distributions on those images. See the project repo
39
+ for the full method and evaluation code: the project's public GitHub repo (link forthcoming -- not yet published as of this checkpoint's upload)
40
+
41
+ This checkpoint is a fine-tune of Stable Diffusion v1.5, built on the
42
+ [UnlearnCanvas](https://github.com/OPTML-Group/UnlearnCanvas) dataset/benchmark
43
+ (Zhang et al., 2024). It inherits Stable Diffusion's CreativeML OpenRAIL-M license --
44
+ see the license file for the specific use-based restrictions that apply.
45
+
46
+ ## Loading
47
+
48
+ ```python
49
+ import torch
50
+ from safetensors.torch import load_file
51
+
52
+ state_dict = load_file("<downloaded_file>.safetensors")
53
+ # merge into a CompVis-format LDM model, e.g. via UnlearnCanvas's
54
+ # ldm.util.instantiate_from_config, then:
55
+ # model.load_state_dict(state_dict, strict=False)
56
+ ```