add tf model
Browse files- config.json +8 -4
- tf_model.h5 +3 -0
config.json
CHANGED
@@ -1,8 +1,10 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"CLIPModel"
|
4 |
],
|
5 |
"initializer_factor": 1.0,
|
|
|
6 |
"model_type": "clip",
|
7 |
"projection_dim": 512,
|
8 |
"text_config": {
|
@@ -13,6 +15,7 @@
|
|
13 |
"bad_words_ids": null,
|
14 |
"bos_token_id": 0,
|
15 |
"chunk_size_feed_forward": 0,
|
|
|
16 |
"decoder_start_token_id": null,
|
17 |
"diversity_penalty": 0.0,
|
18 |
"do_sample": false,
|
@@ -23,7 +26,6 @@
|
|
23 |
"finetuning_task": null,
|
24 |
"forced_bos_token_id": null,
|
25 |
"forced_eos_token_id": null,
|
26 |
-
"gradient_checkpointing": false,
|
27 |
"hidden_act": "quick_gelu",
|
28 |
"hidden_size": 512,
|
29 |
"id2label": {
|
@@ -70,8 +72,9 @@
|
|
70 |
"tokenizer_class": null,
|
71 |
"top_k": 50,
|
72 |
"top_p": 1.0,
|
|
|
73 |
"torchscript": false,
|
74 |
-
"transformers_version": "4.
|
75 |
"use_bfloat16": false,
|
76 |
"vocab_size": 49408
|
77 |
},
|
@@ -85,6 +88,7 @@
|
|
85 |
"bad_words_ids": null,
|
86 |
"bos_token_id": null,
|
87 |
"chunk_size_feed_forward": 0,
|
|
|
88 |
"decoder_start_token_id": null,
|
89 |
"diversity_penalty": 0.0,
|
90 |
"do_sample": false,
|
@@ -95,7 +99,6 @@
|
|
95 |
"finetuning_task": null,
|
96 |
"forced_bos_token_id": null,
|
97 |
"forced_eos_token_id": null,
|
98 |
-
"gradient_checkpointing": false,
|
99 |
"hidden_act": "quick_gelu",
|
100 |
"hidden_size": 768,
|
101 |
"id2label": {
|
@@ -143,8 +146,9 @@
|
|
143 |
"tokenizer_class": null,
|
144 |
"top_k": 50,
|
145 |
"top_p": 1.0,
|
|
|
146 |
"torchscript": false,
|
147 |
-
"transformers_version": "4.
|
148 |
"use_bfloat16": false
|
149 |
},
|
150 |
"vision_config_dict": null
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "openai/clip-vit-base-patch32",
|
3 |
"architectures": [
|
4 |
"CLIPModel"
|
5 |
],
|
6 |
"initializer_factor": 1.0,
|
7 |
+
"logit_scale_init_value": 2.6592,
|
8 |
"model_type": "clip",
|
9 |
"projection_dim": 512,
|
10 |
"text_config": {
|
|
|
15 |
"bad_words_ids": null,
|
16 |
"bos_token_id": 0,
|
17 |
"chunk_size_feed_forward": 0,
|
18 |
+
"cross_attention_hidden_size": null,
|
19 |
"decoder_start_token_id": null,
|
20 |
"diversity_penalty": 0.0,
|
21 |
"do_sample": false,
|
|
|
26 |
"finetuning_task": null,
|
27 |
"forced_bos_token_id": null,
|
28 |
"forced_eos_token_id": null,
|
|
|
29 |
"hidden_act": "quick_gelu",
|
30 |
"hidden_size": 512,
|
31 |
"id2label": {
|
|
|
72 |
"tokenizer_class": null,
|
73 |
"top_k": 50,
|
74 |
"top_p": 1.0,
|
75 |
+
"torch_dtype": null,
|
76 |
"torchscript": false,
|
77 |
+
"transformers_version": "4.16.0.dev0",
|
78 |
"use_bfloat16": false,
|
79 |
"vocab_size": 49408
|
80 |
},
|
|
|
88 |
"bad_words_ids": null,
|
89 |
"bos_token_id": null,
|
90 |
"chunk_size_feed_forward": 0,
|
91 |
+
"cross_attention_hidden_size": null,
|
92 |
"decoder_start_token_id": null,
|
93 |
"diversity_penalty": 0.0,
|
94 |
"do_sample": false,
|
|
|
99 |
"finetuning_task": null,
|
100 |
"forced_bos_token_id": null,
|
101 |
"forced_eos_token_id": null,
|
|
|
102 |
"hidden_act": "quick_gelu",
|
103 |
"hidden_size": 768,
|
104 |
"id2label": {
|
|
|
146 |
"tokenizer_class": null,
|
147 |
"top_k": 50,
|
148 |
"top_p": 1.0,
|
149 |
+
"torch_dtype": null,
|
150 |
"torchscript": false,
|
151 |
+
"transformers_version": "4.16.0.dev0",
|
152 |
"use_bfloat16": false
|
153 |
},
|
154 |
"vision_config_dict": null
|
tf_model.h5
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:0d7e64ea2c496306a4bc0a6a7ab21e4755fd8c7beb01e6d9f5dc8d6662f1bfd2
|
3 |
+
size 605551040
|