Adding `diffusers` weights of this model

#2
by Yntec - opened
model_index.json CHANGED
@@ -1,18 +1,18 @@
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
- "_diffusers_version": "0.18.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPFeatureExtractor"
7
  ],
8
- "requires_safety_checker": null,
9
  "safety_checker": [
10
- null,
11
- null
12
  ],
13
  "scheduler": [
14
  "diffusers",
15
- "EulerAncestralDiscreteScheduler"
16
  ],
17
  "text_encoder": [
18
  "transformers",
 
1
  {
2
  "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.22.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPFeatureExtractor"
7
  ],
8
+ "requires_safety_checker": true,
9
  "safety_checker": [
10
+ "stable_diffusion",
11
+ "StableDiffusionSafetyChecker"
12
  ],
13
  "scheduler": [
14
  "diffusers",
15
+ "PNDMScheduler"
16
  ],
17
  "text_encoder": [
18
  "transformers",
safety_checker/config.json ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "CompVis/stable-diffusion-safety-checker",
3
+ "architectures": [
4
+ "StableDiffusionSafetyChecker"
5
+ ],
6
+ "initializer_factor": 1.0,
7
+ "logit_scale_init_value": 2.6592,
8
+ "model_type": "clip",
9
+ "projection_dim": 768,
10
+ "text_config": {
11
+ "dropout": 0.0,
12
+ "hidden_size": 768,
13
+ "intermediate_size": 3072,
14
+ "model_type": "clip_text_model",
15
+ "num_attention_heads": 12
16
+ },
17
+ "torch_dtype": "float16",
18
+ "transformers_version": "4.34.0",
19
+ "vision_config": {
20
+ "dropout": 0.0,
21
+ "hidden_size": 1024,
22
+ "intermediate_size": 4096,
23
+ "model_type": "clip_vision_model",
24
+ "num_attention_heads": 16,
25
+ "num_hidden_layers": 24,
26
+ "patch_size": 14
27
+ }
28
+ }
safety_checker/model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:57ecdfa243b170f9b4cb3eefaf0f64552ef78fc0bf0eb1c5b9675308447184f6
3
+ size 608016280
safety_checker/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8
3
+ size 1215979664
scheduler/scheduler_config.json CHANGED
@@ -1,26 +1,15 @@
1
  {
2
- "_class_name": "EulerAncestralDiscreteScheduler",
3
- "_diffusers_version": "0.14.0",
4
-
5
  "beta_end": 0.012,
6
  "beta_schedule": "scaled_linear",
7
  "beta_start": 0.00085,
8
  "clip_sample": false,
9
-
10
-
11
-
12
-
13
  "num_train_timesteps": 1000,
14
  "prediction_type": "epsilon",
15
-
16
-
17
  "set_alpha_to_one": false,
18
  "skip_prk_steps": true,
19
-
20
  "steps_offset": 1,
21
-
22
-
23
  "trained_betas": null
24
-
25
-
26
- }
 
1
  {
2
+ "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.22.0.dev0",
 
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
  "skip_prk_steps": true,
 
12
  "steps_offset": 1,
13
+ "timestep_spacing": "leading",
 
14
  "trained_betas": null
15
+ }
 
 
text_encoder/config.json CHANGED
@@ -15,7 +15,7 @@
15
  "max_position_embeddings": 77,
16
  "model_type": "clip_text_model",
17
  "num_attention_heads": 12,
18
- "num_hidden_layers": 11,
19
  "pad_token_id": 1,
20
  "projection_dim": 768,
21
  "torch_dtype": "float16",
 
15
  "max_position_embeddings": 77,
16
  "model_type": "clip_text_model",
17
  "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
  "pad_token_id": 1,
20
  "projection_dim": 768,
21
  "torch_dtype": "float16",
tokenizer/added_tokens.json ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ {
2
+ "<|endoftext|>": 49407,
3
+ "<|startoftext|>": 49406
4
+ }
unet/diffusion_pytorch_model.fp16.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:7bb7b712815a1a6f227cb36f5e912a7e951270343c2b2a0734fa832136f29873
3
  size 1719125304
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:96d015eb0f013b9a8cfe4e4d83ffd074a5f168495d5917f53c797945e6e6f926
3
  size 1719125304
unet/diffusion_pytorch_model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:a78af4da33e537d634d0a89becdb412dead657682aed8c7062fdeff2c2dafdf0
3
  size 3438167536
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d9520394489982cd203ed78d45756dbab4936949200c17756e4e95b8223b0661
3
  size 3438167536