innocent-charles
commited on
Commit
•
2b37949
1
Parent(s):
6abafc6
Upload folder using huggingface_hub
Browse files- config.json +77 -53
- model.safetensors +2 -2
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -4,51 +4,54 @@
|
|
4 |
"CLIPModel"
|
5 |
],
|
6 |
"initializer_factor": 1.0,
|
7 |
-
"logit_scale_init_value": 2.
|
8 |
"model_type": "clip",
|
9 |
-
"projection_dim":
|
10 |
"text_config": {
|
11 |
-
"_name_or_path": "
|
12 |
"add_cross_attention": false,
|
13 |
-
"architectures":
|
14 |
-
|
15 |
-
|
16 |
-
"
|
|
|
|
|
17 |
"chunk_size_feed_forward": 0,
|
18 |
-
"cross_attention_hidden_size":
|
19 |
-
"decoder_start_token_id":
|
20 |
"diversity_penalty": 0.0,
|
21 |
"do_sample": false,
|
22 |
-
"dropout":
|
23 |
"early_stopping": false,
|
24 |
"encoder_no_repeat_ngram_size": 0,
|
25 |
-
"eos_token_id":
|
26 |
-
"
|
27 |
-
"
|
28 |
-
"
|
29 |
-
"
|
30 |
-
"
|
|
|
31 |
"id2label": {
|
32 |
"0": "LABEL_0",
|
33 |
"1": "LABEL_1"
|
34 |
},
|
35 |
"initializer_factor": 1.0,
|
36 |
"initializer_range": 0.02,
|
37 |
-
"intermediate_size":
|
38 |
"is_decoder": false,
|
39 |
"is_encoder_decoder": false,
|
40 |
"label2id": {
|
41 |
"LABEL_0": 0,
|
42 |
"LABEL_1": 1
|
43 |
},
|
44 |
-
"layer_norm_eps": 1e-
|
45 |
"length_penalty": 1.0,
|
46 |
"max_length": 20,
|
47 |
-
"max_position_embeddings":
|
48 |
"min_length": 0,
|
49 |
-
"model_type": "
|
50 |
"no_repeat_ngram_size": 0,
|
51 |
-
"num_attention_heads":
|
52 |
"num_beam_groups": 1,
|
53 |
"num_beams": 1,
|
54 |
"num_hidden_layers": 12,
|
@@ -56,60 +59,70 @@
|
|
56 |
"output_attentions": false,
|
57 |
"output_hidden_states": false,
|
58 |
"output_scores": false,
|
59 |
-
"pad_token_id":
|
60 |
-
"prefix":
|
61 |
-
"
|
62 |
-
"
|
63 |
"pruned_heads": {},
|
64 |
"remove_invalid_values": false,
|
65 |
"repetition_penalty": 1.0,
|
66 |
"return_dict": true,
|
67 |
"return_dict_in_generate": false,
|
68 |
-
"sep_token_id":
|
69 |
-
"task_specific_params":
|
70 |
"temperature": 1.0,
|
|
|
71 |
"tie_encoder_decoder": false,
|
72 |
"tie_word_embeddings": true,
|
73 |
-
"tokenizer_class":
|
74 |
"top_k": 50,
|
75 |
"top_p": 1.0,
|
76 |
-
"torch_dtype":
|
77 |
"torchscript": false,
|
78 |
-
"transformers_version": "4.
|
|
|
79 |
"use_bfloat16": false,
|
80 |
-
"vocab_size":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
81 |
},
|
82 |
-
"
|
83 |
-
"transformers_version":
|
84 |
"vision_config": {
|
85 |
"_name_or_path": "",
|
86 |
"add_cross_attention": false,
|
87 |
-
"architectures":
|
88 |
"attention_dropout": 0.0,
|
89 |
-
"bad_words_ids":
|
90 |
-
"bos_token_id":
|
91 |
"chunk_size_feed_forward": 0,
|
92 |
-
"cross_attention_hidden_size":
|
93 |
-
"decoder_start_token_id":
|
94 |
"diversity_penalty": 0.0,
|
95 |
"do_sample": false,
|
96 |
"dropout": 0.0,
|
97 |
"early_stopping": false,
|
98 |
"encoder_no_repeat_ngram_size": 0,
|
99 |
-
"eos_token_id":
|
100 |
-
"
|
101 |
-
"
|
102 |
-
"
|
103 |
-
"
|
104 |
-
"
|
|
|
105 |
"id2label": {
|
106 |
"0": "LABEL_0",
|
107 |
"1": "LABEL_1"
|
108 |
},
|
109 |
-
"image_size":
|
110 |
"initializer_factor": 1.0,
|
111 |
"initializer_range": 0.02,
|
112 |
-
"intermediate_size":
|
113 |
"is_decoder": false,
|
114 |
"is_encoder_decoder": false,
|
115 |
"label2id": {
|
@@ -122,19 +135,20 @@
|
|
122 |
"min_length": 0,
|
123 |
"model_type": "clip_vision_model",
|
124 |
"no_repeat_ngram_size": 0,
|
125 |
-
"num_attention_heads":
|
126 |
"num_beam_groups": 1,
|
127 |
"num_beams": 1,
|
128 |
-
"
|
|
|
129 |
"num_return_sequences": 1,
|
130 |
"output_attentions": false,
|
131 |
"output_hidden_states": false,
|
132 |
"output_scores": false,
|
133 |
-
"pad_token_id":
|
134 |
-
"patch_size":
|
135 |
"prefix": null,
|
136 |
-
"projection_dim" : 512,
|
137 |
"problem_type": null,
|
|
|
138 |
"pruned_heads": {},
|
139 |
"remove_invalid_values": false,
|
140 |
"repetition_penalty": 1.0,
|
@@ -143,6 +157,7 @@
|
|
143 |
"sep_token_id": null,
|
144 |
"task_specific_params": null,
|
145 |
"temperature": 1.0,
|
|
|
146 |
"tie_encoder_decoder": false,
|
147 |
"tie_word_embeddings": true,
|
148 |
"tokenizer_class": null,
|
@@ -150,8 +165,17 @@
|
|
150 |
"top_p": 1.0,
|
151 |
"torch_dtype": null,
|
152 |
"torchscript": false,
|
153 |
-
"transformers_version": "4.
|
|
|
154 |
"use_bfloat16": false
|
155 |
},
|
156 |
-
"vision_config_dict":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
157 |
}
|
|
|
4 |
"CLIPModel"
|
5 |
],
|
6 |
"initializer_factor": 1.0,
|
7 |
+
"logit_scale_init_value": 2.659260036932778,
|
8 |
"model_type": "clip",
|
9 |
+
"projection_dim": 256,
|
10 |
"text_config": {
|
11 |
+
"_name_or_path": "",
|
12 |
"add_cross_attention": false,
|
13 |
+
"architectures": [
|
14 |
+
"BertModel"
|
15 |
+
],
|
16 |
+
"attention_probs_dropout_prob": 0.1,
|
17 |
+
"bad_words_ids": null,
|
18 |
+
"bos_token_id": null,
|
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 |
+
"dropout": null,
|
25 |
"early_stopping": false,
|
26 |
"encoder_no_repeat_ngram_size": 0,
|
27 |
+
"eos_token_id": null,
|
28 |
+
"exponential_decay_length_penalty": null,
|
29 |
+
"finetuning_task": null,
|
30 |
+
"forced_bos_token_id": null,
|
31 |
+
"forced_eos_token_id": null,
|
32 |
+
"hidden_act": "gelu",
|
33 |
+
"hidden_size": 768,
|
34 |
"id2label": {
|
35 |
"0": "LABEL_0",
|
36 |
"1": "LABEL_1"
|
37 |
},
|
38 |
"initializer_factor": 1.0,
|
39 |
"initializer_range": 0.02,
|
40 |
+
"intermediate_size": 3072,
|
41 |
"is_decoder": false,
|
42 |
"is_encoder_decoder": false,
|
43 |
"label2id": {
|
44 |
"LABEL_0": 0,
|
45 |
"LABEL_1": 1
|
46 |
},
|
47 |
+
"layer_norm_eps": 1e-12,
|
48 |
"length_penalty": 1.0,
|
49 |
"max_length": 20,
|
50 |
+
"max_position_embeddings": 512,
|
51 |
"min_length": 0,
|
52 |
+
"model_type": "bert",
|
53 |
"no_repeat_ngram_size": 0,
|
54 |
+
"num_attention_heads": 12,
|
55 |
"num_beam_groups": 1,
|
56 |
"num_beams": 1,
|
57 |
"num_hidden_layers": 12,
|
|
|
59 |
"output_attentions": false,
|
60 |
"output_hidden_states": false,
|
61 |
"output_scores": false,
|
62 |
+
"pad_token_id": 0,
|
63 |
+
"prefix": null,
|
64 |
+
"problem_type": null,
|
65 |
+
"projection_dim": 256,
|
66 |
"pruned_heads": {},
|
67 |
"remove_invalid_values": false,
|
68 |
"repetition_penalty": 1.0,
|
69 |
"return_dict": true,
|
70 |
"return_dict_in_generate": false,
|
71 |
+
"sep_token_id": 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.7.0",
|
83 |
+
"typical_p": 1.0,
|
84 |
"use_bfloat16": false,
|
85 |
+
"vocab_size": 501153
|
86 |
+
},
|
87 |
+
"text_config_dict": {
|
88 |
+
"hidden_size": 768,
|
89 |
+
"intermediate_size": 3072,
|
90 |
+
"num_attention_heads": 12,
|
91 |
+
"num_hidden_layers": 12,
|
92 |
+
"projection_dim": 256
|
93 |
},
|
94 |
+
"torch_dtype": "float32",
|
95 |
+
"transformers_version": "4.7.0",
|
96 |
"vision_config": {
|
97 |
"_name_or_path": "",
|
98 |
"add_cross_attention": false,
|
99 |
+
"architectures": null,
|
100 |
"attention_dropout": 0.0,
|
101 |
+
"bad_words_ids": 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 |
"dropout": 0.0,
|
109 |
"early_stopping": false,
|
110 |
"encoder_no_repeat_ngram_size": 0,
|
111 |
+
"eos_token_id": null,
|
112 |
+
"exponential_decay_length_penalty": null,
|
113 |
+
"finetuning_task": null,
|
114 |
+
"forced_bos_token_id": null,
|
115 |
+
"forced_eos_token_id": null,
|
116 |
+
"hidden_act": "gelu",
|
117 |
+
"hidden_size": 1024,
|
118 |
"id2label": {
|
119 |
"0": "LABEL_0",
|
120 |
"1": "LABEL_1"
|
121 |
},
|
122 |
+
"image_size": 336,
|
123 |
"initializer_factor": 1.0,
|
124 |
"initializer_range": 0.02,
|
125 |
+
"intermediate_size": 4096,
|
126 |
"is_decoder": false,
|
127 |
"is_encoder_decoder": false,
|
128 |
"label2id": {
|
|
|
135 |
"min_length": 0,
|
136 |
"model_type": "clip_vision_model",
|
137 |
"no_repeat_ngram_size": 0,
|
138 |
+
"num_attention_heads": 16,
|
139 |
"num_beam_groups": 1,
|
140 |
"num_beams": 1,
|
141 |
+
"num_channels": 3,
|
142 |
+
"num_hidden_layers": 24,
|
143 |
"num_return_sequences": 1,
|
144 |
"output_attentions": false,
|
145 |
"output_hidden_states": false,
|
146 |
"output_scores": false,
|
147 |
+
"pad_token_id": null,
|
148 |
+
"patch_size": 14,
|
149 |
"prefix": null,
|
|
|
150 |
"problem_type": null,
|
151 |
+
"projection_dim": 256,
|
152 |
"pruned_heads": {},
|
153 |
"remove_invalid_values": false,
|
154 |
"repetition_penalty": 1.0,
|
|
|
157 |
"sep_token_id": 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,
|
|
|
165 |
"top_p": 1.0,
|
166 |
"torch_dtype": null,
|
167 |
"torchscript": false,
|
168 |
+
"transformers_version": "4.7.0",
|
169 |
+
"typical_p": 1.0,
|
170 |
"use_bfloat16": false
|
171 |
},
|
172 |
+
"vision_config_dict": {
|
173 |
+
"hidden_size": 1024,
|
174 |
+
"image_size": 336,
|
175 |
+
"intermediate_size": 4096,
|
176 |
+
"num_attention_heads": 16,
|
177 |
+
"num_hidden_layers": 24,
|
178 |
+
"patch_size": 14,
|
179 |
+
"projection_dim": 256
|
180 |
+
}
|
181 |
}
|
model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2f16f01f95434a23d49d014b12e5ee3029c96ea3f25d0474d66d5498beff4413
|
3 |
+
size 3100166548
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:86041968dabea9e419adf5f53d8e3d4dbee80068bcb451d261169d23fbc25483
|
3 |
+
size 3100329078
|