Upload folder using huggingface_hub
Browse files- models/people_Boris_Becker_uce_000/README.md +121 -0
- models/people_Boris_Becker_uce_000/images/Forget - An image of Boris Becker.png +3 -0
- models/people_Boris_Becker_uce_000/images/Forget - An picture of Boris Becker in the rain.png +3 -0
- models/people_Boris_Becker_uce_000/images/Forget - An picture of Boris Becker running.png +3 -0
- models/people_Boris_Becker_uce_000/images/Forget - Photograph of Boris Becker; high definition.png +3 -0
- models/people_Boris_Becker_uce_000/images/Retain - An image of a child.png +3 -0
- models/people_Boris_Becker_uce_000/images/Retain - An picture of a child in the rain.png +3 -0
- models/people_Boris_Becker_uce_000/images/Retain - An picture of a child running.png +3 -0
- models/people_Boris_Becker_uce_000/images/Retain - Photograph of a child; high definition.png +3 -0
- models/people_Boris_Becker_uce_000/uce_sd_weights.safetensors +3 -0
models/people_Boris_Becker_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: Boris Becker
|
| 9 |
+
guide_concepts: people
|
| 10 |
+
preserve_concepts: people
|
| 11 |
+
expand_prompts: false
|
| 12 |
+
output_dir: assets/models/people_Boris_Becker_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: 28.337270736694336
|
| 27 |
+
name: ForgetSet clip score of original model mean (~β)
|
| 28 |
+
- type: clip
|
| 29 |
+
value: 2.1300061208198953
|
| 30 |
+
name: ForgetSet clip score of original model std (~β)
|
| 31 |
+
- type: clip
|
| 32 |
+
value: 26.55109739303589
|
| 33 |
+
name: ForgetSet clip score of unlearned model mean (β)
|
| 34 |
+
- type: clip
|
| 35 |
+
value: 3.7583154297045294
|
| 36 |
+
name: ForgetSet clip score of unlearned model std (~β)
|
| 37 |
+
- type: clip
|
| 38 |
+
value: 1.7861733436584473
|
| 39 |
+
name: ForgetSet clip score difference between original and unlearned mean (β)
|
| 40 |
+
- type: clip
|
| 41 |
+
value: 3.724173412923013
|
| 42 |
+
name: ForgetSet clip score difference between original and unlearned std (~β)
|
| 43 |
+
- type: clip
|
| 44 |
+
value: 29.46440076828003
|
| 45 |
+
name: RetainSet clip score of original model mean (~β)
|
| 46 |
+
- type: clip
|
| 47 |
+
value: 1.2246386976501804
|
| 48 |
+
name: RetainSet clip score of original model std (~β)
|
| 49 |
+
- type: clip
|
| 50 |
+
value: 31.381918907165527
|
| 51 |
+
name: RetainSet clip score of unlearned model mean (β)
|
| 52 |
+
- type: clip
|
| 53 |
+
value: 2.038827536797029
|
| 54 |
+
name: RetainSet clip score of unlearned model std (~β)
|
| 55 |
+
- type: clip
|
| 56 |
+
value: -1.917518138885498
|
| 57 |
+
name: RetainSet clip score difference between original and unlearned mean (β)
|
| 58 |
+
- type: clip
|
| 59 |
+
value: 0.829923298275652
|
| 60 |
+
name: RetainSet clip score difference between original and unlearned std (~β)
|
| 61 |
+
- type: runtime
|
| 62 |
+
value: 1.0035234292348227
|
| 63 |
+
name: Inference latency seconds mean (β)
|
| 64 |
+
- type: runtime
|
| 65 |
+
value: 0.005481156523345093
|
| 66 |
+
name: Inference latency seconds std (~β)
|
| 67 |
+
- task:
|
| 68 |
+
type: text-to-image
|
| 69 |
+
dataset:
|
| 70 |
+
name: '[''Boris Becker''] (forget) and [''people''] (retain) sets'
|
| 71 |
+
type: forget-and-retain-together
|
| 72 |
+
metrics:
|
| 73 |
+
- type: runtime
|
| 74 |
+
value: 0.0006084442138671875
|
| 75 |
+
name: Runtime init seconds (~β)
|
| 76 |
+
- type: runtime
|
| 77 |
+
value: 5.9604644775390625e-06
|
| 78 |
+
name: Runtime data loading seconds (~β)
|
| 79 |
+
- type: runtime
|
| 80 |
+
value: 1.2567205429077148
|
| 81 |
+
name: Runtime training seconds (β)
|
| 82 |
+
- type: runtime
|
| 83 |
+
value: 66.52398300170898
|
| 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 Boris Becker 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_Boris_Becker_uce_000/images/Forget - An image of Boris Becker.png
ADDED
|
Git LFS Details
|
models/people_Boris_Becker_uce_000/images/Forget - An picture of Boris Becker in the rain.png
ADDED
|
Git LFS Details
|
models/people_Boris_Becker_uce_000/images/Forget - An picture of Boris Becker running.png
ADDED
|
Git LFS Details
|
models/people_Boris_Becker_uce_000/images/Forget - Photograph of Boris Becker; high definition.png
ADDED
|
Git LFS Details
|
models/people_Boris_Becker_uce_000/images/Retain - An image of a child.png
ADDED
|
Git LFS Details
|
models/people_Boris_Becker_uce_000/images/Retain - An picture of a child in the rain.png
ADDED
|
Git LFS Details
|
models/people_Boris_Becker_uce_000/images/Retain - An picture of a child running.png
ADDED
|
Git LFS Details
|
models/people_Boris_Becker_uce_000/images/Retain - Photograph of a child; high definition.png
ADDED
|
Git LFS Details
|
models/people_Boris_Becker_uce_000/uce_sd_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:dc4a316d05b00c14f9a3e1f3d8410453e29ca9ef10b7060b8e04e2309999ff92
|
| 3 |
+
size 76681464
|