adirik commited on
Commit
753c3da
1 Parent(s): e2b0c76

Upload model

Browse files
Files changed (2) hide show
  1. config.json +227 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,227 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_commit_hash": null,
3
+ "architectures": [
4
+ "ALIGNModel"
5
+ ],
6
+ "initializer_factor": 0.879626,
7
+ "model_type": "align",
8
+ "projection_dim": 640,
9
+ "temperature_init_value": 1.0,
10
+ "text_config": {
11
+ "_name_or_path": "",
12
+ "add_cross_attention": false,
13
+ "architectures": null,
14
+ "attention_probs_dropout_prob": 0.1,
15
+ "bad_words_ids": null,
16
+ "begin_suppress_tokens": null,
17
+ "bos_token_id": null,
18
+ "chunk_size_feed_forward": 0,
19
+ "classifier_dropout": null,
20
+ "cross_attention_hidden_size": null,
21
+ "decoder_start_token_id": null,
22
+ "diversity_penalty": 0.0,
23
+ "do_sample": false,
24
+ "early_stopping": false,
25
+ "encoder_no_repeat_ngram_size": 0,
26
+ "eos_token_id": null,
27
+ "exponential_decay_length_penalty": null,
28
+ "finetuning_task": null,
29
+ "forced_bos_token_id": null,
30
+ "forced_eos_token_id": null,
31
+ "hidden_act": "gelu",
32
+ "hidden_dropout_prob": 0.1,
33
+ "hidden_size": 768,
34
+ "id2label": {
35
+ "0": "LABEL_0",
36
+ "1": "LABEL_1"
37
+ },
38
+ "initializer_range": 0.02,
39
+ "intermediate_size": 3072,
40
+ "is_decoder": false,
41
+ "is_encoder_decoder": false,
42
+ "label2id": {
43
+ "LABEL_0": 0,
44
+ "LABEL_1": 1
45
+ },
46
+ "layer_norm_eps": 1e-12,
47
+ "length_penalty": 1.0,
48
+ "max_length": 20,
49
+ "max_position_embeddings": 512,
50
+ "min_length": 0,
51
+ "model_type": "align_text_model",
52
+ "no_repeat_ngram_size": 0,
53
+ "num_attention_heads": 12,
54
+ "num_beam_groups": 1,
55
+ "num_beams": 1,
56
+ "num_hidden_layers": 12,
57
+ "num_return_sequences": 1,
58
+ "output_attentions": false,
59
+ "output_hidden_states": false,
60
+ "output_scores": false,
61
+ "pad_token_id": 0,
62
+ "position_embedding_type": "absolute",
63
+ "prefix": null,
64
+ "problem_type": null,
65
+ "pruned_heads": {},
66
+ "remove_invalid_values": false,
67
+ "repetition_penalty": 1.0,
68
+ "return_dict": true,
69
+ "return_dict_in_generate": false,
70
+ "sep_token_id": null,
71
+ "suppress_tokens": 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.27.0.dev0",
83
+ "type_vocab_size": 2,
84
+ "typical_p": 1.0,
85
+ "use_bfloat16": false,
86
+ "use_cache": true,
87
+ "vocab_size": 30522
88
+ },
89
+ "torch_dtype": "float32",
90
+ "transformers_version": null,
91
+ "vision_config": {
92
+ "_name_or_path": "",
93
+ "add_cross_attention": false,
94
+ "architectures": [
95
+ "EfficientNetForImageClassification"
96
+ ],
97
+ "bad_words_ids": null,
98
+ "batch_norm_eps": 0.001,
99
+ "batch_norm_momentum": 0.99,
100
+ "begin_suppress_tokens": null,
101
+ "bos_token_id": null,
102
+ "chunk_size_feed_forward": 0,
103
+ "cross_attention_hidden_size": null,
104
+ "decoder_start_token_id": null,
105
+ "depth_coefficient": 3.1,
106
+ "depth_divisor": 8,
107
+ "depthwise_padding": [],
108
+ "diversity_penalty": 0.0,
109
+ "do_sample": false,
110
+ "drop_connect_rate": 0.2,
111
+ "dropout_rate": 0.5,
112
+ "early_stopping": false,
113
+ "encoder_no_repeat_ngram_size": 0,
114
+ "eos_token_id": null,
115
+ "expand_ratios": [
116
+ 1,
117
+ 6,
118
+ 6,
119
+ 6,
120
+ 6,
121
+ 6,
122
+ 6
123
+ ],
124
+ "exponential_decay_length_penalty": null,
125
+ "finetuning_task": null,
126
+ "forced_bos_token_id": null,
127
+ "forced_eos_token_id": null,
128
+ "hidden_act": "swish",
129
+ "hidden_dim": 640,
130
+ "id2label": {
131
+ "0": "LABEL_0",
132
+ "1": "LABEL_1"
133
+ },
134
+ "image_size": 289,
135
+ "in_channels": [
136
+ 32,
137
+ 16,
138
+ 24,
139
+ 40,
140
+ 80,
141
+ 112,
142
+ 192
143
+ ],
144
+ "initializer_range": 0.02,
145
+ "is_decoder": false,
146
+ "is_encoder_decoder": false,
147
+ "kernel_sizes": [
148
+ 3,
149
+ 3,
150
+ 5,
151
+ 3,
152
+ 5,
153
+ 5,
154
+ 3
155
+ ],
156
+ "label2id": {
157
+ "LABEL_0": 0,
158
+ "LABEL_1": 1
159
+ },
160
+ "length_penalty": 1.0,
161
+ "max_length": 20,
162
+ "min_length": 0,
163
+ "model_type": "align_vision_model",
164
+ "no_repeat_ngram_size": 0,
165
+ "num_beam_groups": 1,
166
+ "num_beams": 1,
167
+ "num_block_repeats": [
168
+ 1,
169
+ 2,
170
+ 2,
171
+ 3,
172
+ 3,
173
+ 4,
174
+ 1
175
+ ],
176
+ "num_channels": 3,
177
+ "num_hidden_layers": 64,
178
+ "num_return_sequences": 1,
179
+ "out_channels": [
180
+ 16,
181
+ 24,
182
+ 40,
183
+ 80,
184
+ 112,
185
+ 192,
186
+ 320
187
+ ],
188
+ "output_attentions": false,
189
+ "output_hidden_states": false,
190
+ "output_scores": false,
191
+ "pad_token_id": null,
192
+ "pooling_type": "mean",
193
+ "prefix": null,
194
+ "problem_type": null,
195
+ "pruned_heads": {},
196
+ "remove_invalid_values": false,
197
+ "repetition_penalty": 1.0,
198
+ "return_dict": true,
199
+ "return_dict_in_generate": false,
200
+ "sep_token_id": null,
201
+ "squeeze_expansion_ratio": 0.25,
202
+ "strides": [
203
+ 1,
204
+ 2,
205
+ 2,
206
+ 2,
207
+ 1,
208
+ 2,
209
+ 1
210
+ ],
211
+ "suppress_tokens": null,
212
+ "task_specific_params": null,
213
+ "temperature": 1.0,
214
+ "tf_legacy_loss": false,
215
+ "tie_encoder_decoder": false,
216
+ "tie_word_embeddings": true,
217
+ "tokenizer_class": null,
218
+ "top_k": 50,
219
+ "top_p": 1.0,
220
+ "torch_dtype": "float32",
221
+ "torchscript": false,
222
+ "transformers_version": "4.27.0.dev0",
223
+ "typical_p": 1.0,
224
+ "use_bfloat16": false,
225
+ "width_coefficient": 2.0
226
+ }
227
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c9951a40414b2e1ba3dcf004dd46998199fc4413b67c6a70232c9e27dba8c249
3
+ size 690177508