nbdaaa commited on
Commit
05dbb2a
·
verified ·
1 Parent(s): ba380b8

Upload folder using huggingface_hub

Browse files
Files changed (3) hide show
  1. config.json +231 -231
  2. model.safetensors +2 -2
  3. preprocessor_config.json +32 -32
config.json CHANGED
@@ -1,232 +1,232 @@
1
- {
2
- "add_cross_attention": false,
3
- "architectures": [
4
- "Idefics3ForConditionalGeneration"
5
- ],
6
- "bad_words_ids": null,
7
- "begin_suppress_tokens": null,
8
- "bos_token_id": 100264,
9
- "chunk_size_feed_forward": 0,
10
- "cross_attention_hidden_size": null,
11
- "decoder_start_token_id": null,
12
- "diversity_penalty": 0.0,
13
- "do_sample": false,
14
- "dtype": "bfloat16",
15
- "early_stopping": false,
16
- "encoder_no_repeat_ngram_size": 0,
17
- "eos_token_id": 100257,
18
- "exponential_decay_length_penalty": null,
19
- "finetuning_task": null,
20
- "forced_bos_token_id": null,
21
- "forced_eos_token_id": null,
22
- "id2label": {
23
- "0": "LABEL_0",
24
- "1": "LABEL_1"
25
- },
26
- "image_token_id": 100270,
27
- "is_decoder": false,
28
- "is_encoder_decoder": false,
29
- "label2id": {
30
- "LABEL_0": 0,
31
- "LABEL_1": 1
32
- },
33
- "length_penalty": 1.0,
34
- "max_length": 20,
35
- "min_length": 0,
36
- "model_type": "smolvlm",
37
- "no_repeat_ngram_size": 0,
38
- "num_beam_groups": 1,
39
- "num_beams": 1,
40
- "num_return_sequences": 1,
41
- "output_attentions": false,
42
- "output_hidden_states": false,
43
- "output_scores": false,
44
- "pad_token_id": 100257,
45
- "prefix": null,
46
- "problem_type": null,
47
- "pruned_heads": {},
48
- "remove_invalid_values": false,
49
- "repetition_penalty": 1.0,
50
- "return_dict": true,
51
- "return_dict_in_generate": false,
52
- "scale_factor": 4,
53
- "sep_token_id": null,
54
- "suppress_tokens": null,
55
- "task_specific_params": null,
56
- "temperature": 1.0,
57
- "text_config": {
58
- "vocab_size": 100352,
59
- "max_position_embeddings": 8192,
60
- "hidden_size": 576,
61
- "intermediate_size": 1536,
62
- "num_hidden_layers": 30,
63
- "num_attention_heads": 9,
64
- "num_key_value_heads": 3,
65
- "hidden_act": "silu",
66
- "initializer_range": 0.02,
67
- "rms_norm_eps": 1e-05,
68
- "pretraining_tp": 1,
69
- "use_cache": false,
70
- "rope_theta": 100000.0,
71
- "rope_scaling": null,
72
- "attention_bias": false,
73
- "attention_dropout": 0.0,
74
- "mlp_bias": false,
75
- "head_dim": 64,
76
- "return_dict": true,
77
- "output_hidden_states": false,
78
- "torchscript": false,
79
- "dtype": "bfloat16",
80
- "pruned_heads": {},
81
- "tie_word_embeddings": false,
82
- "chunk_size_feed_forward": 0,
83
- "is_encoder_decoder": false,
84
- "is_decoder": false,
85
- "cross_attention_hidden_size": null,
86
- "add_cross_attention": false,
87
- "tie_encoder_decoder": false,
88
- "architectures": [
89
- "LlamaForCausalLM"
90
- ],
91
- "finetuning_task": null,
92
- "id2label": {
93
- "0": "LABEL_0",
94
- "1": "LABEL_1"
95
- },
96
- "label2id": {
97
- "LABEL_0": 0,
98
- "LABEL_1": 1
99
- },
100
- "task_specific_params": null,
101
- "problem_type": null,
102
- "tokenizer_class": null,
103
- "prefix": null,
104
- "bos_token_id": 100264,
105
- "pad_token_id": 100257,
106
- "eos_token_id": 100257,
107
- "sep_token_id": null,
108
- "decoder_start_token_id": null,
109
- "max_length": 20,
110
- "min_length": 0,
111
- "do_sample": false,
112
- "early_stopping": false,
113
- "num_beams": 1,
114
- "num_beam_groups": 1,
115
- "diversity_penalty": 0.0,
116
- "temperature": 1.0,
117
- "top_k": 50,
118
- "top_p": 1.0,
119
- "typical_p": 1.0,
120
- "repetition_penalty": 1.0,
121
- "length_penalty": 1.0,
122
- "no_repeat_ngram_size": 0,
123
- "encoder_no_repeat_ngram_size": 0,
124
- "bad_words_ids": null,
125
- "num_return_sequences": 1,
126
- "output_scores": false,
127
- "return_dict_in_generate": false,
128
- "forced_bos_token_id": null,
129
- "forced_eos_token_id": null,
130
- "remove_invalid_values": false,
131
- "exponential_decay_length_penalty": null,
132
- "suppress_tokens": null,
133
- "begin_suppress_tokens": null,
134
- "_name_or_path": "/models/granitev06_hf_ai4k_sft_data_v4",
135
- "model_type": "llama",
136
- "tf_legacy_loss": false,
137
- "use_bfloat16": false,
138
- "output_attentions": false
139
- },
140
- "tf_legacy_loss": false,
141
- "tie_encoder_decoder": false,
142
- "tie_word_embeddings": false,
143
- "tokenizer_class": null,
144
- "top_k": 50,
145
- "top_p": 1.0,
146
- "torchscript": false,
147
- "transformers_version": "4.56.1",
148
- "typical_p": 1.0,
149
- "use_bfloat16": false,
150
- "use_cache": true,
151
- "vision_config": {
152
- "return_dict": true,
153
- "output_hidden_states": false,
154
- "torchscript": false,
155
- "dtype": null,
156
- "pruned_heads": {},
157
- "tie_word_embeddings": true,
158
- "chunk_size_feed_forward": 0,
159
- "is_encoder_decoder": false,
160
- "is_decoder": false,
161
- "cross_attention_hidden_size": null,
162
- "add_cross_attention": false,
163
- "tie_encoder_decoder": false,
164
- "architectures": null,
165
- "finetuning_task": null,
166
- "id2label": {
167
- "0": "LABEL_0",
168
- "1": "LABEL_1"
169
- },
170
- "label2id": {
171
- "LABEL_0": 0,
172
- "LABEL_1": 1
173
- },
174
- "task_specific_params": null,
175
- "problem_type": null,
176
- "tokenizer_class": null,
177
- "prefix": null,
178
- "bos_token_id": null,
179
- "pad_token_id": null,
180
- "eos_token_id": null,
181
- "sep_token_id": null,
182
- "decoder_start_token_id": null,
183
- "max_length": 20,
184
- "min_length": 0,
185
- "do_sample": false,
186
- "early_stopping": false,
187
- "num_beams": 1,
188
- "num_beam_groups": 1,
189
- "diversity_penalty": 0.0,
190
- "temperature": 1.0,
191
- "top_k": 50,
192
- "top_p": 1.0,
193
- "typical_p": 1.0,
194
- "repetition_penalty": 1.0,
195
- "length_penalty": 1.0,
196
- "no_repeat_ngram_size": 0,
197
- "encoder_no_repeat_ngram_size": 0,
198
- "bad_words_ids": null,
199
- "num_return_sequences": 1,
200
- "output_scores": false,
201
- "return_dict_in_generate": false,
202
- "forced_bos_token_id": null,
203
- "forced_eos_token_id": null,
204
- "remove_invalid_values": false,
205
- "exponential_decay_length_penalty": null,
206
- "suppress_tokens": null,
207
- "begin_suppress_tokens": null,
208
- "_name_or_path": "",
209
- "max_image_size": {
210
- "longest_edge": 512
211
- },
212
- "model_type": "idefics3_vision",
213
- "size": {
214
- "longest_edge": 512
215
- },
216
- "tf_legacy_loss": false,
217
- "use_bfloat16": false,
218
- "hidden_size": 768,
219
- "intermediate_size": 3072,
220
- "num_hidden_layers": 12,
221
- "num_attention_heads": 12,
222
- "num_channels": 3,
223
- "patch_size": 16,
224
- "image_size": 512,
225
- "attention_dropout": 0.0,
226
- "layer_norm_eps": 1e-06,
227
- "hidden_act": "gelu_pytorch_tanh",
228
- "initializer_range": 0.02,
229
- "output_attentions": false
230
- },
231
- "vocab_size": 100352
232
  }
 
1
+ {
2
+ "add_cross_attention": false,
3
+ "architectures": [
4
+ "Idefics3ForConditionalGeneration"
5
+ ],
6
+ "bad_words_ids": null,
7
+ "begin_suppress_tokens": null,
8
+ "bos_token_id": 100264,
9
+ "chunk_size_feed_forward": 0,
10
+ "cross_attention_hidden_size": null,
11
+ "decoder_start_token_id": null,
12
+ "diversity_penalty": 0.0,
13
+ "do_sample": false,
14
+ "dtype": "bfloat16",
15
+ "early_stopping": false,
16
+ "encoder_no_repeat_ngram_size": 0,
17
+ "eos_token_id": 100257,
18
+ "exponential_decay_length_penalty": null,
19
+ "finetuning_task": null,
20
+ "forced_bos_token_id": null,
21
+ "forced_eos_token_id": null,
22
+ "id2label": {
23
+ "0": "LABEL_0",
24
+ "1": "LABEL_1"
25
+ },
26
+ "image_token_id": 100270,
27
+ "is_decoder": false,
28
+ "is_encoder_decoder": false,
29
+ "label2id": {
30
+ "LABEL_0": 0,
31
+ "LABEL_1": 1
32
+ },
33
+ "length_penalty": 1.0,
34
+ "max_length": 20,
35
+ "min_length": 0,
36
+ "model_type": "smolvlm",
37
+ "no_repeat_ngram_size": 0,
38
+ "num_beam_groups": 1,
39
+ "num_beams": 1,
40
+ "num_return_sequences": 1,
41
+ "output_attentions": false,
42
+ "output_hidden_states": false,
43
+ "output_scores": false,
44
+ "pad_token_id": 100257,
45
+ "prefix": null,
46
+ "problem_type": null,
47
+ "pruned_heads": {},
48
+ "remove_invalid_values": false,
49
+ "repetition_penalty": 1.0,
50
+ "return_dict": true,
51
+ "return_dict_in_generate": false,
52
+ "scale_factor": 4,
53
+ "sep_token_id": null,
54
+ "suppress_tokens": null,
55
+ "task_specific_params": null,
56
+ "temperature": 1.0,
57
+ "text_config": {
58
+ "vocab_size": 100352,
59
+ "max_position_embeddings": 8192,
60
+ "hidden_size": 576,
61
+ "intermediate_size": 1536,
62
+ "num_hidden_layers": 30,
63
+ "num_attention_heads": 9,
64
+ "num_key_value_heads": 3,
65
+ "hidden_act": "silu",
66
+ "initializer_range": 0.02,
67
+ "rms_norm_eps": 1e-05,
68
+ "pretraining_tp": 1,
69
+ "use_cache": false,
70
+ "rope_theta": 100000.0,
71
+ "rope_scaling": null,
72
+ "attention_bias": false,
73
+ "attention_dropout": 0.0,
74
+ "mlp_bias": false,
75
+ "head_dim": 64,
76
+ "return_dict": true,
77
+ "output_hidden_states": false,
78
+ "torchscript": false,
79
+ "dtype": "bfloat16",
80
+ "pruned_heads": {},
81
+ "tie_word_embeddings": false,
82
+ "chunk_size_feed_forward": 0,
83
+ "is_encoder_decoder": false,
84
+ "is_decoder": false,
85
+ "cross_attention_hidden_size": null,
86
+ "add_cross_attention": false,
87
+ "tie_encoder_decoder": false,
88
+ "architectures": [
89
+ "LlamaForCausalLM"
90
+ ],
91
+ "finetuning_task": null,
92
+ "id2label": {
93
+ "0": "LABEL_0",
94
+ "1": "LABEL_1"
95
+ },
96
+ "label2id": {
97
+ "LABEL_0": 0,
98
+ "LABEL_1": 1
99
+ },
100
+ "task_specific_params": null,
101
+ "problem_type": null,
102
+ "tokenizer_class": null,
103
+ "prefix": null,
104
+ "bos_token_id": 100264,
105
+ "pad_token_id": 100257,
106
+ "eos_token_id": 100257,
107
+ "sep_token_id": null,
108
+ "decoder_start_token_id": null,
109
+ "max_length": 20,
110
+ "min_length": 0,
111
+ "do_sample": false,
112
+ "early_stopping": false,
113
+ "num_beams": 1,
114
+ "num_beam_groups": 1,
115
+ "diversity_penalty": 0.0,
116
+ "temperature": 1.0,
117
+ "top_k": 50,
118
+ "top_p": 1.0,
119
+ "typical_p": 1.0,
120
+ "repetition_penalty": 1.0,
121
+ "length_penalty": 1.0,
122
+ "no_repeat_ngram_size": 0,
123
+ "encoder_no_repeat_ngram_size": 0,
124
+ "bad_words_ids": null,
125
+ "num_return_sequences": 1,
126
+ "output_scores": false,
127
+ "return_dict_in_generate": false,
128
+ "forced_bos_token_id": null,
129
+ "forced_eos_token_id": null,
130
+ "remove_invalid_values": false,
131
+ "exponential_decay_length_penalty": null,
132
+ "suppress_tokens": null,
133
+ "begin_suppress_tokens": null,
134
+ "_name_or_path": "/models/granitev06_hf_ai4k_sft_data_v4",
135
+ "model_type": "llama",
136
+ "tf_legacy_loss": false,
137
+ "use_bfloat16": false,
138
+ "output_attentions": false
139
+ },
140
+ "tf_legacy_loss": false,
141
+ "tie_encoder_decoder": false,
142
+ "tie_word_embeddings": false,
143
+ "tokenizer_class": null,
144
+ "top_k": 50,
145
+ "top_p": 1.0,
146
+ "torchscript": false,
147
+ "transformers_version": "4.56.1",
148
+ "typical_p": 1.0,
149
+ "use_bfloat16": false,
150
+ "use_cache": true,
151
+ "vision_config": {
152
+ "return_dict": true,
153
+ "output_hidden_states": false,
154
+ "torchscript": false,
155
+ "dtype": null,
156
+ "pruned_heads": {},
157
+ "tie_word_embeddings": true,
158
+ "chunk_size_feed_forward": 0,
159
+ "is_encoder_decoder": false,
160
+ "is_decoder": false,
161
+ "cross_attention_hidden_size": null,
162
+ "add_cross_attention": false,
163
+ "tie_encoder_decoder": false,
164
+ "architectures": null,
165
+ "finetuning_task": null,
166
+ "id2label": {
167
+ "0": "LABEL_0",
168
+ "1": "LABEL_1"
169
+ },
170
+ "label2id": {
171
+ "LABEL_0": 0,
172
+ "LABEL_1": 1
173
+ },
174
+ "task_specific_params": null,
175
+ "problem_type": null,
176
+ "tokenizer_class": null,
177
+ "prefix": null,
178
+ "bos_token_id": null,
179
+ "pad_token_id": null,
180
+ "eos_token_id": null,
181
+ "sep_token_id": null,
182
+ "decoder_start_token_id": null,
183
+ "max_length": 20,
184
+ "min_length": 0,
185
+ "do_sample": false,
186
+ "early_stopping": false,
187
+ "num_beams": 1,
188
+ "num_beam_groups": 1,
189
+ "diversity_penalty": 0.0,
190
+ "temperature": 1.0,
191
+ "top_k": 50,
192
+ "top_p": 1.0,
193
+ "typical_p": 1.0,
194
+ "repetition_penalty": 1.0,
195
+ "length_penalty": 1.0,
196
+ "no_repeat_ngram_size": 0,
197
+ "encoder_no_repeat_ngram_size": 0,
198
+ "bad_words_ids": null,
199
+ "num_return_sequences": 1,
200
+ "output_scores": false,
201
+ "return_dict_in_generate": false,
202
+ "forced_bos_token_id": null,
203
+ "forced_eos_token_id": null,
204
+ "remove_invalid_values": false,
205
+ "exponential_decay_length_penalty": null,
206
+ "suppress_tokens": null,
207
+ "begin_suppress_tokens": null,
208
+ "_name_or_path": "",
209
+ "max_image_size": {
210
+ "longest_edge": 512
211
+ },
212
+ "model_type": "idefics3_vision",
213
+ "size": {
214
+ "longest_edge": 512
215
+ },
216
+ "tf_legacy_loss": false,
217
+ "use_bfloat16": false,
218
+ "hidden_size": 768,
219
+ "intermediate_size": 3072,
220
+ "num_hidden_layers": 12,
221
+ "num_attention_heads": 12,
222
+ "num_channels": 3,
223
+ "patch_size": 16,
224
+ "image_size": 512,
225
+ "attention_dropout": 0.0,
226
+ "layer_norm_eps": 1e-06,
227
+ "hidden_act": "gelu_pytorch_tanh",
228
+ "initializer_range": 0.02,
229
+ "output_attentions": false
230
+ },
231
+ "vocab_size": 100352
232
  }
