mjschock commited on
Commit
f383f3f
·
verified ·
1 Parent(s): bcc67d2

Upload model trained with Unsloth

Browse files

Upload model trained with Unsloth 2x faster

Files changed (3) hide show
  1. config.json +282 -0
  2. generation_config.json +7 -0
  3. model.safetensors +3 -0
config.json ADDED
@@ -0,0 +1,282 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "HuggingFaceTB/SmolVLM-Instruct",
3
+ "architectures": [
4
+ "Idefics3ForConditionalGeneration"
5
+ ],
6
+ "image_seq_len": 81,
7
+ "image_token_id": 49153,
8
+ "model_type": "idefics3",
9
+ "pad_token_id": 2,
10
+ "quantization_config": {
11
+ "bnb_4bit_compute_dtype": "float16",
12
+ "bnb_4bit_quant_type": "nf4",
13
+ "bnb_4bit_use_double_quant": true,
14
+ "llm_int8_enable_fp32_cpu_offload": false,
15
+ "llm_int8_has_fp16_weight": false,
16
+ "llm_int8_skip_modules": null,
17
+ "llm_int8_threshold": 6.0,
18
+ "load_in_4bit": true,
19
+ "load_in_8bit": false,
20
+ "quant_method": "bitsandbytes"
21
+ },
22
+ "scale_factor": 3,
23
+ "text_config": {
24
+ "_attn_implementation_autoset": false,
25
+ "_flash_attn_2_enabled": true,
26
+ "_name_or_path": "/fsx/m4/experiments/local_experiment_dir/s3_async_temporary_checkpoint_folder/tr_324_opt_400/unwrapped_model",
27
+ "add_cross_attention": false,
28
+ "architectures": [
29
+ "VLlama3ForCausalLM"
30
+ ],
31
+ "attention_bias": false,
32
+ "attention_dropout": 0.0,
33
+ "bad_words_ids": null,
34
+ "begin_suppress_tokens": null,
35
+ "bos_token_id": 0,
36
+ "chunk_size_feed_forward": 0,
37
+ "cross_attention_hidden_size": null,
38
+ "decoder_start_token_id": null,
39
+ "diversity_penalty": 0.0,
40
+ "do_sample": false,
41
+ "early_stopping": false,
42
+ "encoder_no_repeat_ngram_size": 0,
43
+ "eos_token_id": 0,
44
+ "exponential_decay_length_penalty": null,
45
+ "finetuning_task": null,
46
+ "forced_bos_token_id": null,
47
+ "forced_eos_token_id": null,
48
+ "head_dim": 64,
49
+ "hidden_act": "silu",
50
+ "hidden_size": 2048,
51
+ "id2label": {
52
+ "0": "LABEL_0",
53
+ "1": "LABEL_1"
54
+ },
55
+ "initializer_range": 0.02,
56
+ "intermediate_size": 8192,
57
+ "is_decoder": false,
58
+ "is_encoder_decoder": false,
59
+ "label2id": {
60
+ "LABEL_0": 0,
61
+ "LABEL_1": 1
62
+ },
63
+ "length_penalty": 1.0,
64
+ "max_length": 20,
65
+ "max_position_embeddings": 16384,
66
+ "min_length": 0,
67
+ "mlp_bias": false,
68
+ "model_type": "llama",
69
+ "neftune_noise_alpha": 0.0,
70
+ "no_repeat_ngram_size": 0,
71
+ "num_attention_heads": 32,
72
+ "num_beam_groups": 1,
73
+ "num_beams": 1,
74
+ "num_hidden_layers": 24,
75
+ "num_key_value_heads": 32,
76
+ "num_return_sequences": 1,
77
+ "output_attentions": false,
78
+ "output_hidden_states": false,
79
+ "output_scores": false,
80
+ "pad_token_id": 2,
81
+ "perceiver_config": {
82
+ "_attn_implementation_autoset": false,
83
+ "_name_or_path": "",
84
+ "add_cross_attention": false,
85
+ "architectures": null,
86
+ "attention_dropout": 0.0,
87
+ "bad_words_ids": null,
88
+ "begin_suppress_tokens": null,
89
+ "bos_token_id": null,
90
+ "chunk_size_feed_forward": 0,
91
+ "cross_attention_hidden_size": null,
92
+ "decoder_start_token_id": null,
93
+ "diversity_penalty": 0.0,
94
+ "do_sample": false,
95
+ "early_stopping": false,
96
+ "encoder_no_repeat_ngram_size": 0,
97
+ "eos_token_id": null,
98
+ "exponential_decay_length_penalty": null,
99
+ "finetuning_task": null,
100
+ "forced_bos_token_id": null,
101
+ "forced_eos_token_id": null,
102
+ "hidden_act": "silu",
103
+ "id2label": {
104
+ "0": "LABEL_0",
105
+ "1": "LABEL_1"
106
+ },
107
+ "is_decoder": false,
108
+ "is_encoder_decoder": false,
109
+ "label2id": {
110
+ "LABEL_0": 0,
111
+ "LABEL_1": 1
112
+ },
113
+ "length_penalty": 1.0,
114
+ "max_length": 20,
115
+ "min_length": 0,
116
+ "model_type": "vllama3",
117
+ "no_repeat_ngram_size": 0,
118
+ "num_beam_groups": 1,
119
+ "num_beams": 1,
120
+ "num_key_value_heads": 1,
121
+ "num_return_sequences": 1,
122
+ "output_attentions": false,
123
+ "output_hidden_states": false,
124
+ "output_scores": false,
125
+ "pad_token_id": null,
126
+ "prefix": null,
127
+ "problem_type": null,
128
+ "pruned_heads": {},
129
+ "qk_layer_norms_perceiver": false,
130
+ "remove_invalid_values": false,
131
+ "repetition_penalty": 1.0,
132
+ "resampler_depth": 6,
133
+ "resampler_head_dim": 96,
134
+ "resampler_n_heads": 16,
135
+ "resampler_n_latents": 64,
136
+ "return_dict": true,
137
+ "return_dict_in_generate": false,
138
+ "sep_token_id": null,
139
+ "suppress_tokens": null,
140
+ "task_specific_params": null,
141
+ "temperature": 1.0,
142
+ "tf_legacy_loss": false,
143
+ "tie_encoder_decoder": false,
144
+ "tie_word_embeddings": true,
145
+ "tokenizer_class": null,
146
+ "top_k": 50,
147
+ "top_p": 1.0,
148
+ "torch_dtype": null,
149
+ "torchscript": false,
150
+ "transformers_version": "4.46.0",
151
+ "typical_p": 1.0,
152
+ "use_bfloat16": false
153
+ },
154
+ "prefix": null,
155
+ "pretraining_tp": 1,
156
+ "problem_type": null,
157
+ "pruned_heads": {},
158
+ "qk_layer_norms": false,
159
+ "remove_invalid_values": false,
160
+ "repetition_penalty": 1.0,
161
+ "return_dict": true,
162
+ "return_dict_in_generate": false,
163
+ "rms_norm_eps": 1e-05,
164
+ "rope_scaling": null,
165
+ "rope_theta": 273768.0,
166
+ "sep_token_id": null,
167
+ "suppress_tokens": null,
168
+ "task_specific_params": null,
169
+ "temperature": 1.0,
170
+ "tf_legacy_loss": false,
171
+ "tie_encoder_decoder": false,
172
+ "tie_word_embeddings": false,
173
+ "tokenizer_class": null,
174
+ "top_k": 50,
175
+ "top_p": 1.0,
176
+ "torch_dtype": "bfloat16",
177
+ "torchscript": false,
178
+ "typical_p": 1.0,
179
+ "use_bfloat16": false,
180
+ "use_cache": true,
181
+ "use_resampler": false,
182
+ "vocab_size": 49155
183
+ },
184
+ "tie_word_embeddings": false,
185
+ "torch_dtype": "float16",
186
+ "transformers.js_config": {
187
+ "dtype": {
188
+ "decoder_model_merged": "q4",
189
+ "embed_tokens": "auto",
190
+ "vision_encoder": "auto"
191
+ },
192
+ "kv_cache_dtype": {
193
+ "fp16": "float16",
194
+ "q4f16": "float16"
195
+ }
196
+ },
197
+ "transformers_version": "4.46.3",
198
+ "unsloth_version": "2024.12.8",
199
+ "use_cache": true,
200
+ "vision_config": {
201
+ "_attn_implementation_autoset": false,
202
+ "_name_or_path": "",
203
+ "add_cross_attention": false,
204
+ "architectures": null,
205
+ "attention_dropout": 0.0,
206
+ "bad_words_ids": null,
207
+ "begin_suppress_tokens": null,
208
+ "bos_token_id": null,
209
+ "chunk_size_feed_forward": 0,
210
+ "cross_attention_hidden_size": null,
211
+ "decoder_start_token_id": null,
212
+ "diversity_penalty": 0.0,
213
+ "do_sample": false,
214
+ "early_stopping": false,
215
+ "encoder_no_repeat_ngram_size": 0,
216
+ "eos_token_id": null,
217
+ "exponential_decay_length_penalty": null,
218
+ "finetuning_task": null,
219
+ "forced_bos_token_id": null,
220
+ "forced_eos_token_id": null,
221
+ "hidden_act": "gelu_pytorch_tanh",
222
+ "hidden_size": 1152,
223
+ "id2label": {
224
+ "0": "LABEL_0",
225
+ "1": "LABEL_1"
226
+ },
227
+ "image_size": 384,
228
+ "initializer_range": 0.02,
229
+ "intermediate_size": 4304,
230
+ "is_decoder": false,
231
+ "is_encoder_decoder": false,
232
+ "label2id": {
233
+ "LABEL_0": 0,
234
+ "LABEL_1": 1
235
+ },
236
+ "layer_norm_eps": 1e-06,
237
+ "length_penalty": 1.0,
238
+ "max_image_size": {
239
+ "longest_edge": 384
240
+ },
241
+ "max_length": 20,
242
+ "min_length": 0,
243
+ "model_type": "idefics3",
244
+ "no_repeat_ngram_size": 0,
245
+ "num_attention_heads": 16,
246
+ "num_beam_groups": 1,
247
+ "num_beams": 1,
248
+ "num_channels": 3,
249
+ "num_hidden_layers": 27,
250
+ "num_return_sequences": 1,
251
+ "output_attentions": false,
252
+ "output_hidden_states": false,
253
+ "output_scores": false,
254
+ "pad_token_id": null,
255
+ "patch_size": 14,
256
+ "prefix": null,
257
+ "problem_type": null,
258
+ "pruned_heads": {},
259
+ "remove_invalid_values": false,
260
+ "repetition_penalty": 1.0,
261
+ "return_dict": true,
262
+ "return_dict_in_generate": false,
263
+ "sep_token_id": null,
264
+ "size": {
265
+ "longest_edge": 1920
266
+ },
267
+ "suppress_tokens": null,
268
+ "task_specific_params": null,
269
+ "temperature": 1.0,
270
+ "tf_legacy_loss": false,
271
+ "tie_encoder_decoder": false,
272
+ "tie_word_embeddings": false,
273
+ "tokenizer_class": null,
274
+ "top_k": 50,
275
+ "top_p": 1.0,
276
+ "torch_dtype": null,
277
+ "torchscript": false,
278
+ "typical_p": 1.0,
279
+ "use_bfloat16": false
280
+ },
281
+ "vocab_size": 49155
282
+ }
generation_config.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "bos_token_id": 0,
4
+ "eos_token_id": 49154,
5
+ "pad_token_id": 2,
6
+ "transformers_version": "4.46.3"
7
+ }
model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0138e58c1875446494b5fac825b2575fa883754417ed04241365049dc205e813
3
+ size 1492824289