erfan-yahoo
commited on
Commit
•
031798c
1
Parent(s):
0d98195
Upload 16 files
Browse files- .gitattributes +4 -0
- controlnet/config.json +1 -1
- controlnet/diffusion_pytorch_model.safetensors +3 -0
- model_index.json +1 -1
- text_encoder/config.json +1 -1
- text_encoder/model.safetensors +3 -0
- tokenizer/special_tokens_map.json +5 -0
- tokenizer/tokenizer_config.json +7 -3
- unet/config.json +1 -1
- unet/diffusion_pytorch_model.safetensors +3 -0
- vae/config.json +1 -1
- vae/diffusion_pytorch_model.safetensors +3 -0
.gitattributes
CHANGED
@@ -2,3 +2,7 @@ controlnet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
|
2 |
text_encoder/pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
3 |
unet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
vae/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
2 |
text_encoder/pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
3 |
unet/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
4 |
vae/diffusion_pytorch_model.bin filter=lfs diff=lfs merge=lfs -text
|
5 |
+
controlnet/diffusion_pytorch_model.safetensors filter=lfs diff=lfs merge=lfs -text
|
6 |
+
text_encoder/model.safetensors filter=lfs diff=lfs merge=lfs -text
|
7 |
+
unet/diffusion_pytorch_model.safetensors filter=lfs diff=lfs merge=lfs -text
|
8 |
+
vae/diffusion_pytorch_model.safetensors filter=lfs diff=lfs merge=lfs -text
|
controlnet/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "ControlNetModel",
|
3 |
"_diffusers_version": "0.20.0.dev0",
|
4 |
-
"_name_or_path": "yahoo-inc
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
|
|
1 |
{
|
2 |
"_class_name": "ControlNetModel",
|
3 |
"_diffusers_version": "0.20.0.dev0",
|
4 |
+
"_name_or_path": "/home/erfan/.cache/huggingface/hub/models--yahoo-inc--photo-background-generation/snapshots/0d98195f741dad39e5004cdcdc5aff541a48a919/controlnet",
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
controlnet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:53e331297a0ba85067f7b23d2f98a7be79886f5e4fcb20c00cd9662fdf596084
|
3 |
+
size 1457011160
|
model_index.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionControlNetInpaintPipeline",
|
3 |
"_diffusers_version": "0.20.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"controlnet": [
|
6 |
"diffusers",
|
7 |
"ControlNetModel"
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionControlNetInpaintPipeline",
|
3 |
"_diffusers_version": "0.20.0.dev0",
|
4 |
+
"_name_or_path": "yahoo-inc/photo-background-generation",
|
5 |
"controlnet": [
|
6 |
"diffusers",
|
7 |
"ControlNetModel"
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "/home/erfan/.cache/huggingface/hub/models--yahoo-inc--photo-background-generation/snapshots/0d98195f741dad39e5004cdcdc5aff541a48a919/text_encoder",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:67e013543d4fac905c882e2993d86a2d454ee69dc9e8f37c0c23d33a48959d15
|
3 |
+
size 1361596304
|
tokenizer/special_tokens_map.json
CHANGED
@@ -1,4 +1,9 @@
|
|
1 |
{
|
|
|
|
|
|
|
|
|
|
|
2 |
"bos_token": "<|startoftext|>",
|
3 |
"eos_token": "<|endoftext|>",
|
4 |
"pad_token": "!",
|
|
|
1 |
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"!",
|
4 |
+
"<|startoftext|>",
|
5 |
+
"<|endoftext|>"
|
6 |
+
],
|
7 |
"bos_token": "<|startoftext|>",
|
8 |
"eos_token": "<|endoftext|>",
|
9 |
"pad_token": "!",
|
tokenizer/tokenizer_config.json
CHANGED
@@ -12,7 +12,7 @@
|
|
12 |
"49406": {
|
13 |
"content": "<|startoftext|>",
|
14 |
"lstrip": false,
|
15 |
-
"normalized":
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
"special": true
|
@@ -20,13 +20,17 @@
|
|
20 |
"49407": {
|
21 |
"content": "<|endoftext|>",
|
22 |
"lstrip": false,
|
23 |
-
"normalized":
|
24 |
"rstrip": false,
|
25 |
"single_word": false,
|
26 |
"special": true
|
27 |
}
|
28 |
},
|
29 |
-
"additional_special_tokens": [
|
|
|
|
|
|
|
|
|
30 |
"bos_token": "<|startoftext|>",
|
31 |
"clean_up_tokenization_spaces": true,
|
32 |
"do_lower_case": true,
|
|
|
12 |
"49406": {
|
13 |
"content": "<|startoftext|>",
|
14 |
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
"special": true
|
|
|
20 |
"49407": {
|
21 |
"content": "<|endoftext|>",
|
22 |
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
"rstrip": false,
|
25 |
"single_word": false,
|
26 |
"special": true
|
27 |
}
|
28 |
},
|
29 |
+
"additional_special_tokens": [
|
30 |
+
"!",
|
31 |
+
"<|startoftext|>",
|
32 |
+
"<|endoftext|>"
|
33 |
+
],
|
34 |
"bos_token": "<|startoftext|>",
|
35 |
"clean_up_tokenization_spaces": true,
|
36 |
"do_lower_case": true,
|
unet/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.20.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.20.0.dev0",
|
4 |
+
"_name_or_path": "/home/erfan/.cache/huggingface/hub/models--yahoo-inc--photo-background-generation/snapshots/0d98195f741dad39e5004cdcdc5aff541a48a919/unet",
|
5 |
"act_fn": "silu",
|
6 |
"addition_embed_type": null,
|
7 |
"addition_embed_type_num_heads": 64,
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:a2f90a6d2f3f65959aa6c67e4e7728e32108d08c8a55603b0ea6d762cf224420
|
3 |
+
size 3463784120
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.20.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.20.0.dev0",
|
4 |
+
"_name_or_path": "/home/erfan/.cache/huggingface/hub/models--yahoo-inc--photo-background-generation/snapshots/0d98195f741dad39e5004cdcdc5aff541a48a919/vae",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
vae/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2aa1f43011b553a4cba7f37456465cdbd48aab7b54b9348b890e8058ea7683ec
|
3 |
+
size 334643268
|