model.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:6bf692e484a2d088f9ca8d3939025b4ea2b1f8290185c54cc656f60c112d28cf
3
- size 630696642
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5db0e24336c258f6a4dff14fc83c9ccbe5a31d5a6f67dc50d23b408d9d07917a
3
+ size 630696764
preprocessor_config.json CHANGED
@@ -1,33 +1,33 @@
1
- {
2
- "do_convert_rgb": true,
3
- "do_image_splitting": true,
4
- "do_normalize": true,
5
- "do_pad": true,
6
- "do_rescale": true,
7
- "do_resize": true,
8
- "image_mean": [
9
- 0.5,
10
- 0.5,
11
- 0.5
12
- ],
13
- "image_processor_type": "Idefics3ImageProcessor",
14
- "image_std": [
15
- 0.5,
16
- 0.5,
17
- 0.5
18
- ],
19
- "max_image_size": {
20
- "longest_edge": 512
21
- },
22
- "processor_class": "SmolVLMProcessor",
23
- "resample": 1,
24
- "rescale_factor": 0.00392156862745098,
25
- "size": {
26
- "longest_edge": 1536
27
- },
28
- "video_sampling": {
29
- "fps": 1,
30
- "max_frames": 64
31
- },
32
- "image_seq_len": 64
33
  }
 
1
+ {
2
+ "do_convert_rgb": true,
3
+ "do_image_splitting": true,
4
+ "do_normalize": true,
5
+ "do_pad": true,
6
+ "do_rescale": true,
7
+ "do_resize": true,
8
+ "image_mean": [
9
+ 0.5,
10
+ 0.5,
11
+ 0.5
12
+ ],
13
+ "image_processor_type": "Idefics3ImageProcessor",
14
+ "image_std": [
15
+ 0.5,
16
+ 0.5,
17
+ 0.5
18
+ ],
19
+ "max_image_size": {
20
+ "longest_edge": 512
21
+ },
22
+ "processor_class": "SmolVLMProcessor",
23
+ "resample": 1,
24
+ "rescale_factor": 0.00392156862745098,
25
+ "size": {
26
+ "longest_edge": 1536
27
+ },
28
+ "video_sampling": {
29
+ "fps": 1,
30
+ "max_frames": 64
31
+ },
32
+ "image_seq_len": 64
33
  }