ssonpull519 commited on
Commit
d26168c
·
verified ·
1 Parent(s): e174aad

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,5 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ onnx/decoder_model_merged.onnx_data filter=lfs diff=lfs merge=lfs -text
37
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
config.json ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_attn_implementation_autoset": true,
3
+ "architectures": [
4
+ "ColPaliForRetrieval"
5
+ ],
6
+ "embedding_dim": 128,
7
+ "is_composition": false,
8
+ "model_type": "colpali",
9
+ "text_config": {
10
+ "attention_bias": false,
11
+ "attention_dropout": 0.0,
12
+ "head_dim": 256,
13
+ "hidden_act": "gelu_pytorch_tanh",
14
+ "hidden_activation": null,
15
+ "hidden_size": 2048,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 16384,
18
+ "max_position_embeddings": 8192,
19
+ "model_type": "gemma",
20
+ "num_attention_heads": 8,
21
+ "num_hidden_layers": 18,
22
+ "num_image_tokens": 1024,
23
+ "num_key_value_heads": 1,
24
+ "rms_norm_eps": 1e-06,
25
+ "rope_theta": 10000.0,
26
+ "torch_dtype": "float32",
27
+ "use_cache": true,
28
+ "vocab_size": 257216
29
+ },
30
+ "torch_dtype": "float32",
31
+ "transformers_version": "4.51.3",
32
+ "vlm_config": {
33
+ "_name_or_path": "google/paligemma-3b-mix-448",
34
+ "_vocab_size": 257216,
35
+ "bos_token_id": 2,
36
+ "eos_token_id": 1,
37
+ "hidden_size": 2048,
38
+ "image_token_index": 257152,
39
+ "model_type": "paligemma",
40
+ "pad_token_id": 0,
41
+ "projection_dim": 2048,
42
+ "text_config": {
43
+ "_attn_implementation_autoset": false,
44
+ "_name_or_path": "",
45
+ "add_cross_attention": false,
46
+ "architectures": null,
47
+ "attention_bias": false,
48
+ "attention_dropout": 0.0,
49
+ "bad_words_ids": null,
50
+ "begin_suppress_tokens": null,
51
+ "bos_token_id": 2,
52
+ "chunk_size_feed_forward": 0,
53
+ "cross_attention_hidden_size": null,
54
+ "decoder_start_token_id": null,
55
+ "diversity_penalty": 0.0,
56
+ "do_sample": false,
57
+ "early_stopping": false,
58
+ "encoder_no_repeat_ngram_size": 0,
59
+ "eos_token_id": 1,
60
+ "exponential_decay_length_penalty": null,
61
+ "finetuning_task": null,
62
+ "forced_bos_token_id": null,
63
+ "forced_eos_token_id": null,
64
+ "head_dim": 256,
65
+ "hidden_act": "gelu_pytorch_tanh",
66
+ "hidden_activation": null,
67
+ "hidden_size": 2048,
68
+ "id2label": {
69
+ "0": "LABEL_0",
70
+ "1": "LABEL_1"
71
+ },
72
+ "initializer_range": 0.02,
73
+ "intermediate_size": 16384,
74
+ "is_decoder": false,
75
+ "is_encoder_decoder": false,
76
+ "label2id": {
77
+ "LABEL_0": 0,
78
+ "LABEL_1": 1
79
+ },
80
+ "length_penalty": 1.0,
81
+ "max_length": 20,
82
+ "max_position_embeddings": 8192,
83
+ "min_length": 0,
84
+ "model_type": "gemma",
85
+ "no_repeat_ngram_size": 0,
86
+ "num_attention_heads": 8,
87
+ "num_beam_groups": 1,
88
+ "num_beams": 1,
89
+ "num_hidden_layers": 18,
90
+ "num_image_tokens": 1024,
91
+ "num_key_value_heads": 1,
92
+ "num_return_sequences": 1,
93
+ "output_attentions": false,
94
+ "output_hidden_states": false,
95
+ "output_scores": false,
96
+ "pad_token_id": 0,
97
+ "prefix": null,
98
+ "problem_type": null,
99
+ "pruned_heads": {},
100
+ "remove_invalid_values": false,
101
+ "repetition_penalty": 1.0,
102
+ "return_dict": true,
103
+ "return_dict_in_generate": false,
104
+ "rms_norm_eps": 1e-06,
105
+ "rope_theta": 10000.0,
106
+ "sep_token_id": null,
107
+ "suppress_tokens": null,
108
+ "task_specific_params": null,
109
+ "temperature": 1.0,
110
+ "tf_legacy_loss": false,
111
+ "tie_encoder_decoder": false,
112
+ "tie_word_embeddings": true,
113
+ "tokenizer_class": null,
114
+ "top_k": 50,
115
+ "top_p": 1.0,
116
+ "torch_dtype": "float32",
117
+ "torchscript": false,
118
+ "typical_p": 1.0,
119
+ "use_bfloat16": false,
120
+ "use_cache": true,
121
+ "vocab_size": 257216
122
+ },
123
+ "torch_dtype": "float32",
124
+ "vision_config": {
125
+ "_attn_implementation_autoset": false,
126
+ "_name_or_path": "",
127
+ "add_cross_attention": false,
128
+ "architectures": null,
129
+ "attention_dropout": 0.0,
130
+ "bad_words_ids": null,
131
+ "begin_suppress_tokens": null,
132
+ "bos_token_id": null,
133
+ "chunk_size_feed_forward": 0,
134
+ "cross_attention_hidden_size": null,
135
+ "decoder_start_token_id": null,
136
+ "diversity_penalty": 0.0,
137
+ "do_sample": false,
138
+ "early_stopping": false,
139
+ "encoder_no_repeat_ngram_size": 0,
140
+ "eos_token_id": null,
141
+ "exponential_decay_length_penalty": null,
142
+ "finetuning_task": null,
143
+ "forced_bos_token_id": null,
144
+ "forced_eos_token_id": null,
145
+ "hidden_act": "gelu_pytorch_tanh",
146
+ "hidden_size": 1152,
147
+ "id2label": {
148
+ "0": "LABEL_0",
149
+ "1": "LABEL_1"
150
+ },
151
+ "image_size": 448,
152
+ "intermediate_size": 4304,
153
+ "is_decoder": false,
154
+ "is_encoder_decoder": false,
155
+ "label2id": {
156
+ "LABEL_0": 0,
157
+ "LABEL_1": 1
158
+ },
159
+ "layer_norm_eps": 1e-06,
160
+ "length_penalty": 1.0,
161
+ "max_length": 20,
162
+ "min_length": 0,
163
+ "model_type": "siglip_vision_model",
164
+ "no_repeat_ngram_size": 0,
165
+ "num_attention_heads": 16,
166
+ "num_beam_groups": 1,
167
+ "num_beams": 1,
168
+ "num_channels": 3,
169
+ "num_hidden_layers": 27,
170
+ "num_image_tokens": 1024,
171
+ "num_return_sequences": 1,
172
+ "output_attentions": false,
173
+ "output_hidden_states": false,
174
+ "output_scores": false,
175
+ "pad_token_id": null,
176
+ "patch_size": 14,
177
+ "prefix": null,
178
+ "problem_type": null,
179
+ "projection_dim": 2048,
180
+ "projector_hidden_act": "gelu_fast",
181
+ "pruned_heads": {},
182
+ "remove_invalid_values": false,
183
+ "repetition_penalty": 1.0,
184
+ "return_dict": true,
185
+ "return_dict_in_generate": false,
186
+ "sep_token_id": null,
187
+ "suppress_tokens": null,
188
+ "task_specific_params": null,
189
+ "temperature": 1.0,
190
+ "tf_legacy_loss": false,
191
+ "tie_encoder_decoder": false,
192
+ "tie_word_embeddings": true,
193
+ "tokenizer_class": null,
194
+ "top_k": 50,
195
+ "top_p": 1.0,
196
+ "torch_dtype": null,
197
+ "torchscript": false,
198
+ "typical_p": 1.0,
199
+ "use_bfloat16": false,
200
+ "vision_use_head": false
201
+ }
202
+ }
203
+ }
onnx/decoder_model_merged.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:caac67a86f6f343c28c6aa6d04cdc554d737efb721c4ac7c4d9d29f71e4a7d06
3
+ size 1119896
onnx/decoder_model_merged.onnx_data ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f25cf54be5c4ffd1a1551fca0c880d21e9b3524230acc30f41e49c5b7b2cf821
3
+ size 7928586240
onnx/embed_tokens.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ac8618fc34b6469c624f5bf088cf218efed184b18e38212ebd485c10d37e1ddd
3
+ size 2107113800
onnx/vision_encoder.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:565a5e8c0eaa5155ba5f1aca7c3522e52fa030a4ceaed05bf5e2febca23524d6
3
+ size 1663463104
preprocessor_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": null,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.5,
8
+ 0.5,
9
+ 0.5
10
+ ],
11
+ "image_processor_type": "SiglipImageProcessor",
12
+ "image_seq_length": 1024,
13
+ "image_std": [
14
+ 0.5,
15
+ 0.5,
16
+ 0.5
17
+ ],
18
+ "processor_class": "ColPaliProcessor",
19
+ "resample": 3,
20
+ "rescale_factor": 0.00392156862745098,
21
+ "size": {
22
+ "height": 448,
23
+ "width": 448
24
+ }
25
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ {
4
+ "content": "<image>",
5
+ "lstrip": false,
6
+ "normalized": false,
7
+ "rstrip": false,
8
+ "single_word": false
9
+ }
10
+ ],
11
+ "bos_token": {
12
+ "content": "<bos>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "eos_token": {
19
+ "content": "<eos>",
20
+ "lstrip": false,
21
+ "normalized": false,
22
+ "rstrip": false,
23
+ "single_word": false
24
+ },
25
+ "pad_token": {
26
+ "content": "<pad>",
27
+ "lstrip": false,
28
+ "normalized": false,
29
+ "rstrip": false,
30
+ "single_word": false
31
+ },
32
+ "unk_token": {
33
+ "content": "<unk>",
34
+ "lstrip": false,
35
+ "normalized": false,
36
+ "rstrip": false,
37
+ "single_word": false
38
+ }
39
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1ff84f53c290d0348c4e206da6094ef781cf8c0e482fec8b268a996b32257cfd
3
+ size 34600975
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff