Commit
·
d3be678
1
Parent(s):
045eac3
converted using stablediffusionapi.com
Browse files- .gitignore +2 -0
- README.md +2 -2
- feature_extractor/preprocessor_config.json +1 -1
- model_index.json +3 -3
- safety_checker/config.json +28 -0
- safety_checker/model.safetensors +3 -0
- text_encoder/config.json +1 -2
- text_encoder/model.safetensors +2 -2
- tokenizer/special_tokens_map.json +9 -3
- tokenizer/tokenizer_config.json +1 -1
- unet/diffusion_pytorch_model.safetensors +2 -2
- vae/diffusion_pytorch_model.safetensors +2 -2
.gitignore
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
|
|
|
|
|
|
|
| 1 |
+
step_*
|
| 2 |
+
epoch_*
|
README.md
CHANGED
|
@@ -11,10 +11,10 @@ library_name: diffusers
|
|
| 11 |
widget:
|
| 12 |
- text: a girl wandering through the forest
|
| 13 |
output:
|
| 14 |
-
url: https://
|
| 15 |
---
|
| 16 |
|
| 17 |
-
#
|
| 18 |
|
| 19 |
<Gallery />
|
| 20 |
|
|
|
|
| 11 |
widget:
|
| 12 |
- text: a girl wandering through the forest
|
| 13 |
output:
|
| 14 |
+
url: https://cdn2.stablediffusionapi.com/generations/bf190b5a-fe19-437c-ba05-82f29cb1f7ad-0.png
|
| 15 |
---
|
| 16 |
|
| 17 |
+
# realistic-vision-v60-b1 API Inference
|
| 18 |
|
| 19 |
<Gallery />
|
| 20 |
|
feature_extractor/preprocessor_config.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
| 13 |
0.4578275,
|
| 14 |
0.40821073
|
| 15 |
],
|
| 16 |
-
"image_processor_type": "
|
| 17 |
"image_std": [
|
| 18 |
0.26862954,
|
| 19 |
0.26130258,
|
|
|
|
| 13 |
0.4578275,
|
| 14 |
0.40821073
|
| 15 |
],
|
| 16 |
+
"image_processor_type": "CLIPFeatureExtractor",
|
| 17 |
"image_std": [
|
| 18 |
0.26862954,
|
| 19 |
0.26130258,
|
model_index.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
| 3 |
"_diffusers_version": "0.32.2",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
-
"
|
| 7 |
],
|
| 8 |
"image_encoder": [
|
| 9 |
null,
|
|
@@ -11,8 +11,8 @@
|
|
| 11 |
],
|
| 12 |
"requires_safety_checker": true,
|
| 13 |
"safety_checker": [
|
| 14 |
-
|
| 15 |
-
|
| 16 |
],
|
| 17 |
"scheduler": [
|
| 18 |
"diffusers",
|
|
|
|
| 3 |
"_diffusers_version": "0.32.2",
|
| 4 |
"feature_extractor": [
|
| 5 |
"transformers",
|
| 6 |
+
"CLIPFeatureExtractor"
|
| 7 |
],
|
| 8 |
"image_encoder": [
|
| 9 |
null,
|
|
|
|
| 11 |
],
|
| 12 |
"requires_safety_checker": true,
|
| 13 |
"safety_checker": [
|
| 14 |
+
"stable_diffusion",
|
| 15 |
+
"StableDiffusionSafetyChecker"
|
| 16 |
],
|
| 17 |
"scheduler": [
|
| 18 |
"diffusers",
|
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": "float32",
|
| 18 |
+
"transformers_version": "4.43.1",
|
| 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.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8
|
| 3 |
+
size 1215979664
|
text_encoder/config.json
CHANGED
|
@@ -1,5 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "openai/clip-vit-large-patch14",
|
| 3 |
"architectures": [
|
| 4 |
"CLIPTextModel"
|
| 5 |
],
|
|
@@ -19,7 +18,7 @@
|
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
"projection_dim": 768,
|
| 22 |
-
"torch_dtype": "
|
| 23 |
"transformers_version": "4.43.1",
|
| 24 |
"vocab_size": 49408
|
| 25 |
}
|
|
|
|
| 1 |
{
|
|
|
|
| 2 |
"architectures": [
|
| 3 |
"CLIPTextModel"
|
| 4 |
],
|
|
|
|
| 18 |
"num_hidden_layers": 12,
|
| 19 |
"pad_token_id": 1,
|
| 20 |
"projection_dim": 768,
|
| 21 |
+
"torch_dtype": "float32",
|
| 22 |
"transformers_version": "4.43.1",
|
| 23 |
"vocab_size": 49408
|
| 24 |
}
|
text_encoder/model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b4f27c4bde308a8aa337ce755e2af288757d86309d74b29b0bd1a3f5d6092864
|
| 3 |
+
size 492265168
|
tokenizer/special_tokens_map.json
CHANGED
|
@@ -9,15 +9,21 @@
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
-
"normalized":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
"rstrip": false,
|
| 14 |
"single_word": false
|
| 15 |
},
|
| 16 |
-
"pad_token": "<|endoftext|>",
|
| 17 |
"unk_token": {
|
| 18 |
"content": "<|endoftext|>",
|
| 19 |
"lstrip": false,
|
| 20 |
-
"normalized":
|
| 21 |
"rstrip": false,
|
| 22 |
"single_word": false
|
| 23 |
}
|
|
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|endoftext|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
"rstrip": false,
|
| 21 |
"single_word": false
|
| 22 |
},
|
|
|
|
| 23 |
"unk_token": {
|
| 24 |
"content": "<|endoftext|>",
|
| 25 |
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
"rstrip": false,
|
| 28 |
"single_word": false
|
| 29 |
}
|
tokenizer/tokenizer_config.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"49407": {
|
| 13 |
"content": "<|endoftext|>",
|
| 14 |
"lstrip": false,
|
| 15 |
-
"normalized":
|
| 16 |
"rstrip": false,
|
| 17 |
"single_word": false,
|
| 18 |
"special": true
|
|
|
|
| 12 |
"49407": {
|
| 13 |
"content": "<|endoftext|>",
|
| 14 |
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
"rstrip": false,
|
| 17 |
"single_word": false,
|
| 18 |
"special": true
|
unet/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:27be5442f63120134a16d050b97889820fc0381f8c8c0a57f77e9d6d12d280c9
|
| 3 |
+
size 3438167536
|
vae/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2aa1f43011b553a4cba7f37456465cdbd48aab7b54b9348b890e8058ea7683ec
|
| 3 |
+
size 334643268
|