Visual Document Retrieval
Transformers
Safetensors
retriever
dcaffo commited on
Commit
04df2eb
·
verified ·
1 Parent(s): 7dd2453

Upload model

Browse files
Files changed (3) hide show
  1. README.md +199 -0
  2. config.json +476 -0
  3. model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,199 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ tags: []
4
+ ---
5
+
6
+ # Model Card for Model ID
7
+
8
+ <!-- Provide a quick summary of what the model is/does. -->
9
+
10
+
11
+
12
+ ## Model Details
13
+
14
+ ### Model Description
15
+
16
+ <!-- Provide a longer summary of what this model is. -->
17
+
18
+ This is the model card of a 🤗 transformers model that has been pushed on the Hub. This model card has been automatically generated.
19
+
20
+ - **Developed by:** [More Information Needed]
21
+ - **Funded by [optional]:** [More Information Needed]
22
+ - **Shared by [optional]:** [More Information Needed]
23
+ - **Model type:** [More Information Needed]
24
+ - **Language(s) (NLP):** [More Information Needed]
25
+ - **License:** [More Information Needed]
26
+ - **Finetuned from model [optional]:** [More Information Needed]
27
+
28
+ ### Model Sources [optional]
29
+
30
+ <!-- Provide the basic links for the model. -->
31
+
32
+ - **Repository:** [More Information Needed]
33
+ - **Paper [optional]:** [More Information Needed]
34
+ - **Demo [optional]:** [More Information Needed]
35
+
36
+ ## Uses
37
+
38
+ <!-- Address questions around how the model is intended to be used, including the foreseeable users of the model and those affected by the model. -->
39
+
40
+ ### Direct Use
41
+
42
+ <!-- This section is for the model use without fine-tuning or plugging into a larger ecosystem/app. -->
43
+
44
+ [More Information Needed]
45
+
46
+ ### Downstream Use [optional]
47
+
48
+ <!-- This section is for the model use when fine-tuned for a task, or when plugged into a larger ecosystem/app -->
49
+
50
+ [More Information Needed]
51
+
52
+ ### Out-of-Scope Use
53
+
54
+ <!-- This section addresses misuse, malicious use, and uses that the model will not work well for. -->
55
+
56
+ [More Information Needed]
57
+
58
+ ## Bias, Risks, and Limitations
59
+
60
+ <!-- This section is meant to convey both technical and sociotechnical limitations. -->
61
+
62
+ [More Information Needed]
63
+
64
+ ### Recommendations
65
+
66
+ <!-- This section is meant to convey recommendations with respect to the bias, risk, and technical limitations. -->
67
+
68
+ Users (both direct and downstream) should be made aware of the risks, biases and limitations of the model. More information needed for further recommendations.
69
+
70
+ ## How to Get Started with the Model
71
+
72
+ Use the code below to get started with the model.
73
+
74
+ [More Information Needed]
75
+
76
+ ## Training Details
77
+
78
+ ### Training Data
79
+
80
+ <!-- This should link to a Dataset Card, perhaps with a short stub of information on what the training data is all about as well as documentation related to data pre-processing or additional filtering. -->
81
+
82
+ [More Information Needed]
83
+
84
+ ### Training Procedure
85
+
86
+ <!-- This relates heavily to the Technical Specifications. Content here should link to that section when it is relevant to the training procedure. -->
87
+
88
+ #### Preprocessing [optional]
89
+
90
+ [More Information Needed]
91
+
92
+
93
+ #### Training Hyperparameters
94
+
95
+ - **Training regime:** [More Information Needed] <!--fp32, fp16 mixed precision, bf16 mixed precision, bf16 non-mixed precision, fp16 non-mixed precision, fp8 mixed precision -->
96
+
97
+ #### Speeds, Sizes, Times [optional]
98
+
99
+ <!-- This section provides information about throughput, start/end time, checkpoint size if relevant, etc. -->
100
+
101
+ [More Information Needed]
102
+
103
+ ## Evaluation
104
+
105
+ <!-- This section describes the evaluation protocols and provides the results. -->
106
+
107
+ ### Testing Data, Factors & Metrics
108
+
109
+ #### Testing Data
110
+
111
+ <!-- This should link to a Dataset Card if possible. -->
112
+
113
+ [More Information Needed]
114
+
115
+ #### Factors
116
+
117
+ <!-- These are the things the evaluation is disaggregating by, e.g., subpopulations or domains. -->
118
+
119
+ [More Information Needed]
120
+
121
+ #### Metrics
122
+
123
+ <!-- These are the evaluation metrics being used, ideally with a description of why. -->
124
+
125
+ [More Information Needed]
126
+
127
+ ### Results
128
+
129
+ [More Information Needed]
130
+
131
+ #### Summary
132
+
133
+
134
+
135
+ ## Model Examination [optional]
136
+
137
+ <!-- Relevant interpretability work for the model goes here -->
138
+
139
+ [More Information Needed]
140
+
141
+ ## Environmental Impact
142
+
143
+ <!-- Total emissions (in grams of CO2eq) and additional considerations, such as electricity usage, go here. Edit the suggested text below accordingly -->
144
+
145
+ Carbon emissions can be estimated using the [Machine Learning Impact calculator](https://mlco2.github.io/impact#compute) presented in [Lacoste et al. (2019)](https://arxiv.org/abs/1910.09700).
146
+
147
+ - **Hardware Type:** [More Information Needed]
148
+ - **Hours used:** [More Information Needed]
149
+ - **Cloud Provider:** [More Information Needed]
150
+ - **Compute Region:** [More Information Needed]
151
+ - **Carbon Emitted:** [More Information Needed]
152
+
153
+ ## Technical Specifications [optional]
154
+
155
+ ### Model Architecture and Objective
156
+
157
+ [More Information Needed]
158
+
159
+ ### Compute Infrastructure
160
+
161
+ [More Information Needed]
162
+
163
+ #### Hardware
164
+
165
+ [More Information Needed]
166
+
167
+ #### Software
168
+
169
+ [More Information Needed]
170
+
171
+ ## Citation [optional]
172
+
173
+ <!-- If there is a paper or blog post introducing the model, the APA and Bibtex information for that should go in this section. -->
174
+
175
+ **BibTeX:**
176
+
177
+ [More Information Needed]
178
+
179
+ **APA:**
180
+
181
+ [More Information Needed]
182
+
183
+ ## Glossary [optional]
184
+
185
+ <!-- If relevant, include terms and calculations in this section that can help readers understand the model or model card. -->
186
+
187
+ [More Information Needed]
188
+
189
+ ## More Information [optional]
190
+
191
+ [More Information Needed]
192
+
193
+ ## Model Card Authors [optional]
194
+
195
+ [More Information Needed]
196
+
197
+ ## Model Card Contact
198
+
199
+ [More Information Needed]
config.json ADDED
@@ -0,0 +1,476 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "aimagelab/ReT-CLIP-ViT-L-14",
3
+ "architectures": [
4
+ "RetrieverModel"
5
+ ],
6
+ "fg_loss": true,
7
+ "model_type": "retriever",
8
+ "passage_config": {
9
+ "_name_or_path": "",
10
+ "activation_fn": "gelu",
11
+ "add_cross_attention": false,
12
+ "architectures": null,
13
+ "attention_dropout": 0.05,
14
+ "bad_words_ids": null,
15
+ "begin_suppress_tokens": null,
16
+ "bos_token_id": null,
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,
22
+ "dropout_p": 0.05,
23
+ "early_stopping": false,
24
+ "encoder_no_repeat_ngram_size": 0,
25
+ "eos_token_id": null,
26
+ "exponential_decay_length_penalty": null,
27
+ "finetuning_task": null,
28
+ "forced_bos_token_id": null,
29
+ "forced_eos_token_id": null,
30
+ "forget_gate_bias_prior": 0.0,
31
+ "hidden_size": 1024,
32
+ "id2label": {
33
+ "0": "LABEL_0",
34
+ "1": "LABEL_1"
35
+ },
36
+ "input_gate_bias_prior": 0.0,
37
+ "intermediate_size": 4096,
38
+ "is_decoder": false,
39
+ "is_encoder_decoder": false,
40
+ "is_text_frozen": true,
41
+ "is_vision_frozen": true,
42
+ "label2id": {
43
+ "LABEL_0": 0,
44
+ "LABEL_1": 1
45
+ },
46
+ "late_proj_output_size": 128,
47
+ "layer_strategy": "clip_vit_l",
48
+ "length_penalty": 1.0,
49
+ "max_length": 20,
50
+ "min_length": 0,
51
+ "model_type": "ret",
52
+ "no_repeat_ngram_size": 0,
53
+ "num_attention_heads": 16,
54
+ "num_beam_groups": 1,
55
+ "num_beams": 1,
56
+ "num_queries": 32,
57
+ "num_return_sequences": 1,
58
+ "output_attentions": false,
59
+ "output_hidden_states": false,
60
+ "output_scores": false,
61
+ "pad_token_id": null,
62
+ "prefix": null,
63
+ "problem_type": null,
64
+ "pruned_heads": {},
65
+ "remove_invalid_values": false,
66
+ "repetition_penalty": 1.0,
67
+ "return_dict": true,
68
+ "return_dict_in_generate": false,
69
+ "sep_token_id": null,
70
+ "suppress_tokens": null,
71
+ "task_specific_params": null,
72
+ "temperature": 1.0,
73
+ "text_config": {
74
+ "_name_or_path": "openai/clip-vit-large-patch14",
75
+ "add_cross_attention": false,
76
+ "architectures": null,
77
+ "attention_dropout": 0.0,
78
+ "bad_words_ids": null,
79
+ "begin_suppress_tokens": null,
80
+ "bos_token_id": 0,
81
+ "chunk_size_feed_forward": 0,
82
+ "cross_attention_hidden_size": null,
83
+ "decoder_start_token_id": null,
84
+ "diversity_penalty": 0.0,
85
+ "do_sample": false,
86
+ "dropout": 0.0,
87
+ "early_stopping": false,
88
+ "encoder_no_repeat_ngram_size": 0,
89
+ "eos_token_id": 2,
90
+ "exponential_decay_length_penalty": null,
91
+ "finetuning_task": null,
92
+ "forced_bos_token_id": null,
93
+ "forced_eos_token_id": null,
94
+ "hidden_act": "quick_gelu",
95
+ "hidden_size": 768,
96
+ "id2label": {
97
+ "0": "LABEL_0",
98
+ "1": "LABEL_1"
99
+ },
100
+ "initializer_factor": 1.0,
101
+ "initializer_range": 0.02,
102
+ "intermediate_size": 3072,
103
+ "is_decoder": false,
104
+ "is_encoder_decoder": false,
105
+ "label2id": {
106
+ "LABEL_0": 0,
107
+ "LABEL_1": 1
108
+ },
109
+ "layer_norm_eps": 1e-05,
110
+ "length_penalty": 1.0,
111
+ "max_length": 20,
112
+ "max_position_embeddings": 77,
113
+ "min_length": 0,
114
+ "model_type": "clip_text_model",
115
+ "no_repeat_ngram_size": 0,
116
+ "num_attention_heads": 12,
117
+ "num_beam_groups": 1,
118
+ "num_beams": 1,
119
+ "num_hidden_layers": 12,
120
+ "num_return_sequences": 1,
121
+ "output_attentions": false,
122
+ "output_hidden_states": false,
123
+ "output_scores": false,
124
+ "pad_token_id": 1,
125
+ "prefix": null,
126
+ "problem_type": null,
127
+ "projection_dim": 768,
128
+ "pruned_heads": {},
129
+ "remove_invalid_values": false,
130
+ "repetition_penalty": 1.0,
131
+ "return_dict": true,
132
+ "return_dict_in_generate": false,
133
+ "sep_token_id": null,
134
+ "suppress_tokens": null,
135
+ "task_specific_params": null,
136
+ "temperature": 1.0,
137
+ "tf_legacy_loss": false,
138
+ "tie_encoder_decoder": false,
139
+ "tie_word_embeddings": true,
140
+ "tokenizer_class": null,
141
+ "top_k": 50,
142
+ "top_p": 1.0,
143
+ "torch_dtype": null,
144
+ "torchscript": false,
145
+ "typical_p": 1.0,
146
+ "use_bfloat16": false,
147
+ "vocab_size": 49408
148
+ },
149
+ "tf_legacy_loss": false,
150
+ "tie_encoder_decoder": false,
151
+ "tie_word_embeddings": true,
152
+ "tokenizer_class": null,
153
+ "top_k": 50,
154
+ "top_p": 1.0,
155
+ "torch_dtype": null,
156
+ "torchscript": false,
157
+ "typical_p": 1.0,
158
+ "use_bfloat16": false,
159
+ "use_pooler_features": false,
160
+ "use_tanh": false,
161
+ "vision_config": {
162
+ "_name_or_path": "openai/clip-vit-large-patch14",
163
+ "add_cross_attention": false,
164
+ "architectures": null,
165
+ "attention_dropout": 0.0,
166
+ "bad_words_ids": null,
167
+ "begin_suppress_tokens": null,
168
+ "bos_token_id": null,
169
+ "chunk_size_feed_forward": 0,
170
+ "cross_attention_hidden_size": null,
171
+ "decoder_start_token_id": null,
172
+ "diversity_penalty": 0.0,
173
+ "do_sample": false,
174
+ "dropout": 0.0,
175
+ "early_stopping": false,
176
+ "encoder_no_repeat_ngram_size": 0,
177
+ "eos_token_id": null,
178
+ "exponential_decay_length_penalty": null,
179
+ "finetuning_task": null,
180
+ "forced_bos_token_id": null,
181
+ "forced_eos_token_id": null,
182
+ "hidden_act": "quick_gelu",
183
+ "hidden_size": 1024,
184
+ "id2label": {
185
+ "0": "LABEL_0",
186
+ "1": "LABEL_1"
187
+ },
188
+ "image_size": 224,
189
+ "initializer_factor": 1.0,
190
+ "initializer_range": 0.02,
191
+ "intermediate_size": 4096,
192
+ "is_decoder": false,
193
+ "is_encoder_decoder": false,
194
+ "label2id": {
195
+ "LABEL_0": 0,
196
+ "LABEL_1": 1
197
+ },
198
+ "layer_norm_eps": 1e-05,
199
+ "length_penalty": 1.0,
200
+ "max_length": 20,
201
+ "min_length": 0,
202
+ "model_type": "clip_vision_model",
203
+ "no_repeat_ngram_size": 0,
204
+ "num_attention_heads": 16,
205
+ "num_beam_groups": 1,
206
+ "num_beams": 1,
207
+ "num_channels": 3,
208
+ "num_hidden_layers": 24,
209
+ "num_return_sequences": 1,
210
+ "output_attentions": false,
211
+ "output_hidden_states": false,
212
+ "output_scores": false,
213
+ "pad_token_id": null,
214
+ "patch_size": 14,
215
+ "prefix": null,
216
+ "problem_type": null,
217
+ "projection_dim": 768,
218
+ "pruned_heads": {},
219
+ "remove_invalid_values": false,
220
+ "repetition_penalty": 1.0,
221
+ "return_dict": true,
222
+ "return_dict_in_generate": false,
223
+ "sep_token_id": null,
224
+ "suppress_tokens": null,
225
+ "task_specific_params": null,
226
+ "temperature": 1.0,
227
+ "tf_legacy_loss": false,
228
+ "tie_encoder_decoder": false,
229
+ "tie_word_embeddings": true,
230
+ "tokenizer_class": null,
231
+ "top_k": 50,
232
+ "top_p": 1.0,
233
+ "torch_dtype": null,
234
+ "torchscript": false,
235
+ "typical_p": 1.0,
236
+ "use_bfloat16": false
237
+ }
238
+ },
239
+ "query_config": {
240
+ "_name_or_path": "",
241
+ "activation_fn": "gelu",
242
+ "add_cross_attention": false,
243
+ "architectures": null,
244
+ "attention_dropout": 0.05,
245
+ "bad_words_ids": null,
246
+ "begin_suppress_tokens": null,
247
+ "bos_token_id": null,
248
+ "chunk_size_feed_forward": 0,
249
+ "cross_attention_hidden_size": null,
250
+ "decoder_start_token_id": null,
251
+ "diversity_penalty": 0.0,
252
+ "do_sample": false,
253
+ "dropout_p": 0.05,
254
+ "early_stopping": false,
255
+ "encoder_no_repeat_ngram_size": 0,
256
+ "eos_token_id": null,
257
+ "exponential_decay_length_penalty": null,
258
+ "finetuning_task": null,
259
+ "forced_bos_token_id": null,
260
+ "forced_eos_token_id": null,
261
+ "forget_gate_bias_prior": 0.0,
262
+ "hidden_size": 1024,
263
+ "id2label": {
264
+ "0": "LABEL_0",
265
+ "1": "LABEL_1"
266
+ },
267
+ "input_gate_bias_prior": 0.0,
268
+ "intermediate_size": 4096,
269
+ "is_decoder": false,
270
+ "is_encoder_decoder": false,
271
+ "is_text_frozen": true,
272
+ "is_vision_frozen": true,
273
+ "label2id": {
274
+ "LABEL_0": 0,
275
+ "LABEL_1": 1
276
+ },
277
+ "late_proj_output_size": 128,
278
+ "layer_strategy": "clip_vit_l",
279
+ "length_penalty": 1.0,
280
+ "max_length": 20,
281
+ "min_length": 0,
282
+ "model_type": "ret",
283
+ "no_repeat_ngram_size": 0,
284
+ "num_attention_heads": 16,
285
+ "num_beam_groups": 1,
286
+ "num_beams": 1,
287
+ "num_queries": 32,
288
+ "num_return_sequences": 1,
289
+ "output_attentions": false,
290
+ "output_hidden_states": false,
291
+ "output_scores": false,
292
+ "pad_token_id": null,
293
+ "prefix": null,
294
+ "problem_type": null,
295
+ "pruned_heads": {},
296
+ "remove_invalid_values": false,
297
+ "repetition_penalty": 1.0,
298
+ "return_dict": true,
299
+ "return_dict_in_generate": false,
300
+ "sep_token_id": null,
301
+ "suppress_tokens": null,
302
+ "task_specific_params": null,
303
+ "temperature": 1.0,
304
+ "text_config": {
305
+ "_name_or_path": "openai/clip-vit-large-patch14",
306
+ "add_cross_attention": false,
307
+ "architectures": null,
308
+ "attention_dropout": 0.0,
309
+ "bad_words_ids": null,
310
+ "begin_suppress_tokens": null,
311
+ "bos_token_id": 0,
312
+ "chunk_size_feed_forward": 0,
313
+ "cross_attention_hidden_size": null,
314
+ "decoder_start_token_id": null,
315
+ "diversity_penalty": 0.0,
316
+ "do_sample": false,
317
+ "dropout": 0.0,
318
+ "early_stopping": false,
319
+ "encoder_no_repeat_ngram_size": 0,
320
+ "eos_token_id": 2,
321
+ "exponential_decay_length_penalty": null,
322
+ "finetuning_task": null,
323
+ "forced_bos_token_id": null,
324
+ "forced_eos_token_id": null,
325
+ "hidden_act": "quick_gelu",
326
+ "hidden_size": 768,
327
+ "id2label": {
328
+ "0": "LABEL_0",
329
+ "1": "LABEL_1"
330
+ },
331
+ "initializer_factor": 1.0,
332
+ "initializer_range": 0.02,
333
+ "intermediate_size": 3072,
334
+ "is_decoder": false,
335
+ "is_encoder_decoder": false,
336
+ "label2id": {
337
+ "LABEL_0": 0,
338
+ "LABEL_1": 1
339
+ },
340
+ "layer_norm_eps": 1e-05,
341
+ "length_penalty": 1.0,
342
+ "max_length": 20,
343
+ "max_position_embeddings": 77,
344
+ "min_length": 0,
345
+ "model_type": "clip_text_model",
346
+ "no_repeat_ngram_size": 0,
347
+ "num_attention_heads": 12,
348
+ "num_beam_groups": 1,
349
+ "num_beams": 1,
350
+ "num_hidden_layers": 12,
351
+ "num_return_sequences": 1,
352
+ "output_attentions": false,
353
+ "output_hidden_states": false,
354
+ "output_scores": false,
355
+ "pad_token_id": 1,
356
+ "prefix": null,
357
+ "problem_type": null,
358
+ "projection_dim": 768,
359
+ "pruned_heads": {},
360
+ "remove_invalid_values": false,
361
+ "repetition_penalty": 1.0,
362
+ "return_dict": true,
363
+ "return_dict_in_generate": false,
364
+ "sep_token_id": null,
365
+ "suppress_tokens": null,
366
+ "task_specific_params": null,
367
+ "temperature": 1.0,
368
+ "tf_legacy_loss": false,
369
+ "tie_encoder_decoder": false,
370
+ "tie_word_embeddings": true,
371
+ "tokenizer_class": null,
372
+ "top_k": 50,
373
+ "top_p": 1.0,
374
+ "torch_dtype": null,
375
+ "torchscript": false,
376
+ "typical_p": 1.0,
377
+ "use_bfloat16": false,
378
+ "vocab_size": 49408
379
+ },
380
+ "tf_legacy_loss": false,
381
+ "tie_encoder_decoder": false,
382
+ "tie_word_embeddings": true,
383
+ "tokenizer_class": null,
384
+ "top_k": 50,
385
+ "top_p": 1.0,
386
+ "torch_dtype": null,
387
+ "torchscript": false,
388
+ "typical_p": 1.0,
389
+ "use_bfloat16": false,
390
+ "use_pooler_features": false,
391
+ "use_tanh": false,
392
+ "vision_config": {
393
+ "_name_or_path": "openai/clip-vit-large-patch14",
394
+ "add_cross_attention": false,
395
+ "architectures": null,
396
+ "attention_dropout": 0.0,
397
+ "bad_words_ids": null,
398
+ "begin_suppress_tokens": null,
399
+ "bos_token_id": null,
400
+ "chunk_size_feed_forward": 0,
401
+ "cross_attention_hidden_size": null,
402
+ "decoder_start_token_id": null,
403
+ "diversity_penalty": 0.0,
404
+ "do_sample": false,
405
+ "dropout": 0.0,
406
+ "early_stopping": false,
407
+ "encoder_no_repeat_ngram_size": 0,
408
+ "eos_token_id": null,
409
+ "exponential_decay_length_penalty": null,
410
+ "finetuning_task": null,
411
+ "forced_bos_token_id": null,
412
+ "forced_eos_token_id": null,
413
+ "hidden_act": "quick_gelu",
414
+ "hidden_size": 1024,
415
+ "id2label": {
416
+ "0": "LABEL_0",
417
+ "1": "LABEL_1"
418
+ },
419
+ "image_size": 224,
420
+ "initializer_factor": 1.0,
421
+ "initializer_range": 0.02,
422
+ "intermediate_size": 4096,
423
+ "is_decoder": false,
424
+ "is_encoder_decoder": false,
425
+ "label2id": {
426
+ "LABEL_0": 0,
427
+ "LABEL_1": 1
428
+ },
429
+ "layer_norm_eps": 1e-05,
430
+ "length_penalty": 1.0,
431
+ "max_length": 20,
432
+ "min_length": 0,
433
+ "model_type": "clip_vision_model",
434
+ "no_repeat_ngram_size": 0,
435
+ "num_attention_heads": 16,
436
+ "num_beam_groups": 1,
437
+ "num_beams": 1,
438
+ "num_channels": 3,
439
+ "num_hidden_layers": 24,
440
+ "num_return_sequences": 1,
441
+ "output_attentions": false,
442
+ "output_hidden_states": false,
443
+ "output_scores": false,
444
+ "pad_token_id": null,
445
+ "patch_size": 14,
446
+ "prefix": null,
447
+ "problem_type": null,
448
+ "projection_dim": 768,
449
+ "pruned_heads": {},
450
+ "remove_invalid_values": false,
451
+ "repetition_penalty": 1.0,
452
+ "return_dict": true,
453
+ "return_dict_in_generate": false,
454
+ "sep_token_id": null,
455
+ "suppress_tokens": null,
456
+ "task_specific_params": null,
457
+ "temperature": 1.0,
458
+ "tf_legacy_loss": false,
459
+ "tie_encoder_decoder": false,
460
+ "tie_word_embeddings": true,
461
+ "tokenizer_class": null,
462
+ "top_k": 50,
463
+ "top_p": 1.0,
464
+ "torch_dtype": null,
465
+ "torchscript": false,
466
+ "typical_p": 1.0,
467
+ "use_bfloat16": false
468
+ }
469
+ },
470
+ "share_query_passage_models": false,
471
+ "share_text_models": true,
472
+ "share_vision_models": true,
473
+ "simmetric_loss": true,
474
+ "torch_dtype": "float32",
475
+ "transformers_version": "4.45.0"
476
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:029f1a02de3c5f7c5db2f553d7b23a6a20b06856f22629d2ce6227b7930a9b0f
3
+ size 2084510312