danielhanchen commited on
Commit
2b983f7
·
verified ·
1 Parent(s): 406637f

Upload folder using huggingface_hub

Browse files
config.json CHANGED
@@ -10,7 +10,6 @@
10
  "conf_conv_kernel_size": 5,
11
  "conf_num_attention_heads": 8,
12
  "conf_num_hidden_layers": 12,
13
- "conf_positional_bias_size": 256,
14
  "conf_reduction_factor": 4,
15
  "conf_residual_weight": 0.5,
16
  "gradient_clipping": 10000000000.0,
@@ -22,7 +21,7 @@
22
  128,
23
  32
24
  ],
25
- "sscp_conv_eps": 0.001,
26
  "sscp_conv_kernel_size": [
27
  [
28
  3,
@@ -51,14 +50,11 @@
51
  "audio_token_id": 262273,
52
  "boa_token_id": 256000,
53
  "boi_token_id": 255999,
54
- "bos_token_id": 2,
55
  "eoa_token_id": 262272,
56
  "eoi_token_id": 262144,
57
- "eos_token_id": 1,
58
  "image_token_id": 262145,
59
  "initializer_range": 0.02,
60
  "model_type": "gemma3n",
61
- "pad_token_id": 0,
62
  "text_config": {
63
  "activation_sparsity_pattern": [
64
  0.95,
@@ -100,7 +96,6 @@
100
  "altup_active_idx": 0,
101
  "altup_coef_clip": 120.0,
102
  "altup_correct_scale": true,
103
- "altup_lr_multiplier": 1.0,
104
  "altup_num_inputs": 4,
105
  "attention_bias": false,
106
  "attention_dropout": 0.0,
@@ -110,7 +105,43 @@
110
  "hidden_size": 2048,
111
  "hidden_size_per_layer_input": 256,
112
  "initializer_range": 0.02,
113
- "intermediate_size": 16384,
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  "laurel_rank": 64,
115
  "layer_types": [
116
  "sliding_attention",
@@ -155,7 +186,6 @@
155
  "num_hidden_layers": 35,
156
  "num_key_value_heads": 2,
157
  "num_kv_shared_layers": 15,
158
- "query_pre_attn_scalar": 256,
159
  "rms_norm_eps": 1e-06,
160
  "rope_local_base_freq": 10000.0,
161
  "rope_scaling": null,
@@ -167,17 +197,17 @@
167
  "vocab_size_per_layer_input": 262144
168
  },
169
  "torch_dtype": "bfloat16",
170
- "transformers_version": "4.53.0.dev0",
171
- "unsloth_fixed": true,
172
  "vision_config": {
173
  "architecture": "mobilenetv5_300m_enc",
174
- "do_pooling": true,
175
  "hidden_size": 2048,
176
  "initializer_range": 0.02,
177
  "label_names": [
178
  "LABEL_0",
179
  "LABEL_1"
180
  ],
 
181
  "model_type": "gemma3n_vision",
182
  "num_classes": 2,
183
  "rms_norm_eps": 1e-06,
 
10
  "conf_conv_kernel_size": 5,
11
  "conf_num_attention_heads": 8,
12
  "conf_num_hidden_layers": 12,
 
13
  "conf_reduction_factor": 4,
14
  "conf_residual_weight": 0.5,
15
  "gradient_clipping": 10000000000.0,
 
21
  128,
22
  32
23
  ],
24
+ "sscp_conv_group_norm_eps": 0.001,
25
  "sscp_conv_kernel_size": [
26
  [
27
  3,
 
50
  "audio_token_id": 262273,
51
  "boa_token_id": 256000,
52
  "boi_token_id": 255999,
 
53
  "eoa_token_id": 262272,
54
  "eoi_token_id": 262144,
 
55
  "image_token_id": 262145,
56
  "initializer_range": 0.02,
57
  "model_type": "gemma3n",
 
58
  "text_config": {
59
  "activation_sparsity_pattern": [
60
  0.95,
 
96
  "altup_active_idx": 0,
97
  "altup_coef_clip": 120.0,
98
  "altup_correct_scale": true,
 
99
  "altup_num_inputs": 4,
100
  "attention_bias": false,
101
  "attention_dropout": 0.0,
 
105
  "hidden_size": 2048,
106
  "hidden_size_per_layer_input": 256,
107
  "initializer_range": 0.02,
108
+ "intermediate_size": [
109
+ 16384,
110
+ 16384,
111
+ 16384,
112
+ 16384,
113
+ 16384,
114
+ 16384,
115
+ 16384,
116
+ 16384,
117
+ 16384,
118
+ 16384,
119
+ 16384,
120
+ 16384,
121
+ 16384,
122
+ 16384,
123
+ 16384,
124
+ 16384,
125
+ 16384,
126
+ 16384,
127
+ 16384,
128
+ 16384,
129
+ 16384,
130
+ 16384,
131
+ 16384,
132
+ 16384,
133
+ 16384,
134
+ 16384,
135
+ 16384,
136
+ 16384,
137
+ 16384,
138
+ 16384,
139
+ 16384,
140
+ 16384,
141
+ 16384,
142
+ 16384,
143
+ 16384
144
+ ],
145
  "laurel_rank": 64,
146
  "layer_types": [
147
  "sliding_attention",
 
186
  "num_hidden_layers": 35,
187
  "num_key_value_heads": 2,
188
  "num_kv_shared_layers": 15,
 
189
  "rms_norm_eps": 1e-06,
190
  "rope_local_base_freq": 10000.0,
191
  "rope_scaling": null,
 
197
  "vocab_size_per_layer_input": 262144
198
  },
199
  "torch_dtype": "bfloat16",
200
+ "transformers_version": "4.54.0.dev0",
 
201
  "vision_config": {
202
  "architecture": "mobilenetv5_300m_enc",
203
+ "do_pooling": false,
204
  "hidden_size": 2048,
205
  "initializer_range": 0.02,
206
  "label_names": [
207
  "LABEL_0",
208
  "LABEL_1"
209
  ],
210
+ "model_args": null,
211
  "model_type": "gemma3n_vision",
212
  "num_classes": 2,
213
  "rms_norm_eps": 1e-06,
generation_config.json CHANGED
@@ -6,5 +6,5 @@
6
  "pad_token_id": 0,
7
  "top_k": 64,
8
  "top_p": 0.95,
9
- "transformers_version": "4.53.0.dev0"
10
  }
 
6
  "pad_token_id": 0,
7
  "top_k": 64,
8
  "top_p": 0.95,
9
+ "transformers_version": "4.54.0.dev0"
10
  }
model-00001-of-00004.safetensors CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:681e3230979df3dcf723631523de45d7bdd69be8af6e1c348c2ceeffe17595f9
3
  size 3077103576
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6dc80317bce6640e4ca4e674b3889eedf26e723f1fbeb956289ab1ef01c21520
3
  size 3077103576
preprocessor_config.json CHANGED
@@ -3,12 +3,14 @@
3
  "data_format": "channels_first",
4
  "default_to_square": false,
5
  "device": null,
 
6
  "dither": 0.0,
7
  "do_center_crop": null,
8
  "do_convert_rgb": null,
9
  "do_normalize": false,
10
  "do_rescale": true,
11
  "do_resize": true,
 
12
  "feature_size": 128,
13
  "fft_length": 1024,
14
  "fft_overdrive": true,
@@ -31,7 +33,7 @@
31
  "max_frequency": 7600.0,
32
  "mel_floor": 1e-05,
33
  "min_frequency": 125.0,
34
- "padding_side": "left",
35
  "padding_value": 0.0,
36
  "per_bin_mean": null,
37
  "per_bin_stddev": null,
@@ -40,7 +42,7 @@
40
  "processor_class": "Gemma3nProcessor",
41
  "resample": 2,
42
  "rescale_factor": 0.00392156862745098,
43
- "return_attention_mask": false,
44
  "return_tensors": null,
45
  "sampling_rate": 16000,
46
  "size": {
 
3
  "data_format": "channels_first",
4
  "default_to_square": false,
5
  "device": null,
6
+ "disable_grouping": null,
7
  "dither": 0.0,
8
  "do_center_crop": null,
9
  "do_convert_rgb": null,
10
  "do_normalize": false,
11
  "do_rescale": true,
12
  "do_resize": true,
13
+ "feature_extractor_type": "Gemma3nAudioFeatureExtractor",
14
  "feature_size": 128,
15
  "fft_length": 1024,
16
  "fft_overdrive": true,
 
33
  "max_frequency": 7600.0,
34
  "mel_floor": 1e-05,
35
  "min_frequency": 125.0,
36
+ "padding_side": "right",
37
  "padding_value": 0.0,
38
  "per_bin_mean": null,
39
  "per_bin_stddev": null,
 
42
  "processor_class": "Gemma3nProcessor",
43
  "resample": 2,
44
  "rescale_factor": 0.00392156862745098,
45
+ "return_attention_mask": true,
46
  "return_tensors": null,
47
  "sampling_rate": 16000,
48
  "size": {
tokenizer.json CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:b6c35ee648c07754b44cd9e371c75d4caa05c4504910b7ad29b1847ee9d8ba5d
3
- size 33442553
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c4c19736bf24d1c6805cf49340e31bd02c70fb7857a2cb31065c90c2b5719c4e
3
+ size 33442559
tokenizer_config.json CHANGED
@@ -2160,7 +2160,7 @@
2160
  "normalized": false,
2161
  "rstrip": false,
2162
  "single_word": false,
2163
- "special": true
2164
  },
2165
  "256000": {
2166
  "content": "<start_of_audio>",
@@ -2168,7 +2168,7 @@
2168
  "normalized": false,
2169
  "rstrip": false,
2170
  "single_word": false,
2171
- "special": true
2172
  },
2173
  "256001": {
2174
  "content": "<unused99>",
@@ -51320,7 +51320,7 @@
51320
  "normalized": false,
51321
  "rstrip": false,
51322
  "single_word": false,
51323
- "special": true
51324
  },
51325
  "262145": {
51326
  "content": "<image_soft_token>",
@@ -51328,7 +51328,7 @@
51328
  "normalized": false,
51329
  "rstrip": false,
51330
  "single_word": false,
51331
- "special": true
51332
  },
51333
  "262146": {
51334
  "content": "<unused_image0>",
@@ -52344,7 +52344,7 @@
52344
  "normalized": false,
52345
  "rstrip": false,
52346
  "single_word": false,
52347
- "special": true
52348
  },
52349
  "262273": {
52350
  "content": "<audio_soft_token>",
@@ -52352,7 +52352,7 @@
52352
  "normalized": false,
52353
  "rstrip": false,
52354
  "single_word": false,
52355
- "special": true
52356
  },
52357
  "262274": {
52358
  "content": "<unused_audio0>",
@@ -53380,13 +53380,12 @@
53380
  "image_token": "<image_soft_token>"
53381
  },
53382
  "image_token": "<image_soft_token>",
53383
- "model_max_length": 32768,
53384
  "pad_token": "<pad>",
53385
- "padding_side": "left",
53386
  "processor_class": "Gemma3nProcessor",
53387
  "sp_model_kwargs": null,
53388
  "spaces_between_special_tokens": false,
53389
  "tokenizer_class": "GemmaTokenizer",
53390
  "unk_token": "<unk>",
53391
  "use_default_system_prompt": false
53392
- }
 
2160
  "normalized": false,
2161
  "rstrip": false,
2162
  "single_word": false,
2163
+ "special": false
2164
  },
2165
  "256000": {
2166
  "content": "<start_of_audio>",
 
2168
  "normalized": false,
2169
  "rstrip": false,
2170
  "single_word": false,
2171
+ "special": false
2172
  },
2173
  "256001": {
2174
  "content": "<unused99>",
 
51320
  "normalized": false,
51321
  "rstrip": false,
51322
  "single_word": false,
51323
+ "special": false
51324
  },
51325
  "262145": {
51326
  "content": "<image_soft_token>",
 
51328
  "normalized": false,
51329
  "rstrip": false,
51330
  "single_word": false,
51331
+ "special": false
51332
  },
51333
  "262146": {
51334
  "content": "<unused_image0>",
 
52344
  "normalized": false,
52345
  "rstrip": false,
52346
  "single_word": false,
52347
+ "special": false
52348
  },
52349
  "262273": {
52350
  "content": "<audio_soft_token>",
 
52352
  "normalized": false,
52353
  "rstrip": false,
52354
  "single_word": false,
52355
+ "special": false
52356
  },
52357
  "262274": {
52358
  "content": "<unused_audio0>",
 
53380
  "image_token": "<image_soft_token>"
53381
  },
53382
  "image_token": "<image_soft_token>",
53383
+ "model_max_length": 1000000000000000019884624838656,
53384
  "pad_token": "<pad>",
 
53385
  "processor_class": "Gemma3nProcessor",
53386
  "sp_model_kwargs": null,
53387
  "spaces_between_special_tokens": false,
53388
  "tokenizer_class": "GemmaTokenizer",
53389
  "unk_token": "<unk>",
53390
  "use_default_system_prompt": false
53391
+ }