CoolFace
Modelpublic

hf-tiny-model-private/tiny-random-BlipForConditionalGeneration

sourceHugging Faceupdated 3y agoView on Hugging Face
0likes48downloads
config.json176 linesDownload Raw Back to root
1{2  "_commit_hash": null,3  "architectures": [4    "BlipForConditionalGeneration"5  ],6  "bos_token_id": 0,7  "eos_token_id": 2,8  "image_text_hidden_size": 256,9  "initializer_factor": 1.0,10  "initializer_range": 0.02,11  "logit_scale_init_value": 2.6592,12  "model_type": "blip",13  "pad_token_id": 0,14  "projection_dim": 64,15  "sep_token_id": 3,16  "text_config": {17    "_name_or_path": "",18    "add_cross_attention": false,19    "architectures": null,20    "attention_dropout": 0.1,21    "attention_probs_dropout_prob": 0.0,22    "bad_words_ids": null,23    "begin_suppress_tokens": null,24    "bos_token_id": 0,25    "chunk_size_feed_forward": 0,26    "cross_attention_hidden_size": null,27    "decoder_start_token_id": null,28    "diversity_penalty": 0.0,29    "do_sample": false,30    "dropout": 0.1,31    "early_stopping": false,32    "encoder_hidden_size": 32,33    "encoder_no_repeat_ngram_size": 0,34    "eos_token_id": 2,35    "exponential_decay_length_penalty": null,36    "finetuning_task": null,37    "forced_bos_token_id": null,38    "forced_eos_token_id": null,39    "hidden_act": "gelu",40    "hidden_dropout_prob": 0.0,41    "hidden_size": 32,42    "id2label": {43      "0": "LABEL_0",44      "1": "LABEL_1"45    },46    "initializer_range": 0.02,47    "intermediate_size": 37,48    "is_decoder": true,49    "is_encoder_decoder": false,50    "label2id": {51      "LABEL_0": 0,52      "LABEL_1": 153    },54    "layer_norm_eps": 1e-12,55    "length_penalty": 1.0,56    "max_length": 20,57    "max_position_embeddings": 512,58    "min_length": 0,59    "model_type": "blip_text_model",60    "no_repeat_ngram_size": 0,61    "num_attention_heads": 4,62    "num_beam_groups": 1,63    "num_beams": 1,64    "num_hidden_layers": 5,65    "num_return_sequences": 1,66    "output_attentions": false,67    "output_hidden_states": false,68    "output_scores": false,69    "pad_token_id": 0,70    "prefix": null,71    "problem_type": null,72    "projection_dim": 32,73    "pruned_heads": {},74    "remove_invalid_values": false,75    "repetition_penalty": 1.0,76    "return_dict": true,77    "return_dict_in_generate": false,78    "sep_token_id": 102,79    "suppress_tokens": null,80    "task_specific_params": null,81    "temperature": 1.0,82    "tf_legacy_loss": false,83    "tie_encoder_decoder": false,84    "tie_word_embeddings": true,85    "tokenizer_class": null,86    "top_k": 50,87    "top_p": 1.0,88    "torch_dtype": null,89    "torchscript": false,90    "transformers_version": "4.28.0.dev0",91    "typical_p": 1.0,92    "use_bfloat16": false,93    "use_cache": true,94    "vocab_size": 112495  },96  "torch_dtype": "float32",97  "transformers_version": null,98  "vision_config": {99    "_name_or_path": "",100    "add_cross_attention": false,101    "architectures": null,102    "attention_dropout": 0.1,103    "bad_words_ids": null,104    "begin_suppress_tokens": null,105    "bos_token_id": null,106    "chunk_size_feed_forward": 0,107    "cross_attention_hidden_size": null,108    "decoder_start_token_id": null,109    "diversity_penalty": 0.0,110    "do_sample": false,111    "dropout": 0.1,112    "early_stopping": false,113    "encoder_no_repeat_ngram_size": 0,114    "eos_token_id": null,115    "exponential_decay_length_penalty": null,116    "finetuning_task": null,117    "forced_bos_token_id": null,118    "forced_eos_token_id": null,119    "hidden_act": "gelu",120    "hidden_size": 32,121    "id2label": {122      "0": "LABEL_0",123      "1": "LABEL_1"124    },125    "image_size": 30,126    "initializer_range": 1e-10,127    "intermediate_size": 37,128    "is_decoder": false,129    "is_encoder_decoder": false,130    "label2id": {131      "LABEL_0": 0,132      "LABEL_1": 1133    },134    "layer_norm_eps": 1e-05,135    "length_penalty": 1.0,136    "max_length": 20,137    "min_length": 0,138    "model_type": "blip_vision_model",139    "no_repeat_ngram_size": 0,140    "num_attention_heads": 4,141    "num_beam_groups": 1,142    "num_beams": 1,143    "num_channels": 3,144    "num_hidden_layers": 5,145    "num_return_sequences": 1,146    "output_attentions": false,147    "output_hidden_states": false,148    "output_scores": false,149    "pad_token_id": null,150    "patch_size": 2,151    "prefix": null,152    "problem_type": null,153    "projection_dim": 32,154    "pruned_heads": {},155    "remove_invalid_values": false,156    "repetition_penalty": 1.0,157    "return_dict": true,158    "return_dict_in_generate": false,159    "sep_token_id": null,160    "suppress_tokens": null,161    "task_specific_params": null,162    "temperature": 1.0,163    "tf_legacy_loss": false,164    "tie_encoder_decoder": false,165    "tie_word_embeddings": true,166    "tokenizer_class": null,167    "top_k": 50,168    "top_p": 1.0,169    "torch_dtype": null,170    "torchscript": false,171    "transformers_version": "4.28.0.dev0",172    "typical_p": 1.0,173    "use_bfloat16": false174  }175}176