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
|
6 |
+
"attention_bias": false,
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"audio_processor": {
|
9 |
+
"config": {
|
10 |
+
"activation": "swish",
|
11 |
+
"activation_checkpointing": {
|
12 |
+
"interval": 1,
|
13 |
+
"module": "transformer",
|
14 |
+
"offload": false
|
15 |
+
},
|
16 |
+
"attention_dim": 1024,
|
17 |
+
"attention_heads": 16,
|
18 |
+
"batch_norm": false,
|
19 |
+
"bias_in_glu": true,
|
20 |
+
"causal": true,
|
21 |
+
"chunk_size": -1,
|
22 |
+
"cnn_layer_norm": true,
|
23 |
+
"conv_activation": "swish",
|
24 |
+
"conv_glu_type": "swish",
|
25 |
+
"depthwise_multiplier": 1,
|
26 |
+
"depthwise_seperable_out_channel": 1024,
|
27 |
+
"dropout_rate": 0.0,
|
28 |
+
"encoder_embedding_config": {
|
29 |
+
"input_size": 80
|
30 |
+
},
|
31 |
+
"ext_pw_kernel_size": 1,
|
32 |
+
"ext_pw_out_channel": 1024,
|
33 |
+
"input_layer": "nemo_conv",
|
34 |
+
"input_size": 80,
|
35 |
+
"kernel_size": 3,
|
36 |
+
"left_chunk": 18,
|
37 |
+
"linear_units": 1536,
|
38 |
+
"nemo_conv_settings": {
|
39 |
+
"conv_channels": 1024
|
40 |
+
},
|
41 |
+
"num_blocks": 24,
|
42 |
+
"relative_attention_bias_args": {
|
43 |
+
"t5_bias_max_distance": 500,
|
44 |
+
"type": "t5"
|
45 |
+
},
|
46 |
+
"time_reduction": 8
|
47 |
+
},
|
48 |
+
"name": "cascades"
|
49 |
+
},
|
50 |
+
"auto_map": {
|
51 |
+
"AutoConfig": "configuration_phi4mm.Phi4MMConfig",
|
52 |
+
"AutoModelForCausalLM": "modeling_phi4mm.Phi4MMForCausalLM",
|
53 |
+
"AutoTokenizer": "microsoft/Phi-4-multimodal-instruct--Xenova/gpt-4o"
|
54 |
+
},
|
55 |
+
"bos_token_id": 199999,
|
56 |
+
"embd_layer": {
|
57 |
+
"audio_embd_layer": {
|
58 |
+
"compression_rate": 8,
|
59 |
+
"downsample_rate": 1,
|
60 |
+
"embedding_cls": "audio",
|
61 |
+
"enable_gradient_checkpointing": true,
|
62 |
+
"projection_cls": "mlp",
|
63 |
+
"use_conv_downsample": false,
|
64 |
+
"use_qformer": false
|
65 |
+
},
|
66 |
+
"embedding_cls": "image_audio",
|
67 |
+
"image_embd_layer": {
|
68 |
+
"crop_size": 448,
|
69 |
+
"embedding_cls": "tune_image",
|
70 |
+
"enable_gradient_checkpointing": true,
|
71 |
+
"hd_transform_order": "sub_glb",
|
72 |
+
"image_token_compression_cls": "avg_pool_2d",
|
73 |
+
"projection_cls": "mlp",
|
74 |
+
"use_hd_transform": true,
|
75 |
+
"with_learnable_separator": true
|
76 |
+
}
|
77 |
+
},
|
78 |
+
"embd_pdrop": 0.0,
|
79 |
+
"eos_token_id": 199999,
|
80 |
+
"full_attn_mod": 1,
|
81 |
+
"hidden_act": "silu",
|
82 |
+
"hidden_size": 3072,
|
83 |
+
"img_processor": null,
|
84 |
+
"initializer_range": 0.02,
|
85 |
+
"intermediate_size": 8192,
|
86 |
+
"interpolate_factor": 1,
|
87 |
+
"lm_head_bias": false,
|
88 |
+
"max_position_embeddings": 131072,
|
89 |
+
"mlp_bias": false,
|
90 |
+
"model_type": "phi4mm",
|
91 |
+
"num_attention_heads": 24,
|
92 |
+
"num_hidden_layers": 32,
|
93 |
+
"num_key_value_heads": 8,
|
94 |
+
"original_max_position_embeddings": 4096,
|
95 |
+
"pad_token_id": 199999,
|
96 |
+
"partial_rotary_factor": 0.75,
|
97 |
+
"resid_pdrop": 0.0,
|
98 |
+
"rms_norm_eps": 1e-05,
|
99 |
+
"rope_scaling": {
|
100 |
+
"long_factor": [
|
101 |
+
1,
|
102 |
+
1.118320672,
|
103 |
+
1.250641126,
|
104 |
+
1.398617824,
|
105 |
+
1.564103225,
|
106 |
+
1.74916897,
|
107 |
+
1.956131817,
|
108 |
+
2.187582649,
|
109 |
+
2.446418898,
|
110 |
+
2.735880826,
|
111 |
+
3.059592084,
|
112 |
+
3.421605075,
|
113 |
+
3.826451687,
|
114 |
+
4.279200023,
|
115 |
+
4.785517845,
|
116 |
+
5.351743533,
|
117 |
+
5.984965424,
|
118 |
+
6.693110555,
|
119 |
+
7.485043894,
|
120 |
+
8.370679318,
|
121 |
+
9.36110372,
|
122 |
+
10.4687158,
|
123 |
+
11.70738129,
|
124 |
+
13.09260651,
|
125 |
+
14.64173252,
|
126 |
+
16.37415215,
|
127 |
+
18.31155283,
|
128 |
+
20.47818807,
|
129 |
+
22.90118105,
|
130 |
+
25.61086418,
|
131 |
+
28.64115884,
|
132 |
+
32.03,
|
133 |
+
32.1,
|
134 |
+
32.13,
|
135 |
+
32.23,
|
136 |
+
32.6,
|
137 |
+
32.61,
|
138 |
+
32.64,
|
139 |
+
32.66,
|
140 |
+
32.7,
|
141 |
+
32.71,
|
142 |
+
32.93,
|
143 |
+
32.97,
|
144 |
+
33.28,
|
145 |
+
33.49,
|
146 |
+
33.5,
|
147 |
+
44.16,
|
148 |
+
47.77
|
149 |
+
],
|
150 |
+
"short_factor": [
|
151 |
+
1.0,
|
152 |
+
1.0,
|
153 |
+
1.0,
|
154 |
+
1.0,
|
155 |
+
1.0,
|
156 |
+
1.0,
|
157 |
+
1.0,
|
158 |
+
1.0,
|
159 |
+
1.0,
|
160 |
+
1.0,
|
161 |
+
1.0,
|
162 |
+
1.0,
|
163 |
+
1.0,
|
164 |
+
1.0,
|
165 |
+
1.0,
|
166 |
+
1.0,
|
167 |
+
1.0,
|
168 |
+
1.0,
|
169 |
+
1.0,
|
170 |
+
1.0,
|
171 |
+
1.0,
|
172 |
+
1.0,
|
173 |
+
1.0,
|
174 |
+
1.0,
|
175 |
+
1.0,
|
176 |
+
1.0,
|
177 |
+
1.0,
|
178 |
+
1.0,
|
179 |
+
1.0,
|
180 |
+
1.0,
|
181 |
+
1.0,
|
182 |
+
1.0,
|
183 |
+
1.0,
|
184 |
+
1.0,
|
185 |
+
1.0,
|
186 |
+
1.0,
|
187 |
+
1.0,
|
188 |
+
1.0,
|
189 |
+
1.0,
|
190 |
+
1.0,
|
191 |
+
1.0,
|
192 |
+
1.0,
|
193 |
+
1.0,
|
194 |
+
1.0,
|
195 |
+
1.0,
|
196 |
+
1.0,
|
197 |
+
1.0,
|
198 |
+
1.0
|
199 |
+
],
|
200 |
+
"type": "longrope"
|
201 |
+
},
|
202 |
+
"rope_theta": 10000.0,
|
203 |
+
"sliding_window": 262144,
|
204 |
+
"speech_lora": {
|
205 |
+
"dp": 0.01,
|
206 |
+
"layer": "((layers.*self_attn\\.(qkv|o)_proj)|(layers.*mlp\\.(gate_up|down)_proj))",
|
207 |
+
"lora_alpha": 640,
|
208 |
+
"r": 320
|
209 |
+
},
|
210 |
+
"tie_word_embeddings": true,
|
211 |
+
"torch_dtype": "bfloat16",
|
212 |
+
"transformers_version": "4.48.3",
|
213 |
+
"use_cache": true,
|
214 |
+
"vision_lora": {
|
215 |
+
"dp": 0.0,
|
216 |
+
"layer": "layers.*((self_attn\\.(qkv_proj|o_proj))|(mlp\\.(gate_up|down)_proj))",
|
217 |
+
"lora_alpha": 512,
|
218 |
+
"r": 256
|
219 |
+
},
|
220 |
+
"vocab_size": 200064
|
221 |
+
}
|
model-00001-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:27d3f1a70aa747bdad3aeaba20da91edf11260379950e939596eb9a77708eb17
|
3 |
+
size 4997504848
|
model-00002-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:9fa47d4fe7a72010de97cebd6139ce2a712a6606bf94360b45dcbed38e3591e9
|
3 |
+
size 4952333128
|
model-00003-of-00003.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:29c2d813eb05e1daa40573dbeb09c11df77f874ff608459416ef431030df1eb0
|
3 |
+
size 1199389232
|
model.safetensors.index.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
runs/Mar02_15-34-52_3ef6d6756962/events.out.tfevents.1740929693.3ef6d6756962.296.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:84d34516dc8c2987ebcdf051e84f7daeeebefd2e2df9f608a2875fd1a6fceb28
|
3 |
+
size 13443
|
training_args.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:46f00a006411285d75facbf37aa99a1ef9e1419d8c7e46225f37dc01171374af
|
3 |
+
size 5432
|