mgoin commited on
Commit
261c65f
·
verified ·
1 Parent(s): af1a4d7

Upload folder using huggingface_hub

Browse files
config.json ADDED
@@ -0,0 +1,213 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "/home/mgoin/.cache/huggingface/hub/models--mgoin--Pixtral-Large-Instruct-2411-hf/snapshots/a0900c08d960ee3c7f3de995266fa0cb18615e0e",
3
+ "architectures": [
4
+ "LlavaForConditionalGeneration"
5
+ ],
6
+ "ignore_index": -100,
7
+ "image_seq_length": 1,
8
+ "image_token_index": 10,
9
+ "model_type": "llava",
10
+ "projector_hidden_act": "gelu",
11
+ "quantization_config": {
12
+ "config_groups": {
13
+ "group_0": {
14
+ "input_activations": {
15
+ "actorder": null,
16
+ "block_structure": null,
17
+ "dynamic": true,
18
+ "group_size": null,
19
+ "num_bits": 8,
20
+ "observer": null,
21
+ "observer_kwargs": {},
22
+ "strategy": "token",
23
+ "symmetric": true,
24
+ "type": "float"
25
+ },
26
+ "output_activations": null,
27
+ "targets": [
28
+ "Linear"
29
+ ],
30
+ "weights": {
31
+ "actorder": null,
32
+ "block_structure": null,
33
+ "dynamic": false,
34
+ "group_size": null,
35
+ "num_bits": 8,
36
+ "observer": "minmax",
37
+ "observer_kwargs": {},
38
+ "strategy": "channel",
39
+ "symmetric": true,
40
+ "type": "float"
41
+ }
42
+ }
43
+ },
44
+ "format": "float-quantized",
45
+ "global_compression_ratio": 1.4822123566947147,
46
+ "ignore": [
47
+ "multi_modal_projector.linear_1",
48
+ "multi_modal_projector.linear_2",
49
+ "language_model.lm_head"
50
+ ],
51
+ "kv_cache_scheme": null,
52
+ "quant_method": "compressed-tensors",
53
+ "quantization_status": "compressed"
54
+ },
55
+ "text_config": {
56
+ "_name_or_path": "",
57
+ "add_cross_attention": false,
58
+ "architectures": null,
59
+ "attention_dropout": 0.0,
60
+ "bad_words_ids": null,
61
+ "begin_suppress_tokens": null,
62
+ "bos_token_id": 1,
63
+ "chunk_size_feed_forward": 0,
64
+ "cross_attention_hidden_size": null,
65
+ "decoder_start_token_id": null,
66
+ "diversity_penalty": 0.0,
67
+ "do_sample": false,
68
+ "early_stopping": false,
69
+ "encoder_no_repeat_ngram_size": 0,
70
+ "eos_token_id": 2,
71
+ "exponential_decay_length_penalty": null,
72
+ "finetuning_task": null,
73
+ "forced_bos_token_id": null,
74
+ "forced_eos_token_id": null,
75
+ "head_dim": 128,
76
+ "hidden_act": "silu",
77
+ "hidden_size": 12288,
78
+ "id2label": {
79
+ "0": "LABEL_0",
80
+ "1": "LABEL_1"
81
+ },
82
+ "initializer_range": 0.02,
83
+ "intermediate_size": 28672,
84
+ "is_decoder": false,
85
+ "is_encoder_decoder": false,
86
+ "label2id": {
87
+ "LABEL_0": 0,
88
+ "LABEL_1": 1
89
+ },
90
+ "length_penalty": 1.0,
91
+ "max_length": 20,
92
+ "max_position_embeddings": 131072,
93
+ "min_length": 0,
94
+ "model_type": "mistral",
95
+ "no_repeat_ngram_size": 0,
96
+ "norm_eps": 1e-05,
97
+ "num_attention_heads": 96,
98
+ "num_beam_groups": 1,
99
+ "num_beams": 1,
100
+ "num_hidden_layers": 88,
101
+ "num_key_value_heads": 8,
102
+ "num_return_sequences": 1,
103
+ "output_attentions": false,
104
+ "output_hidden_states": false,
105
+ "output_scores": false,
106
+ "pad_token_id": null,
107
+ "prefix": null,
108
+ "problem_type": null,
109
+ "pruned_heads": {},
110
+ "remove_invalid_values": false,
111
+ "repetition_penalty": 1.0,
112
+ "return_dict": true,
113
+ "return_dict_in_generate": false,
114
+ "rms_norm_eps": 1e-06,
115
+ "rope_theta": 1000000000.0,
116
+ "sep_token_id": null,
117
+ "sliding_window": null,
118
+ "suppress_tokens": null,
119
+ "task_specific_params": null,
120
+ "temperature": 1.0,
121
+ "tf_legacy_loss": false,
122
+ "tie_encoder_decoder": false,
123
+ "tie_word_embeddings": false,
124
+ "tokenizer_class": null,
125
+ "top_k": 50,
126
+ "top_p": 1.0,
127
+ "torch_dtype": null,
128
+ "torchscript": false,
129
+ "typical_p": 1.0,
130
+ "use_bfloat16": false,
131
+ "use_cache": true,
132
+ "vocab_size": 32768
133
+ },
134
+ "torch_dtype": "bfloat16",
135
+ "transformers_version": "4.45.2",
136
+ "vision_config": {
137
+ "_name_or_path": "",
138
+ "add_cross_attention": false,
139
+ "architectures": null,
140
+ "attention_dropout": 0.0,
141
+ "bad_words_ids": null,
142
+ "begin_suppress_tokens": null,
143
+ "bos_token_id": null,
144
+ "chunk_size_feed_forward": 0,
145
+ "cross_attention_hidden_size": null,
146
+ "decoder_start_token_id": null,
147
+ "diversity_penalty": 0.0,
148
+ "do_sample": false,
149
+ "early_stopping": false,
150
+ "encoder_no_repeat_ngram_size": 0,
151
+ "eos_token_id": null,
152
+ "exponential_decay_length_penalty": null,
153
+ "finetuning_task": null,
154
+ "forced_bos_token_id": null,
155
+ "forced_eos_token_id": null,
156
+ "head_dim": 88,
157
+ "hidden_act": "silu",
158
+ "hidden_size": 1408,
159
+ "id2label": {
160
+ "0": "LABEL_0",
161
+ "1": "LABEL_1"
162
+ },
163
+ "image_size": 1024,
164
+ "image_token_id": 10,
165
+ "intermediate_size": 6144,
166
+ "is_decoder": false,
167
+ "is_encoder_decoder": false,
168
+ "label2id": {
169
+ "LABEL_0": 0,
170
+ "LABEL_1": 1
171
+ },
172
+ "length_penalty": 1.0,
173
+ "max_length": 20,
174
+ "min_length": 0,
175
+ "model_type": "pixtral",
176
+ "no_repeat_ngram_size": 0,
177
+ "num_attention_heads": 16,
178
+ "num_beam_groups": 1,
179
+ "num_beams": 1,
180
+ "num_channels": 3,
181
+ "num_hidden_layers": 40,
182
+ "num_return_sequences": 1,
183
+ "output_attentions": false,
184
+ "output_hidden_states": false,
185
+ "output_scores": false,
186
+ "pad_token_id": null,
187
+ "patch_size": 16,
188
+ "prefix": null,
189
+ "problem_type": null,
190
+ "pruned_heads": {},
191
+ "remove_invalid_values": false,
192
+ "repetition_penalty": 1.0,
193
+ "return_dict": true,
194
+ "return_dict_in_generate": false,
195
+ "rope_theta": 10000.0,
196
+ "sep_token_id": null,
197
+ "suppress_tokens": null,
198
+ "task_specific_params": null,
199
+ "temperature": 1.0,
200
+ "tf_legacy_loss": false,
201
+ "tie_encoder_decoder": false,
202
+ "tie_word_embeddings": true,
203
+ "tokenizer_class": null,
204
+ "top_k": 50,
205
+ "top_p": 1.0,
206
+ "torch_dtype": null,
207
+ "torchscript": false,
208
+ "typical_p": 1.0,
209
+ "use_bfloat16": false
210
+ },
211
+ "vision_feature_layer": -1,
212
+ "vision_feature_select_strategy": "full"
213
+ }
generation_config.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 1,
4
+ "eos_token_id": 2,
5
+ "transformers_version": "4.45.2"
6
+ }
model-00001-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:babbe5de09a591b77f529ea44e96414d82ac12e4db54618786a4c8278b82046c
3
+ size 4917592856
model-00002-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7c83b5fbb94271e94c2e80d82e2c23859033d57a71d90e977068461a5dc4c53f
3
+ size 4832697992
model-00003-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:132cbf74a7e3c7835c550f2143fa8465e98b0de8a33f8023364cd584b381097e
3
+ size 4857850480
model-00004-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5e74de84cc30d171c9b36a2fefae5cf1e2f3a30b8bd5c353034f5f09b875d5bc
3
+ size 4832698032
model-00005-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:a6b2282be28ea6504921963471c1ab137c30f9821ce7429dffde8a32f0e251fe
3
+ size 4857850536
model-00006-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:15f01ee7e69c80bfff8ceaeb64e295a4d5b03640014ff00088d4c7de5a4e15bb
3
+ size 4832698048
model-00007-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:327380b208862c62a990991360e65707c6e9188b49bfcfe91c532f7b1fde63dc
3
+ size 4857850536
model-00008-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4ad50f01b1c98e0cf741e1acd0eaf6a34d5ec610a60a9adc2cb6cd9eed473645
3
+ size 4832698048
model-00009-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d4ed0e30ec74c1b445270e8ef7913719551131b8d82a328012b3d32cdeca8125
3
+ size 4857850536
model-00010-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:703b91c173c2ea62985e495c59801f57b3745f85ce10d5eb6a79b91329faa97c
3
+ size 4832698048
model-00011-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5666bb9635250ec04c2df1a939a62852db15cf82227a1e184fd8b56206d7b3d0
3
+ size 4857850536
model-00012-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d074ca6c40dc34f49d2f13593655a6f1dae5cbea9a336a568c9c2f0935e18585
3
+ size 4832698048
model-00013-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:43f9dad3cd33da9e81640cf7bbb0fab439d63dde1f5411efa3d0c29b38674e05
3
+ size 4857850536
model-00014-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6bc2ceead488664e9a6cb7af9fe645ddb9abe989767b0bcd2d5264353bd7d4b2
3
+ size 4832698048
model-00015-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d12a81ccbdaf69438e629152567f4a4855f2826fd2b5479c59f10fed35419f7b
3
+ size 4857850536
model-00016-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:694d10527f6922365fbd117207adf7c7e90a174f1908d8635840ddf859264168
3
+ size 4832698048
model-00017-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d7c933195cd53719c00651179f618163ae57c57ac661568a8595ea99d6d55711
3
+ size 4857850536
model-00018-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cd580b4e5548bef94135ff72d87c9d5ef6473bcd469c0c1a64724cb7dfaedbfc
3
+ size 4832698048
model-00019-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b01014fcada319a57c2cb8dbd12944e2de25a5c8513a652c7d5f1f23754618dc
3
+ size 4857850536
model-00020-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:77b7d7f51cb43df76cce7a7af65a13eaa12db8b2c4558efc6a9800901f4c6287
3
+ size 4832698048
model-00021-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3247efc6db43ededd74df4d65d826e34199f1fafa8f301c60439bc2f419d25c0
3
+ size 4857850536
model-00022-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ba359169c8ab4d6318a4b5905844005626eb657fe70c4f7a569392384f40d0bc
3
+ size 4832698048
model-00023-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cbc01345cbe70a08690567f876039561b590412ca7147713bc96ab7eb519c88a
3
+ size 4857850536
model-00024-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0031bda4ca3a5434732ffb6a6bf845cfaca90e715ab5e0380c93dab4c215e309
3
+ size 4832698048
model-00025-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b9aca862a52d9016e5ddb842c758372481d92dbd78889d8d78ca6951f3c667f4
3
+ size 4857850536
model-00026-of-00026.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:735c50638fb5ae0006b5d512276a52cd187782bba61fa6cbce5a2206f275be34
3
+ size 3926455240
model.safetensors.index.json ADDED
The diff for this file is too large to render. See raw diff
 
preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "do_convert_rgb": true,
3
+ "do_normalize": true,
4
+ "do_rescale": true,
5
+ "do_resize": true,
6
+ "image_mean": [
7
+ 0.48145466,
8
+ 0.4578275,
9
+ 0.40821073
10
+ ],
11
+ "image_processor_type": "PixtralImageProcessor",
12
+ "image_std": [
13
+ 0.26862954,
14
+ 0.26130258,
15
+ 0.27577711
16
+ ],
17
+ "patch_size": {
18
+ "height": 16,
19
+ "width": 16
20
+ },
21
+ "processor_class": "PixtralProcessor",
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "longest_edge": 1024
26
+ }
27
+ }
processor_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "image_break_token": "[IMG_BREAK]",
3
+ "image_end_token": "[IMG_END]",
4
+ "image_token": "[IMG]",
5
+ "patch_size": 16,
6
+ "processor_class": "PixtralProcessor"
7
+ }
recipe.yaml ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ DEFAULT_stage:
2
+ DEFAULT_modifiers:
3
+ QuantizationModifier:
4
+ ignore: ['re:.*lm_head', 're:multi_modal_projector.*', 're:vision_model.*']
5
+ targets: Linear
6
+ scheme: FP8_DYNAMIC
special_tokens_map.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<s>",
4
+ "lstrip": false,
5
+ "normalized": false,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "</s>",
11
+ "lstrip": false,
12
+ "normalized": false,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "unk_token": {
17
+ "content": "<unk>",
18
+ "lstrip": false,
19
+ "normalized": false,
20
+ "rstrip": false,
21
+ "single_word": false
22
+ }
23
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1b968b8dc352f42192367337c78ccc61e1eaddc6d641a579372d4f20694beb7a
3
+ size 587562
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff