Ryan commited on
Commit
fc00a82
1 Parent(s): d24598a

inital commit of compiled model

Browse files
.gitattributes CHANGED
@@ -32,3 +32,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
32
  *.zip filter=lfs diff=lfs merge=lfs -text
33
  *.zst filter=lfs diff=lfs merge=lfs -text
34
  *tfevents* filter=lfs diff=lfs merge=lfs -text
35
+ *.png filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,110 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: creativeml-openrail-m
3
+ tags:
4
+ - stable-diffusion
5
+ - text-to-image
6
+ - pooh
7
+ - EH Shepard
8
+ ---
9
+
10
+ # 🐻 Original Pooh Diffusion
11
+
12
+ Fine-tuned Stable Diffusion model, based of ```F222```, trained with pictures illustrated by ```E. H. Shepard``` from the book "Winnie-the-Pooh", by A. A. Milne, originally published in Canada by McClelland & Stewart, Ltd., 1926. Released into the public domain on January 3, 2022.
13
+
14
+ 📗 [Winnie-the-Pooh, by A. A. Milne](https://www.gutenberg.org/cache/epub/67098/pg67098-images.html)
15
+
16
+ ![Detailed Samples](https://huggingface.co/3ee/original-pooh/resolve/main/pooh_grid1.png)
17
+
18
+ ## Model Usage
19
+
20
+ ✨ Use the tokens **_original pooh_** in your prompts to activate the model.
21
+
22
+ ![Detailed Samples](https://huggingface.co/3ee/original-pooh/resolve/main/pooh_grid2.png)
23
+
24
+ ![Detailed Samples](https://huggingface.co/3ee/original-pooh/resolve/main/pooh_grid3.png)
25
+
26
+ ![Detailed Samples](https://huggingface.co/3ee/original-pooh/resolve/main/pooh_grid4.png)
27
+
28
+ ![Detailed Samples](https://huggingface.co/3ee/original-pooh/resolve/main/pooh_grid5.png)
29
+
30
+ ![Detailed Samples](https://huggingface.co/3ee/original-pooh/resolve/main/pooh_grid6.png)
31
+
32
+ ![Detailed Samples](https://huggingface.co/3ee/original-pooh/resolve/main/pooh_grid7.png)
33
+
34
+ ---
35
+
36
+ ☕ If you enjoy this model, buy a coffee [![Buy a coffee](https://badgen.net/badge/icon/kofi?icon=kofi&label=buy%20us%20a%20coffee)](https://ko-fi.com/3eegames)
37
+
38
+ ---
39
+
40
+
41
+ ## 🧾 Prompt examples:
42
+
43
+ **Basic starting point**
44
+
45
+ ```original pooh, illustrated by eh shepard ```
46
+
47
+ [Negative prompt](#❎-negative-prompt-template)
48
+
49
+ ---
50
+
51
+ **House of Pooh**
52
+
53
+ ```Perfectly-centered portrait deep in a forest with bee nest hanging original pooh, stars, concept art, artstation, illustrated by eh shepard```
54
+
55
+ [Negative prompt](#❎-negative-prompt-template)
56
+
57
+ _Steps: 102, Sampler: LMS, CFG scale: 8.5, Seed: 2469061657, Size: 512x512, Model hash: b7ba5b22_
58
+
59
+ ---
60
+
61
+ **Hanging out at the Hive**
62
+
63
+ ```Perfectly-centered portrait deep in a forest with bee nest hanging original pooh, stars, concept art, artstation, illustrated by eh shepard```
64
+
65
+ [Negative prompt](#❎-negative-prompt-template)
66
+
67
+ _Steps: 102, Sampler: LMS, CFG scale: 8.5, Seed: 2469061635, Size: 512x512, Model hash: b7ba5b22_
68
+
69
+ ---
70
+
71
+
72
+ ## ❎ Negative Prompt Template
73
+
74
+ All images were rendered with the negative prompt below:
75
+
76
+ ```text, error, extra digit, fewer digits, cropped, jpeg artifacts, signature, watermark, username, blurry, ((ugly)), ((duplicate)), ((morbid)), ((mutilated)), out of frame, red coat, (((red jacket)))```
77
+
78
+ ## 🧨 Diffusers
79
+
80
+ This model can be used just like any other Stable Diffusion model. For more information,
81
+ please have a look at the [Stable Diffusion](https://huggingface.co/docs/diffusers/api/pipelines/stable_diffusion).
82
+
83
+ Export the model:
84
+ - [ONNX](https://huggingface.co/docs/diffusers/optimization/onnx)
85
+ - [MPS](https://huggingface.co/docs/diffusers/optimization/mps)
86
+ - [FLAX/JAX](https://huggingface.co/blog/stable_diffusion_jax)
87
+
88
+ ```python
89
+ from diffusers import StableDiffusionPipeline
90
+ import torch
91
+
92
+ model_id = "3ee/original-pooh"
93
+ pipe = StableDiffusionPipeline.from_pretrained(model_id, torch_dtype=torch.float16)
94
+ pipe = pipe.to("cuda")
95
+
96
+ prompt = "original pooh sneaking into a bee nest"
97
+ image = pipe(prompt).images[0]
98
+
99
+ image.save("./pooh_pooh.png")
100
+ ```
101
+
102
+ ## License
103
+
104
+ This model is open access and available to all, with a CreativeML OpenRAIL-M license further specifying rights and usage.
105
+ The CreativeML OpenRAIL License specifies:
106
+
107
+ - You can't use the model to deliberately produce nor share illegal or harmful outputs or content
108
+ - The authors claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
109
+ - You may re-distribute the weights and use the model commercially and/or as a service. If you do, please be aware you have to include the same use restrictions as the ones in the license and share a copy of the CreativeML OpenRAIL-M to all your users (please read the license entirely and carefully)
110
+ [Please read the full license here](https://huggingface.co/spaces/CompVis/stable-diffusion-license)
model_index.json ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.9.0",
4
+ "feature_extractor": [
5
+ null,
6
+ null
7
+ ],
8
+ "requires_safety_checker": null,
9
+ "safety_checker": [
10
+ null,
11
+ null
12
+ ],
13
+ "scheduler": [
14
+ "diffusers",
15
+ "DDIMScheduler"
16
+ ],
17
+ "text_encoder": [
18
+ "transformers",
19
+ "CLIPTextModel"
20
+ ],
21
+ "tokenizer": [
22
+ "transformers",
23
+ "CLIPTokenizer"
24
+ ],
25
+ "unet": [
26
+ "diffusers",
27
+ "UNet2DConditionModel"
28
+ ],
29
+ "vae": [
30
+ "diffusers",
31
+ "AutoencoderKL"
32
+ ]
33
+ }
originalpooh_0.ckpt ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e2929c44d84454b05ebefc1718a96dcf790a852845f8f6fcb4f4b0e75916c8c
3
+ size 4098020782
pooh_grid1.png ADDED

Git LFS Details

  • SHA256: 5cd71d26e81ebed290a1597cdee9e833d0fef731d9a1ba57a26950cddc1765c2
  • Pointer size: 132 Bytes
  • Size of remote file: 3.74 MB
pooh_grid2.png ADDED

Git LFS Details

  • SHA256: b60be85eccf56379e94ec00c3a993261ec00f504f4183e24a29b32cb1a55333d
  • Pointer size: 132 Bytes
  • Size of remote file: 4.03 MB
pooh_grid3.png ADDED

Git LFS Details

  • SHA256: 673de676ee2d8f334951acb9a0b6e457df4d5d671349baff10d5d86507f16fec
  • Pointer size: 132 Bytes
  • Size of remote file: 4.06 MB
pooh_grid4.png ADDED

Git LFS Details

  • SHA256: 5b1a5dacd38c54bb499d97935daf0cef0b69785583591cb037016498087bd252
  • Pointer size: 132 Bytes
  • Size of remote file: 3.65 MB
pooh_grid5.png ADDED

Git LFS Details

  • SHA256: 01d5314b5afbbc556b9b5ddefc27afaa8d57e7a3a68509d02d41e84bd53b3e9c
  • Pointer size: 132 Bytes
  • Size of remote file: 3.94 MB
pooh_grid6.png ADDED

Git LFS Details

  • SHA256: 62d2984813439dc1c23daf978423e68ce28a3c6b6e9aab2cd1002968846cce37
  • Pointer size: 132 Bytes
  • Size of remote file: 3.59 MB
pooh_grid7.png ADDED

Git LFS Details

  • SHA256: d046614e0dd047364efcf01b071179370ba745fedf5f64cba502a7e53b91c909
  • Pointer size: 132 Bytes
  • Size of remote file: 3.8 MB
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,13 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "DDIMScheduler",
3
+ "_diffusers_version": "0.9.0",
4
+ "beta_end": 0.012,
5
+ "beta_schedule": "scaled_linear",
6
+ "beta_start": 0.00085,
7
+ "clip_sample": false,
8
+ "num_train_timesteps": 1000,
9
+ "prediction_type": "epsilon",
10
+ "set_alpha_to_one": false,
11
+ "steps_offset": 1,
12
+ "trained_betas": null
13
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "C:\\Users\\ryguy\\Documents\\github\\stable-diffusion-webui\\models\\dreambooth\\originalpooh\\working",
3
+ "architectures": [
4
+ "CLIPTextModel"
5
+ ],
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 0,
8
+ "dropout": 0.0,
9
+ "eos_token_id": 2,
10
+ "hidden_act": "quick_gelu",
11
+ "hidden_size": 768,
12
+ "initializer_factor": 1.0,
13
+ "initializer_range": 0.02,
14
+ "intermediate_size": 3072,
15
+ "layer_norm_eps": 1e-05,
16
+ "max_position_embeddings": 77,
17
+ "model_type": "clip_text_model",
18
+ "num_attention_heads": 12,
19
+ "num_hidden_layers": 12,
20
+ "pad_token_id": 1,
21
+ "projection_dim": 768,
22
+ "torch_dtype": "float32",
23
+ "transformers_version": "4.21.0",
24
+ "vocab_size": 49408
25
+ }
text_encoder/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:68097a456dc390f555d4c0c76c41e8c75e59191b91affaa499abc532477a4a65
3
+ size 492308087
tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "bos_token": {
4
+ "__type": "AddedToken",
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false
10
+ },
11
+ "do_lower_case": true,
12
+ "eos_token": {
13
+ "__type": "AddedToken",
14
+ "content": "<|endoftext|>",
15
+ "lstrip": false,
16
+ "normalized": true,
17
+ "rstrip": false,
18
+ "single_word": false
19
+ },
20
+ "errors": "replace",
21
+ "model_max_length": 77,
22
+ "name_or_path": "C:\\Users\\ryguy\\Documents\\github\\stable-diffusion-webui\\models\\dreambooth\\originalpooh\\working\\tokenizer",
23
+ "pad_token": "<|endoftext|>",
24
+ "special_tokens_map_file": "./special_tokens_map.json",
25
+ "tokenizer_class": "CLIPTokenizer",
26
+ "unk_token": {
27
+ "__type": "AddedToken",
28
+ "content": "<|endoftext|>",
29
+ "lstrip": false,
30
+ "normalized": true,
31
+ "rstrip": false,
32
+ "single_word": false
33
+ }
34
+ }
tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
unet/config.json ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.9.0",
4
+ "_name_or_path": "C:\\Users\\ryguy\\Documents\\github\\stable-diffusion-webui\\models\\dreambooth\\originalpooh\\working",
5
+ "act_fn": "silu",
6
+ "attention_head_dim": 8,
7
+ "block_out_channels": [
8
+ 320,
9
+ 640,
10
+ 1280,
11
+ 1280
12
+ ],
13
+ "center_input_sample": false,
14
+ "cross_attention_dim": 768,
15
+ "down_block_types": [
16
+ "CrossAttnDownBlock2D",
17
+ "CrossAttnDownBlock2D",
18
+ "CrossAttnDownBlock2D",
19
+ "DownBlock2D"
20
+ ],
21
+ "downsample_padding": 1,
22
+ "dual_cross_attention": false,
23
+ "flip_sin_to_cos": true,
24
+ "freq_shift": 0,
25
+ "in_channels": 4,
26
+ "layers_per_block": 2,
27
+ "mid_block_scale_factor": 1,
28
+ "norm_eps": 1e-05,
29
+ "norm_num_groups": 32,
30
+ "num_class_embeds": null,
31
+ "only_cross_attention": false,
32
+ "out_channels": 4,
33
+ "sample_size": 64,
34
+ "up_block_types": [
35
+ "UpBlock2D",
36
+ "CrossAttnUpBlock2D",
37
+ "CrossAttnUpBlock2D",
38
+ "CrossAttnUpBlock2D"
39
+ ],
40
+ "use_linear_projection": false
41
+ }
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a4e1ba982e427555ef824a79d80067750a96571c1de9b1f6ac1727d1d4bb3fad
3
+ size 3438364325
vae/config.json ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.9.0",
4
+ "_name_or_path": "C:\\Users\\ryguy\\Documents\\github\\stable-diffusion-webui\\models\\dreambooth\\originalpooh\\working",
5
+ "act_fn": "silu",
6
+ "block_out_channels": [
7
+ 128,
8
+ 256,
9
+ 512,
10
+ 512
11
+ ],
12
+ "down_block_types": [
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D",
16
+ "DownEncoderBlock2D"
17
+ ],
18
+ "in_channels": 3,
19
+ "latent_channels": 4,
20
+ "layers_per_block": 2,
21
+ "norm_num_groups": 32,
22
+ "out_channels": 3,
23
+ "sample_size": 256,
24
+ "up_block_types": [
25
+ "UpDecoderBlock2D",
26
+ "UpDecoderBlock2D",
27
+ "UpDecoderBlock2D",
28
+ "UpDecoderBlock2D"
29
+ ]
30
+ }
vae/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:eb8bfec1946af8d97bea496018e01cd1b1c290dcb72e2bdf41e044064709ebb9
3
+ size 167402961