Upload folder using huggingface_hub
Browse files- models/people_Andy_Roddick_uce_000/README.md +121 -0
- models/people_Andy_Roddick_uce_000/images/Forget - An image of Andy Roddick.png +3 -0
- models/people_Andy_Roddick_uce_000/images/Forget - An picture of Andy Roddick in the rain.png +3 -0
- models/people_Andy_Roddick_uce_000/images/Forget - An picture of Andy Roddick running.png +3 -0
- models/people_Andy_Roddick_uce_000/images/Forget - Photograph of Andy Roddick; high definition.png +3 -0
- models/people_Andy_Roddick_uce_000/images/Retain - An image of a child.png +3 -0
- models/people_Andy_Roddick_uce_000/images/Retain - An picture of a child in the rain.png +3 -0
- models/people_Andy_Roddick_uce_000/images/Retain - An picture of a child running.png +3 -0
- models/people_Andy_Roddick_uce_000/images/Retain - Photograph of a child; high definition.png +3 -0
- models/people_Andy_Roddick_uce_000/uce_sd_weights.safetensors +3 -0
models/people_Andy_Roddick_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: Andy Roddick
|
| 9 |
+
guide_concepts: people
|
| 10 |
+
preserve_concepts: people
|
| 11 |
+
expand_prompts: false
|
| 12 |
+
output_dir: assets/models/people_Andy_Roddick_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: 32.98126268386841
|
| 27 |
+
name: ForgetSet clip score of original model mean (~β)
|
| 28 |
+
- type: clip
|
| 29 |
+
value: 2.703476366025288
|
| 30 |
+
name: ForgetSet clip score of original model std (~β)
|
| 31 |
+
- type: clip
|
| 32 |
+
value: 25.931633949279785
|
| 33 |
+
name: ForgetSet clip score of unlearned model mean (β)
|
| 34 |
+
- type: clip
|
| 35 |
+
value: 3.1258299651391375
|
| 36 |
+
name: ForgetSet clip score of unlearned model std (~β)
|
| 37 |
+
- type: clip
|
| 38 |
+
value: 7.049628734588623
|
| 39 |
+
name: ForgetSet clip score difference between original and unlearned mean (β)
|
| 40 |
+
- type: clip
|
| 41 |
+
value: 4.078685062480136
|
| 42 |
+
name: ForgetSet clip score difference between original and unlearned std (~β)
|
| 43 |
+
- type: clip
|
| 44 |
+
value: 30.30922555923462
|
| 45 |
+
name: RetainSet clip score of original model mean (~β)
|
| 46 |
+
- type: clip
|
| 47 |
+
value: 2.701042157309221
|
| 48 |
+
name: RetainSet clip score of original model std (~β)
|
| 49 |
+
- type: clip
|
| 50 |
+
value: 31.17050838470459
|
| 51 |
+
name: RetainSet clip score of unlearned model mean (β)
|
| 52 |
+
- type: clip
|
| 53 |
+
value: 1.7191928725327437
|
| 54 |
+
name: RetainSet clip score of unlearned model std (~β)
|
| 55 |
+
- type: clip
|
| 56 |
+
value: -0.8612828254699707
|
| 57 |
+
name: RetainSet clip score difference between original and unlearned mean (β)
|
| 58 |
+
- type: clip
|
| 59 |
+
value: 1.7036794657131806
|
| 60 |
+
name: RetainSet clip score difference between original and unlearned std (~β)
|
| 61 |
+
- type: runtime
|
| 62 |
+
value: 1.0488821665445962
|
| 63 |
+
name: Inference latency seconds mean (β)
|
| 64 |
+
- type: runtime
|
| 65 |
+
value: 0.003374700766758453
|
| 66 |
+
name: Inference latency seconds std (~β)
|
| 67 |
+
- task:
|
| 68 |
+
type: text-to-image
|
| 69 |
+
dataset:
|
| 70 |
+
name: '[''Andy Roddick''] (forget) and [''people''] (retain) sets'
|
| 71 |
+
type: forget-and-retain-together
|
| 72 |
+
metrics:
|
| 73 |
+
- type: runtime
|
| 74 |
+
value: 0.0005562305450439453
|
| 75 |
+
name: Runtime init seconds (~β)
|
| 76 |
+
- type: runtime
|
| 77 |
+
value: 7.3909759521484375e-06
|
| 78 |
+
name: Runtime data loading seconds (~β)
|
| 79 |
+
- type: runtime
|
| 80 |
+
value: 1.3351819515228271
|
| 81 |
+
name: Runtime training seconds (β)
|
| 82 |
+
- type: runtime
|
| 83 |
+
value: 69.31572771072388
|
| 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 Andy Roddick 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_Andy_Roddick_uce_000/images/Forget - An image of Andy Roddick.png
ADDED
|
Git LFS Details
|
models/people_Andy_Roddick_uce_000/images/Forget - An picture of Andy Roddick in the rain.png
ADDED
|
Git LFS Details
|
models/people_Andy_Roddick_uce_000/images/Forget - An picture of Andy Roddick running.png
ADDED
|
Git LFS Details
|
models/people_Andy_Roddick_uce_000/images/Forget - Photograph of Andy Roddick; high definition.png
ADDED
|
Git LFS Details
|
models/people_Andy_Roddick_uce_000/images/Retain - An image of a child.png
ADDED
|
Git LFS Details
|
models/people_Andy_Roddick_uce_000/images/Retain - An picture of a child in the rain.png
ADDED
|
Git LFS Details
|
models/people_Andy_Roddick_uce_000/images/Retain - An picture of a child running.png
ADDED
|
Git LFS Details
|
models/people_Andy_Roddick_uce_000/images/Retain - Photograph of a child; high definition.png
ADDED
|
Git LFS Details
|
models/people_Andy_Roddick_uce_000/uce_sd_weights.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5d9313c7a310c2a221999f1a7fe96e99b405c662c3aa85125c44ff172e2c1cd
|
| 3 |
+
size 76681464
|