Team Ai
Modelpublic

diffusers/stable-diffusion-variants

sourceHugging Facecreativeml-openrail-mupdated 4y agoView on Hugging Face
3likes7downloads
config.json180 linesDownload Raw Back to safety_checker
1{2  "_commit_hash": "39593d5650112b4cc580433f6b0435385882d819",3  "_name_or_path": "/home/patrick_huggingface_co/.cache/huggingface/diffusers/models--runwayml--stable-diffusion-v1-5/snapshots/39593d5650112b4cc580433f6b0435385882d819/safety_checker",4  "architectures": [5    "StableDiffusionSafetyChecker"6  ],7  "initializer_factor": 1.0,8  "logit_scale_init_value": 2.6592,9  "model_type": "clip",10  "projection_dim": 768,11  "text_config": {12    "_name_or_path": "",13    "add_cross_attention": false,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,21    "decoder_start_token_id": null,22    "diversity_penalty": 0.0,23    "do_sample": false,24    "early_stopping": false,25    "encoder_no_repeat_ngram_size": 0,26    "eos_token_id": 2,27    "exponential_decay_length_penalty": null,28    "finetuning_task": null,29    "forced_bos_token_id": null,30    "forced_eos_token_id": null,31    "hidden_act": "quick_gelu",32    "hidden_size": 768,33    "id2label": {34      "0": "LABEL_0",35      "1": "LABEL_1"36    },37    "initializer_factor": 1.0,38    "initializer_range": 0.02,39    "intermediate_size": 3072,40    "is_decoder": false,41    "is_encoder_decoder": false,42    "label2id": {43      "LABEL_0": 0,44      "LABEL_1": 145    },46    "layer_norm_eps": 1e-05,47    "length_penalty": 1.0,48    "max_length": 20,49    "max_position_embeddings": 77,50    "min_length": 0,51    "model_type": "clip_text_model",52    "no_repeat_ngram_size": 0,53    "num_attention_heads": 12,54    "num_beam_groups": 1,55    "num_beams": 1,56    "num_hidden_layers": 12,57    "num_return_sequences": 1,58    "output_attentions": false,59    "output_hidden_states": false,60    "output_scores": false,61    "pad_token_id": 1,62    "prefix": null,63    "problem_type": null,64    "projection_dim": 512,65    "pruned_heads": {},66    "remove_invalid_values": false,67    "repetition_penalty": 1.0,68    "return_dict": true,69    "return_dict_in_generate": false,70    "sep_token_id": null,71    "suppress_tokens": null,72    "task_specific_params": null,73    "temperature": 1.0,74    "tf_legacy_loss": false,75    "tie_encoder_decoder": false,76    "tie_word_embeddings": true,77    "tokenizer_class": null,78    "top_k": 50,79    "top_p": 1.0,80    "torch_dtype": null,81    "torchscript": false,82    "transformers_version": "4.27.0.dev0",83    "typical_p": 1.0,84    "use_bfloat16": false,85    "vocab_size": 4940886  },87  "text_config_dict": {88    "hidden_size": 768,89    "intermediate_size": 3072,90    "num_attention_heads": 12,91    "num_hidden_layers": 1292  },93  "torch_dtype": "float32",94  "transformers_version": null,95  "vision_config": {96    "_name_or_path": "",97    "add_cross_attention": false,98    "architectures": null,99    "attention_dropout": 0.0,100    "bad_words_ids": null,101    "begin_suppress_tokens": null,102    "bos_token_id": null,103    "chunk_size_feed_forward": 0,104    "cross_attention_hidden_size": null,105    "decoder_start_token_id": null,106    "diversity_penalty": 0.0,107    "do_sample": false,108    "early_stopping": false,109    "encoder_no_repeat_ngram_size": 0,110    "eos_token_id": null,111    "exponential_decay_length_penalty": null,112    "finetuning_task": null,113    "forced_bos_token_id": null,114    "forced_eos_token_id": null,115    "hidden_act": "quick_gelu",116    "hidden_size": 1024,117    "id2label": {118      "0": "LABEL_0",119      "1": "LABEL_1"120    },121    "image_size": 224,122    "initializer_factor": 1.0,123    "initializer_range": 0.02,124    "intermediate_size": 4096,125    "is_decoder": false,126    "is_encoder_decoder": false,127    "label2id": {128      "LABEL_0": 0,129      "LABEL_1": 1130    },131    "layer_norm_eps": 1e-05,132    "length_penalty": 1.0,133    "max_length": 20,134    "min_length": 0,135    "model_type": "clip_vision_model",136    "no_repeat_ngram_size": 0,137    "num_attention_heads": 16,138    "num_beam_groups": 1,139    "num_beams": 1,140    "num_channels": 3,141    "num_hidden_layers": 24,142    "num_return_sequences": 1,143    "output_attentions": false,144    "output_hidden_states": false,145    "output_scores": false,146    "pad_token_id": null,147    "patch_size": 14,148    "prefix": null,149    "problem_type": null,150    "projection_dim": 512,151    "pruned_heads": {},152    "remove_invalid_values": false,153    "repetition_penalty": 1.0,154    "return_dict": true,155    "return_dict_in_generate": false,156    "sep_token_id": null,157    "suppress_tokens": null,158    "task_specific_params": null,159    "temperature": 1.0,160    "tf_legacy_loss": false,161    "tie_encoder_decoder": false,162    "tie_word_embeddings": true,163    "tokenizer_class": null,164    "top_k": 50,165    "top_p": 1.0,166    "torch_dtype": null,167    "torchscript": false,168    "transformers_version": "4.27.0.dev0",169    "typical_p": 1.0,170    "use_bfloat16": false171  },172  "vision_config_dict": {173    "hidden_size": 1024,174    "intermediate_size": 4096,175    "num_attention_heads": 16,176    "num_hidden_layers": 24,177    "patch_size": 14178  }179}180