thisisdom4 commited on
Commit
4b223c3
·
verified ·
1 Parent(s): 2766e70

Upload diffusers model files

Browse files
README.md CHANGED
@@ -1,8 +1,35 @@
1
- # untitled . pony
2
 
3
- This is a Stable Diffusion model for use with the Hugging Face Diffusers library.
4
 
5
- - Experimental checkpoint for stylised and semi-realistic generations.
6
- - Enhanced token adherence for prompt consistency.
7
- - Works well with ControlNet, IPAdapter, LoRAs, and realism-focused workflows.
8
- - For best results, use recommended samplers and CFG/steps ranges.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # untitled . pony - Diffusers Format
2
 
3
+ This is a Stable Diffusion model converted to the Diffusers format for use with the Hugging Face Diffusers library.
4
 
5
+ ## Model Details
6
+
7
+ - **Name**: untitled . pony
8
+ - **Type**: Stable Diffusion Checkpoint
9
+ - **Format**: Diffusers
10
+
11
+ ## Usage
12
+
13
+ ```python
14
+ from diffusers import StableDiffusionPipeline
15
+ import torch
16
+
17
+ pipeline = StableDiffusionPipeline.from_pretrained(
18
+ "untitled . pony",
19
+ torch_dtype=torch.float16,
20
+ safety_checker=None
21
+ )
22
+ if torch.cuda.is_available():
23
+ pipeline = pipeline.to("cuda")
24
+
25
+ image = pipeline(
26
+ prompt="your prompt here",
27
+ num_inference_steps=30,
28
+ guidance_scale=7.0
29
+ ).images[0]
30
+ image.save("output.png")
31
+ ```
32
+
33
+ ## License
34
+
35
+ Please respect the original model's license.
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06080fc96160d17c1e0b9e93147a2e9ff8ecbb8d4ae1cd484e809d70e8778c0b
3
+ size 2027159552
model_index.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionXLPipeline",
3
+ "_diffusers_version": "0.26.0",
4
+ "scheduler": [
5
+ "scheduler/scheduler_config.json"
6
+ ],
7
+ "text_encoder": [
8
+ "text_encoder/config.json"
9
+ ],
10
+ "tokenizer": [
11
+ "tokenizer/tokenizer_config.json"
12
+ ],
13
+ "unet": [
14
+ "unet/config.json"
15
+ ],
16
+ "vae": [
17
+ "vae/config.json"
18
+ ]
19
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.26.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
+ "sample_max_value": 1.0,
11
+ "set_alpha_to_one": false,
12
+ "skip_prk_steps": true,
13
+ "steps_offset": 1,
14
+ "trained_betas": null
15
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "CLIPTextModel",
3
+ "_diffusers_version": "0.26.0",
4
+ "architectures": [
5
+ "CLIPTextModel"
6
+ ],
7
+ "attention_dropout": 0.0,
8
+ "bos_token_id": 2,
9
+ "dropout": 0.0,
10
+ "eos_token_id": 3,
11
+ "hidden_act": "quick_gelu",
12
+ "hidden_size": 1280,
13
+ "initializer_factor": 1.0,
14
+ "initializer_range": 0.02,
15
+ "intermediate_size": 5120,
16
+ "layer_norm_eps": 1e-05,
17
+ "max_position_embeddings": 77,
18
+ "model_type": "clip_text_model",
19
+ "num_attention_heads": 20,
20
+ "num_hidden_layers": 32,
21
+ "pad_token_id": 1,
22
+ "projection_dim": 1280,
23
+ "torch_dtype": "float32",
24
+ "transformers_version": "4.35.0",
25
+ "vocab_size": 49408
26
+ }
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_special_tokens": true,
3
+ "bos_token": "<|startoftext|>",
4
+ "clean_up_tokenization_spaces": true,
5
+ "do_lower_case": true,
6
+ "eos_token": "<|endoftext|>",
7
+ "legacy": true,
8
+ "model_max_length": 77,
9
+ "pad_token": "<|endoftext|>",
10
+ "processor_class": "CLIPTokenizer",
11
+ "special_tokens_map_file": null,
12
+ "tokenizer_class": "CLIPTokenizer",
13
+ "unk_token": "<|endoftext|>"
14
+ }
unet/config.json ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.26.0",
4
+ "act_fn": "silu",
5
+ "addition_embed_type": "text_time",
6
+ "addition_embed_type_num_heads": 64,
7
+ "addition_time_embed_dim": 256,
8
+ "attention_head_dim": [
9
+ 5,
10
+ 10,
11
+ 20,
12
+ 20
13
+ ],
14
+ "block_out_channels": [
15
+ 320,
16
+ 640,
17
+ 1280,
18
+ 1280
19
+ ],
20
+ "center_input_sample": false,
21
+ "cross_attention_dim": 2048,
22
+ "cross_attention_norm": null,
23
+ "down_block_types": [
24
+ "CrossAttnDownBlock2D",
25
+ "CrossAttnDownBlock2D",
26
+ "CrossAttnDownBlock2D",
27
+ "DownBlock2D"
28
+ ],
29
+ "downsample_padding": 1,
30
+ "dual_cross_attention": false,
31
+ "flip_sin_to_cos": true,
32
+ "freq_shift": 0,
33
+ "in_channels": 4,
34
+ "layers_per_block": 2,
35
+ "mid_block_scale_factor": 1,
36
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
37
+ "norm_eps": 1e-05,
38
+ "norm_num_groups": 32,
39
+ "num_class_embeds": null,
40
+ "only_cross_attention": false,
41
+ "out_channels": 4,
42
+ "resnet_out_scale_factor": 1.0,
43
+ "resnet_skip_time_act": false,
44
+ "resnet_time_scale_shift": "default",
45
+ "sample_size": 128,
46
+ "time_cond_proj_dim": 128,
47
+ "time_embedding_act_fn": null,
48
+ "time_embedding_dim": 256,
49
+ "time_embedding_type": "fourier",
50
+ "timestep_post_act": null,
51
+ "transformer_layers_per_block": [
52
+ 1,
53
+ 2,
54
+ 10,
55
+ 10
56
+ ],
57
+ "up_block_types": [
58
+ "UpBlock2D",
59
+ "CrossAttnUpBlock2D",
60
+ "CrossAttnUpBlock2D",
61
+ "CrossAttnUpBlock2D"
62
+ ],
63
+ "upcast_attention": false,
64
+ "use_linear_projection": true
65
+ }
vae/config.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.26.0",
4
+ "act_fn": "silu",
5
+ "block_out_channels": [
6
+ 128,
7
+ 256,
8
+ 512,
9
+ 512
10
+ ],
11
+ "down_block_types": [
12
+ "DownEncoderBlock2D",
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D"
16
+ ],
17
+ "in_channels": 3,
18
+ "latent_channels": 4,
19
+ "layers_per_block": 2,
20
+ "norm_num_groups": 32,
21
+ "out_channels": 3,
22
+ "sample_size": 512,
23
+ "up_block_types": [
24
+ "UpDecoderBlock2D",
25
+ "UpDecoderBlock2D",
26
+ "UpDecoderBlock2D",
27
+ "UpDecoderBlock2D"
28
+ ]
29
+ }