add tf model

This commit is contained in:
patil-suraj 2022-01-05 13:19:16 +00:00
parent 7acb5c9a46
commit 27464f12df
2 changed files with 11 additions and 4 deletions

View File

@ -1,8 +1,10 @@
{ {
"_name_or_path": "openai/clip-vit-base-patch32",
"architectures": [ "architectures": [
"CLIPModel" "CLIPModel"
], ],
"initializer_factor": 1.0, "initializer_factor": 1.0,
"logit_scale_init_value": 2.6592,
"model_type": "clip", "model_type": "clip",
"projection_dim": 512, "projection_dim": 512,
"text_config": { "text_config": {
@ -13,6 +15,7 @@
"bad_words_ids": null, "bad_words_ids": null,
"bos_token_id": 0, "bos_token_id": 0,
"chunk_size_feed_forward": 0, "chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null, "decoder_start_token_id": null,
"diversity_penalty": 0.0, "diversity_penalty": 0.0,
"do_sample": false, "do_sample": false,
@ -23,7 +26,6 @@
"finetuning_task": null, "finetuning_task": null,
"forced_bos_token_id": null, "forced_bos_token_id": null,
"forced_eos_token_id": null, "forced_eos_token_id": null,
"gradient_checkpointing": false,
"hidden_act": "quick_gelu", "hidden_act": "quick_gelu",
"hidden_size": 512, "hidden_size": 512,
"id2label": { "id2label": {
@ -70,8 +72,9 @@
"tokenizer_class": null, "tokenizer_class": null,
"top_k": 50, "top_k": 50,
"top_p": 1.0, "top_p": 1.0,
"torch_dtype": null,
"torchscript": false, "torchscript": false,
"transformers_version": "4.7.0.dev0", "transformers_version": "4.16.0.dev0",
"use_bfloat16": false, "use_bfloat16": false,
"vocab_size": 49408 "vocab_size": 49408
}, },
@ -85,6 +88,7 @@
"bad_words_ids": null, "bad_words_ids": null,
"bos_token_id": null, "bos_token_id": null,
"chunk_size_feed_forward": 0, "chunk_size_feed_forward": 0,
"cross_attention_hidden_size": null,
"decoder_start_token_id": null, "decoder_start_token_id": null,
"diversity_penalty": 0.0, "diversity_penalty": 0.0,
"do_sample": false, "do_sample": false,
@ -95,7 +99,6 @@
"finetuning_task": null, "finetuning_task": null,
"forced_bos_token_id": null, "forced_bos_token_id": null,
"forced_eos_token_id": null, "forced_eos_token_id": null,
"gradient_checkpointing": false,
"hidden_act": "quick_gelu", "hidden_act": "quick_gelu",
"hidden_size": 768, "hidden_size": 768,
"id2label": { "id2label": {
@ -143,8 +146,9 @@
"tokenizer_class": null, "tokenizer_class": null,
"top_k": 50, "top_k": 50,
"top_p": 1.0, "top_p": 1.0,
"torch_dtype": null,
"torchscript": false, "torchscript": false,
"transformers_version": "4.7.0.dev0", "transformers_version": "4.16.0.dev0",
"use_bfloat16": false "use_bfloat16": false
}, },
"vision_config_dict": null "vision_config_dict": null

BIN
tf_model.h5 (Stored with Git LFS) Normal file

Binary file not shown.