Upload folder using huggingface_hub
Browse files- models/people_Clay_Aiken_uce_000/README.md +121 -0
- models/people_Clay_Aiken_uce_000/images/Forget - An image of Clay Aiken.png +3 -0
- models/people_Clay_Aiken_uce_000/images/Forget - An picture of Clay Aiken in the rain.png +3 -0
- models/people_Clay_Aiken_uce_000/images/Forget - An picture of Clay Aiken running.png +3 -0
- models/people_Clay_Aiken_uce_000/images/Forget - Photograph of Clay Aiken; high definition.png +3 -0
- models/people_Clay_Aiken_uce_000/images/Retain - An image of a child.png +3 -0
- models/people_Clay_Aiken_uce_000/images/Retain - An picture of a child in the rain.png +3 -0
- models/people_Clay_Aiken_uce_000/images/Retain - An picture of a child running.png +3 -0
- models/people_Clay_Aiken_uce_000/images/Retain - Photograph of a child; high definition.png +3 -0
- models/people_Clay_Aiken_uce_000/uce_sd_weights.safetensors +3 -0
models/people_Clay_Aiken_uce_000/README.md
ADDED
|
@@ -0,0 +1,121 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
hyperparameters:
|
| 3 |
+
pretrained_model_name_or_path: CompVis/stable-diffusion-v1-4
|
| 4 |
+
erase_scale: 0.9
|
| 5 |
+
preserve_scale: 0.4
|
| 6 |
+
lamb: 0.5
|
| 7 |
+
save_entire_model: false
|
| 8 |
+
edit_concepts: Clay Aiken
|
| 9 |
+
guide_concepts: people
|
| 10 |
+
preserve_concepts: people
|
| 11 |
+
expand_prompts: false
|
| 12 |
+
output_dir: assets/models/people_Clay_Aiken_uce_000
|
| 13 |
+
device: cuda
|
| 14 |
+
compute_runtimes: true
|
| 15 |
+
hub_model_id: null
|
| 16 |
+
model-index:
|
| 17 |
+
- name: None
|
| 18 |
+
results:
|
| 19 |
+
- task:
|
| 20 |
+
type: text-to-image
|
| 21 |
+
dataset:
|
| 22 |
+
name: Forget set
|
| 23 |
+
type: inline-prompts
|
| 24 |
+
metrics:
|
| 25 |
+
- type: clip
|
| 26 |
+
value: 27.824500560760498
|
| 27 |
+
name: ForgetSet clip score of original model mean (~β)
|
| 28 |
+
- type: clip
|
| 29 |
+
value: 1.8489684157260642
|
| 30 |
+
name: ForgetSet clip score of original model std (~β)
|
| 31 |
+
- type: clip
|
| 32 |
+
value: 27.563536167144775
|
| 33 |
+
name: ForgetSet clip score of unlearned model mean (β)
|
| 34 |
+
- type: clip
|
| 35 |
+
value: 0.6473523712842162
|
| 36 |
+
name: ForgetSet clip score of unlearned model std (~β)
|
| 37 |
+
- type: clip
|
| 38 |
+
value: 0.26096439361572266
|
| 39 |
+
name: ForgetSet clip score difference between original and unlearned mean (β)
|
| 40 |
+
- type: clip
|
| 41 |
+
value: 2.155117153332647
|
| 42 |
+
name: ForgetSet clip score difference between original and unlearned std (~β)
|
| 43 |
+
- type: clip
|
| 44 |
+
value: 31.1106276512146
|
| 45 |
+
name: RetainSet clip score of original model mean (~β)
|
| 46 |
+
- type: clip
|
| 47 |
+
value: 1.3728299494406715
|
| 48 |
+
name: RetainSet clip score of original model std (~β)
|
| 49 |
+
- type: clip
|
| 50 |
+
value: 31.70279884338379
|
| 51 |
+
name: RetainSet clip score of unlearned model mean (β)
|
| 52 |
+
- type: clip
|
| 53 |
+
value: 2.4883405957841784
|
| 54 |
+
name: RetainSet clip score of unlearned model std (~β)
|
| 55 |
+
- type: clip
|
| 56 |
+
value: -0.5921711921691895
|
| 57 |
+
name: RetainSet clip score difference between original and unlearned mean (β)
|
| 58 |
+
- type: clip
|
| 59 |
+
value: 1.4605145416434702
|
| 60 |
+
name: RetainSet clip score difference between original and unlearned std (~β)
|
| 61 |
+
- type: runtime
|
| 62 |
+
value: 0.9986350138982136
|
| 63 |
+
name: Inference latency seconds mean (β)
|
| 64 |
+
- type: runtime
|
| 65 |
+
value: 0.0025935927895912006
|
| 66 |
+
name: Inference latency seconds std (~β)
|
| 67 |
+
- task:
|
| 68 |
+
type: text-to-image
|
| 69 |
+
dataset:
|
| 70 |
+
name: '[''Clay Aiken''] (forget) and [''people''] (retain) sets'
|
| 71 |
+
type: forget-and-retain-together
|
| 72 |
+
metrics:
|
| 73 |
+
- type: runtime
|
| 74 |
+
value: 0.0004992485046386719
|
| 75 |
+
name: Runtime init seconds (~β)
|
| 76 |
+
- type: runtime
|
| 77 |
+
value: 5.7220458984375e-06
|
| 78 |
+
name: Runtime data loading seconds (~β)
|
| 79 |
+
- type: runtime
|
| 80 |
+
value: 1.2759041786193848
|
| 81 |
+
name: Runtime training seconds (β)
|
| 82 |
+
- type: runtime
|
| 83 |
+
value: 66.26074194908142
|
| 84 |
+
name: Runtime eval seconds (~β)
|
| 85 |
+
---
|
| 86 |
+
|
| 87 |
+
<!-- This model card has been generated automatically according to the information the training script had access to. You
|
| 88 |
+
should probably proofread and complete it, then remove this comment. -->
|
| 89 |
+
|
| 90 |
+
|
| 91 |
+
# LoRA text2image fine-tuning - None
|
| 92 |
+
These are LoRA adaption weights for CompVis/stable-diffusion-v1-4.
|
| 93 |
+
The weights were fine-tuned for forgetting Clay Aiken dataset, while retaining people.
|
| 94 |
+
You can find some example images in the following.
|
| 95 |
+
|
| 96 |
+

