Update safety_checker/config.json
Browse files- safety_checker/config.json +5 -15
safety_checker/config.json
CHANGED
@@ -1,8 +1,7 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
-
"_name_or_path": "CompVis/stable-diffusion-safety-checker",
|
4 |
"architectures": [
|
5 |
-
"
|
6 |
],
|
7 |
"initializer_factor": 1.0,
|
8 |
"logit_scale_init_value": 2.6592,
|
@@ -14,7 +13,6 @@
|
|
14 |
"architectures": null,
|
15 |
"attention_dropout": 0.0,
|
16 |
"bad_words_ids": null,
|
17 |
-
"begin_suppress_tokens": null,
|
18 |
"bos_token_id": 0,
|
19 |
"chunk_size_feed_forward": 0,
|
20 |
"cross_attention_hidden_size": null,
|
@@ -62,17 +60,14 @@
|
|
62 |
"pad_token_id": 1,
|
63 |
"prefix": null,
|
64 |
"problem_type": null,
|
65 |
-
"projection_dim": 512,
|
66 |
"pruned_heads": {},
|
67 |
"remove_invalid_values": false,
|
68 |
"repetition_penalty": 1.0,
|
69 |
"return_dict": true,
|
70 |
"return_dict_in_generate": false,
|
71 |
"sep_token_id": null,
|
72 |
-
"suppress_tokens": null,
|
73 |
"task_specific_params": null,
|
74 |
"temperature": 1.0,
|
75 |
-
"tf_legacy_loss": false,
|
76 |
"tie_encoder_decoder": false,
|
77 |
"tie_word_embeddings": true,
|
78 |
"tokenizer_class": null,
|
@@ -80,7 +75,7 @@
|
|
80 |
"top_p": 1.0,
|
81 |
"torch_dtype": null,
|
82 |
"torchscript": false,
|
83 |
-
"transformers_version": "4.
|
84 |
"typical_p": 1.0,
|
85 |
"use_bfloat16": false,
|
86 |
"vocab_size": 49408
|
@@ -99,7 +94,6 @@
|
|
99 |
"architectures": null,
|
100 |
"attention_dropout": 0.0,
|
101 |
"bad_words_ids": null,
|
102 |
-
"begin_suppress_tokens": null,
|
103 |
"bos_token_id": null,
|
104 |
"chunk_size_feed_forward": 0,
|
105 |
"cross_attention_hidden_size": null,
|
@@ -139,7 +133,6 @@
|
|
139 |
"num_attention_heads": 16,
|
140 |
"num_beam_groups": 1,
|
141 |
"num_beams": 1,
|
142 |
-
"num_channels": 3,
|
143 |
"num_hidden_layers": 24,
|
144 |
"num_return_sequences": 1,
|
145 |
"output_attentions": false,
|
@@ -149,17 +142,14 @@
|
|
149 |
"patch_size": 14,
|
150 |
"prefix": null,
|
151 |
"problem_type": null,
|
152 |
-
"projection_dim": 512,
|
153 |
"pruned_heads": {},
|
154 |
"remove_invalid_values": false,
|
155 |
"repetition_penalty": 1.0,
|
156 |
"return_dict": true,
|
157 |
"return_dict_in_generate": false,
|
158 |
"sep_token_id": null,
|
159 |
-
"suppress_tokens": null,
|
160 |
"task_specific_params": null,
|
161 |
"temperature": 1.0,
|
162 |
-
"tf_legacy_loss": false,
|
163 |
"tie_encoder_decoder": false,
|
164 |
"tie_word_embeddings": true,
|
165 |
"tokenizer_class": null,
|
@@ -167,7 +157,7 @@
|
|
167 |
"top_p": 1.0,
|
168 |
"torch_dtype": null,
|
169 |
"torchscript": false,
|
170 |
-
"transformers_version": "4.
|
171 |
"typical_p": 1.0,
|
172 |
"use_bfloat16": false
|
173 |
},
|
@@ -178,4 +168,4 @@
|
|
178 |
"num_hidden_layers": 24,
|
179 |
"patch_size": 14
|
180 |
}
|
181 |
-
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "clip-vit-large-patch14/",
|
|
|
3 |
"architectures": [
|
4 |
+
"SafetyChecker"
|
5 |
],
|
6 |
"initializer_factor": 1.0,
|
7 |
"logit_scale_init_value": 2.6592,
|
|
|
13 |
"architectures": null,
|
14 |
"attention_dropout": 0.0,
|
15 |
"bad_words_ids": null,
|
|
|
16 |
"bos_token_id": 0,
|
17 |
"chunk_size_feed_forward": 0,
|
18 |
"cross_attention_hidden_size": null,
|
|
|
60 |
"pad_token_id": 1,
|
61 |
"prefix": null,
|
62 |
"problem_type": null,
|
|
|
63 |
"pruned_heads": {},
|
64 |
"remove_invalid_values": false,
|
65 |
"repetition_penalty": 1.0,
|
66 |
"return_dict": true,
|
67 |
"return_dict_in_generate": false,
|
68 |
"sep_token_id": null,
|
|
|
69 |
"task_specific_params": null,
|
70 |
"temperature": 1.0,
|
|
|
71 |
"tie_encoder_decoder": false,
|
72 |
"tie_word_embeddings": true,
|
73 |
"tokenizer_class": null,
|
|
|
75 |
"top_p": 1.0,
|
76 |
"torch_dtype": null,
|
77 |
"torchscript": false,
|
78 |
+
"transformers_version": "4.21.0.dev0",
|
79 |
"typical_p": 1.0,
|
80 |
"use_bfloat16": false,
|
81 |
"vocab_size": 49408
|
|
|
94 |
"architectures": null,
|
95 |
"attention_dropout": 0.0,
|
96 |
"bad_words_ids": null,
|
|
|
97 |
"bos_token_id": null,
|
98 |
"chunk_size_feed_forward": 0,
|
99 |
"cross_attention_hidden_size": null,
|
|
|
133 |
"num_attention_heads": 16,
|
134 |
"num_beam_groups": 1,
|
135 |
"num_beams": 1,
|
|
|
136 |
"num_hidden_layers": 24,
|
137 |
"num_return_sequences": 1,
|
138 |
"output_attentions": false,
|
|
|
142 |
"patch_size": 14,
|
143 |
"prefix": null,
|
144 |
"problem_type": null,
|
|
|
145 |
"pruned_heads": {},
|
146 |
"remove_invalid_values": false,
|
147 |
"repetition_penalty": 1.0,
|
148 |
"return_dict": true,
|
149 |
"return_dict_in_generate": false,
|
150 |
"sep_token_id": null,
|
|
|
151 |
"task_specific_params": null,
|
152 |
"temperature": 1.0,
|
|
|
153 |
"tie_encoder_decoder": false,
|
154 |
"tie_word_embeddings": true,
|
155 |
"tokenizer_class": null,
|
|
|
157 |
"top_p": 1.0,
|
158 |
"torch_dtype": null,
|
159 |
"torchscript": false,
|
160 |
+
"transformers_version": "4.21.0.dev0",
|
161 |
"typical_p": 1.0,
|
162 |
"use_bfloat16": false
|
163 |
},
|
|
|
168 |
"num_hidden_layers": 24,
|
169 |
"patch_size": 14
|
170 |
}
|
171 |
+
}
|