CoolFace
Modelpublic

optimum-intel-internal-testing/tiny-random-CLIPModel

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