|
| 97 |
+

|
| 98 |
+

|
| 99 |
+

|
| 100 |
+

|
| 101 |
+

|
| 102 |
+

|
| 103 |
+

|
| 104 |
+
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
## Intended uses & limitations
|
| 108 |
+
|
| 109 |
+
#### How to use
|
| 110 |
+
|
| 111 |
+
```python
|
| 112 |
+
# TODO: add an example code snippet for running this diffusion pipeline
|
| 113 |
+
```
|
| 114 |
+
|
| 115 |
+
#### Limitations and bias
|
| 116 |
+
|
| 117 |
+
[TODO: provide examples of latent issues and potential remediations]
|
| 118 |
+
|
| 119 |
+
## Training details
|
| 120 |
+
|
| 121 |
+
[TODO: describe the data used to train the model]
|
models/people_Clay_Aiken_uce_000/images/Forget - An image of Clay Aiken.png
ADDED
|
Git LFS Details
|
models/people_Clay_Aiken_uce_000/images/Forget - An picture of Clay Aiken in the rain.png
ADDED
|
Git LFS Details
|
models/people_Clay_Aiken_uce_000/images/Forget - An picture of Clay Aiken running.png
ADDED
|
Git LFS Details
|
models/people_Clay_Aiken_uce_000/images/Forget - Photograph of Clay Aiken; high definition.png
ADDED
|
Git LFS Details
|
models/people_Clay_Aiken_uce_000/images/Retain - An image of a child.png
ADDED
|
Git LFS Details
|
models/people_Clay_Aiken_uce_000/images/Retain - An picture of a child in the rain.png
ADDED
|
Git LFS Details
|
models/people_Clay_Aiken_uce_000/images/Retain - An picture of a child running.png
ADDED
|
Git LFS Details
|
models/people_Clay_Aiken_uce_000/images/Retain - Photograph of a child; high definition.png
ADDED
|
Git LFS Details
|
models/people_Clay_Aiken_uce_000/uce_sd_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de83b8abb47375a39a530d811ab60c0e683e1f59006ca61fc012aeb0f459aedf
|
| 3 |
+
size 76681464
|