Upload folder using huggingface_hub
Browse files- config.json +36 -11
- generation_config.json +1 -1
- model-00001-of-00003.safetensors +1 -1
- preprocessor_config.json +4 -2
- tokenizer.json +2 -2
- tokenizer_config.json +8 -9
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 |
-
"
|
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,
|
@@ -95,7 +91,6 @@
|
|
95 |
"altup_active_idx": 0,
|
96 |
"altup_coef_clip": 120.0,
|
97 |
"altup_correct_scale": true,
|
98 |
-
"altup_lr_multiplier": 1.0,
|
99 |
"altup_num_inputs": 4,
|
100 |
"attention_bias": false,
|
101 |
"attention_dropout": 0.0,
|
@@ -105,7 +100,38 @@
|
|
105 |
"hidden_size": 2048,
|
106 |
"hidden_size_per_layer_input": 256,
|
107 |
"initializer_range": 0.02,
|
108 |
-
"intermediate_size":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
109 |
"laurel_rank": 64,
|
110 |
"layer_types": [
|
111 |
"sliding_attention",
|
@@ -145,7 +171,6 @@
|
|
145 |
"num_hidden_layers": 30,
|
146 |
"num_key_value_heads": 2,
|
147 |
"num_kv_shared_layers": 10,
|
148 |
-
"query_pre_attn_scalar": 256,
|
149 |
"rms_norm_eps": 1e-06,
|
150 |
"rope_local_base_freq": 10000.0,
|
151 |
"rope_scaling": null,
|
@@ -157,17 +182,17 @@
|
|
157 |
"vocab_size_per_layer_input": 262144
|
158 |
},
|
159 |
"torch_dtype": "bfloat16",
|
160 |
-
"transformers_version": "4.
|
161 |
-
"unsloth_fixed": true,
|
162 |
"vision_config": {
|
163 |
"architecture": "mobilenetv5_300m_enc",
|
164 |
-
"do_pooling":
|
165 |
"hidden_size": 2048,
|
166 |
"initializer_range": 0.02,
|
167 |
"label_names": [
|
168 |
"LABEL_0",
|
169 |
"LABEL_1"
|
170 |
],
|
|
|
171 |
"model_type": "gemma3n_vision",
|
172 |
"num_classes": 2,
|
173 |
"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,
|
|
|
91 |
"altup_active_idx": 0,
|
92 |
"altup_coef_clip": 120.0,
|
93 |
"altup_correct_scale": true,
|
|
|
94 |
"altup_num_inputs": 4,
|
95 |
"attention_bias": false,
|
96 |
"attention_dropout": 0.0,
|
|
|
100 |
"hidden_size": 2048,
|
101 |
"hidden_size_per_layer_input": 256,
|
102 |
"initializer_range": 0.02,
|
103 |
+
"intermediate_size": [
|
104 |
+
8192,
|
105 |
+
8192,
|
106 |
+
8192,
|
107 |
+
8192,
|
108 |
+
8192,
|
109 |
+
8192,
|
110 |
+
8192,
|
111 |
+
8192,
|
112 |
+
8192,
|
113 |
+
8192,
|
114 |
+
8192,
|
115 |
+
8192,
|
116 |
+
8192,
|
117 |
+
8192,
|
118 |
+
8192,
|
119 |
+
8192,
|
120 |
+
8192,
|
121 |
+
8192,
|
122 |
+
8192,
|
123 |
+
8192,
|
124 |
+
8192,
|
125 |
+
8192,
|
126 |
+
8192,
|
127 |
+
8192,
|
128 |
+
8192,
|
129 |
+
8192,
|
130 |
+
8192,
|
131 |
+
8192,
|
132 |
+
8192,
|
133 |
+
8192
|
134 |
+
],
|
135 |
"laurel_rank": 64,
|
136 |
"layer_types": [
|
137 |
"sliding_attention",
|
|
|
171 |
"num_hidden_layers": 30,
|
172 |
"num_key_value_heads": 2,
|
173 |
"num_kv_shared_layers": 10,
|
|
|
174 |
"rms_norm_eps": 1e-06,
|
175 |
"rope_local_base_freq": 10000.0,
|
176 |
"rope_scaling": null,
|
|
|
182 |
"vocab_size_per_layer_input": 262144
|
183 |
},
|
184 |
"torch_dtype": "bfloat16",
|
185 |
+
"transformers_version": "4.54.0.dev0",
|
|
|
186 |
"vision_config": {
|
187 |
"architecture": "mobilenetv5_300m_enc",
|
188 |
+
"do_pooling": false,
|
189 |
"hidden_size": 2048,
|
190 |
"initializer_range": 0.02,
|
191 |
"label_names": [
|
192 |
"LABEL_0",
|
193 |
"LABEL_1"
|
194 |
],
|
195 |
+
"model_args": null,
|
196 |
"model_type": "gemma3n_vision",
|
197 |
"num_classes": 2,
|
198 |
"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.
|
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-00003.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
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": "
|
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":
|
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:
|
3 |
-
size
|
|
|
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":
|
2164 |
},
|
2165 |
"256000": {
|
2166 |
"content": "<start_of_audio>",
|
@@ -2168,7 +2168,7 @@
|
|
2168 |
"normalized": false,
|
2169 |
"rstrip": false,
|
2170 |
"single_word": false,
|
2171 |
-
"special":
|
2172 |
},
|
2173 |
"256001": {
|
2174 |
"content": "<unused99>",
|
@@ -51320,7 +51320,7 @@
|
|
51320 |
"normalized": false,
|
51321 |
"rstrip": false,
|
51322 |
"single_word": false,
|
51323 |
-
"special":
|
51324 |
},
|
51325 |
"262145": {
|
51326 |
"content": "<image_soft_token>",
|
@@ -51328,7 +51328,7 @@
|
|
51328 |
"normalized": false,
|
51329 |
"rstrip": false,
|
51330 |
"single_word": false,
|
51331 |
-
"special":
|
51332 |
},
|
51333 |
"262146": {
|
51334 |
"content": "<unused_image0>",
|
@@ -52344,7 +52344,7 @@
|
|
52344 |
"normalized": false,
|
52345 |
"rstrip": false,
|
52346 |
"single_word": false,
|
52347 |
-
"special":
|
52348 |
},
|
52349 |
"262273": {
|
52350 |
"content": "<audio_soft_token>",
|
@@ -52352,7 +52352,7 @@
|
|
52352 |
"normalized": false,
|
52353 |
"rstrip": false,
|
52354 |
"single_word": false,
|
52355 |
-
"special":
|
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":
|
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 |
+
}
|