root commited on
Commit
8fb7827
·
1 Parent(s): 23f7482

initial commit

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,457 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Tencent is pleased to support the open source community by making Unified_Audio_Schema available.
2
+
3
+ Copyright (C) 2026 Tencent. All rights reserved.
4
+
5
+ The open-source software and/or models included in this distribution may have been modified by Tencent (“Tencent Modifications”). All Tencent Modifications are Copyright (C) Tencent.
6
+
7
+ Unified_Audio_Schema is licensed under the License Terms of Unified_Audio_Schema, except for the third-party components listed below, which remain licensed under their respective original terms. Unified_Audio_Schema does not impose any additional restrictions beyond those specified in the original licenses of these third-party components. Users are required to comply with all applicable terms and conditions of the original licenses and to ensure that the use of these third-party components conforms to all relevant laws and regulations.
8
+
9
+ For the avoidance of doubt, Unified_Audio_Schema refers solely to code, parameters, and weights made publicly available by Tencent in accordance with the License Terms of Unified_Audio_Schema.
10
+
11
+ Terms of the Unified_Audio_Schema:
12
+ --------------------------------------------------------------------
13
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
14
+
15
+ 1. Unified_Audio_Schema IS NOT INTENDED FOR USE WITHIN THE EUROPEAN UNION.
16
+
17
+ 2. The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+
21
+
22
+
23
+ Dependencies and Licenses:
24
+
25
+ This open-source project, Unified_Audio_Schema, builds upon the following open-source models and/or software components, each of which remains licensed under its original license. Certain models or software may include modifications made by Tencent (“Tencent Modifications”), which are Copyright (C) Tencent.
26
+
27
+ In case you believe there have been errors in the attribution below, you may submit the concerns to us for review and correction.
28
+
29
+
30
+ Open Source Model Licensed under the Apache-2.0:
31
+ --------------------------------------------------------------------
32
+ 1. Qwen2.5
33
+ Copyright 2024 Alibaba Cloud
34
+ Please note this model has been modified by Tencent in this distribution.
35
+
36
+ 2. Qwen3-Omni
37
+ Copyright Alibaba Cloud
38
+ Please note this model has been modified by Tencent in this distribution.
39
+
40
+
41
+
42
+ Terms of the Apache-2.0:
43
+ --------------------------------------------------------------------
44
+ Apache License
45
+ Version 2.0, January 2004
46
+ http://www.apache.org/licenses/
47
+
48
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
49
+
50
+ 1. Definitions.
51
+
52
+ "License" shall mean the terms and conditions for use, reproduction,
53
+ and distribution as defined by Sections 1 through 9 of this document.
54
+
55
+ "Licensor" shall mean the copyright owner or entity authorized by
56
+ the copyright owner that is granting the License.
57
+
58
+ "Legal Entity" shall mean the union of the acting entity and all
59
+ other entities that control, are controlled by, or are under common
60
+ control with that entity. For the purposes of this definition,
61
+ "control" means (i) the power, direct or indirect, to cause the
62
+ direction or management of such entity, whether by contract or
63
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
64
+ outstanding shares, or (iii) beneficial ownership of such entity.
65
+
66
+ "You" (or "Your") shall mean an individual or Legal Entity
67
+ exercising permissions granted by this License.
68
+
69
+ "Source" form shall mean the preferred form for making modifications,
70
+ including but not limited to software source code, documentation
71
+ source, and configuration files.
72
+
73
+ "Object" form shall mean any form resulting from mechanical
74
+ transformation or translation of a Source form, including but
75
+ not limited to compiled object code, generated documentation,
76
+ and conversions to other media types.
77
+
78
+ "Work" shall mean the work of authorship, whether in Source or
79
+ Object form, made available under the License, as indicated by a
80
+ copyright notice that is included in or attached to the work
81
+ (an example is provided in the Appendix below).
82
+
83
+ "Derivative Works" shall mean any work, whether in Source or Object
84
+ form, that is based on (or derived from) the Work and for which the
85
+ editorial revisions, annotations, elaborations, or other modifications
86
+ represent, as a whole, an original work of authorship. For the purposes
87
+ of this License, Derivative Works shall not include works that remain
88
+ separable from, or merely link (or bind by name) to the interfaces of,
89
+ the Work and Derivative Works thereof.
90
+
91
+ "Contribution" shall mean any work of authorship, including
92
+ the original version of the Work and any modifications or additions
93
+ to that Work or Derivative Works thereof, that is intentionally
94
+ submitted to Licensor for inclusion in the Work by the copyright owner
95
+ or by an individual or Legal Entity authorized to submit on behalf of
96
+ the copyright owner. For the purposes of this definition, "submitted"
97
+ means any form of electronic, verbal, or written communication sent
98
+ to the Licensor or its representatives, including but not limited to
99
+ communication on electronic mailing lists, source code control systems,
100
+ and issue tracking systems that are managed by, or on behalf of, the
101
+ Licensor for the purpose of discussing and improving the Work, but
102
+ excluding communication that is conspicuously marked or otherwise
103
+ designated in writing by the copyright owner as "Not a Contribution."
104
+
105
+ "Contributor" shall mean Licensor and any individual or Legal Entity
106
+ on behalf of whom a Contribution has been received by Licensor and
107
+ subsequently incorporated within the Work.
108
+
109
+ 2. Grant of Copyright License. Subject to the terms and conditions of
110
+ this License, each Contributor hereby grants to You a perpetual,
111
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
112
+ copyright license to reproduce, prepare Derivative Works of,
113
+ publicly display, publicly perform, sublicense, and distribute the
114
+ Work and such Derivative Works in Source or Object form.
115
+
116
+ 3. Grant of Patent License. Subject to the terms and conditions of
117
+ this License, each Contributor hereby grants to You a perpetual,
118
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
119
+ (except as stated in this section) patent license to make, have made,
120
+ use, offer to sell, sell, import, and otherwise transfer the Work,
121
+ where such license applies only to those patent claims licensable
122
+ by such Contributor that are necessarily infringed by their
123
+ Contribution(s) alone or by combination of their Contribution(s)
124
+ with the Work to which such Contribution(s) was submitted. If You
125
+ institute patent litigation against any entity (including a
126
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
127
+ or a Contribution incorporated within the Work constitutes direct
128
+ or contributory patent infringement, then any patent licenses
129
+ granted to You under this License for that Work shall terminate
130
+ as of the date such litigation is filed.
131
+
132
+ 4. Redistribution. You may reproduce and distribute copies of the
133
+ Work or Derivative Works thereof in any medium, with or without
134
+ modifications, and in Source or Object form, provided that You
135
+ meet the following conditions:
136
+
137
+ (a) You must give any other recipients of the Work or
138
+ Derivative Works a copy of this License; and
139
+
140
+ (b) You must cause any modified files to carry prominent notices
141
+ stating that You changed the files; and
142
+
143
+ (c) You must retain, in the Source form of any Derivative Works
144
+ that You distribute, all copyright, patent, trademark, and
145
+ attribution notices from the Source form of the Work,
146
+ excluding those notices that do not pertain to any part of
147
+ the Derivative Works; and
148
+
149
+ (d) If the Work includes a "NOTICE" text file as part of its
150
+ distribution, then any Derivative Works that You distribute must
151
+ include a readable copy of the attribution notices contained
152
+ within such NOTICE file, excluding those notices that do not
153
+ pertain to any part of the Derivative Works, in at least one
154
+ of the following places: within a NOTICE text file distributed
155
+ as part of the Derivative Works; within the Source form or
156
+ documentation, if provided along with the Derivative Works; or,
157
+ within a display generated by the Derivative Works, if and
158
+ wherever such third-party notices normally appear. The contents
159
+ of the NOTICE file are for informational purposes only and
160
+ do not modify the License. You may add Your own attribution
161
+ notices within Derivative Works that You distribute, alongside
162
+ or as an addendum to the NOTICE text from the Work, provided
163
+ that such additional attribution notices cannot be construed
164
+ as modifying the License.
165
+
166
+ You may add Your own copyright statement to Your modifications and
167
+ may provide additional or different license terms and conditions
168
+ for use, reproduction, or distribution of Your modifications, or
169
+ for any such Derivative Works as a whole, provided Your use,
170
+ reproduction, and distribution of the Work otherwise complies with
171
+ the conditions stated in this License.
172
+
173
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
174
+ any Contribution intentionally submitted for inclusion in the Work
175
+ by You to the Licensor shall be under the terms and conditions of
176
+ this License, without any additional terms or conditions.
177
+ Notwithstanding the above, nothing herein shall supersede or modify
178
+ the terms of any separate license agreement you may have executed
179
+ with Licensor regarding such Contributions.
180
+
181
+ 6. Trademarks. This License does not grant permission to use the trade
182
+ names, trademarks, service marks, or product names of the Licensor,
183
+ except as required for reasonable and customary use in describing the
184
+ origin of the Work and reproducing the content of the NOTICE file.
185
+
186
+ 7. Disclaimer of Warranty. Unless required by applicable law or
187
+ agreed to in writing, Licensor provides the Work (and each
188
+ Contributor provides its Contributions) on an "AS IS" BASIS,
189
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
190
+ implied, including, without limitation, any warranties or conditions
191
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
192
+ PARTICULAR PURPOSE. You are solely responsible for determining the
193
+ appropriateness of using or redistributing the Work and assume any
194
+ risks associated with Your exercise of permissions under this License.
195
+
196
+ 8. Limitation of Liability. In no event and under no legal theory,
197
+ whether in tort (including negligence), contract, or otherwise,
198
+ unless required by applicable law (such as deliberate and grossly
199
+ negligent acts) or agreed to in writing, shall any Contributor be
200
+ liable to You for damages, including any direct, indirect, special,
201
+ incidental, or consequential damages of any character arising as a
202
+ result of this License or out of the use or inability to use the
203
+ Work (including but not limited to damages for loss of goodwill,
204
+ work stoppage, computer failure or malfunction, or any and all
205
+ other commercial damages or losses), even if such Contributor
206
+ has been advised of the possibility of such damages.
207
+
208
+ 9. Accepting Warranty or Additional Liability. While redistributing
209
+ the Work or Derivative Works thereof, You may choose to offer,
210
+ and charge a fee for, acceptance of support, warranty, indemnity,
211
+ or other liability obligations and/or rights consistent with this
212
+ License. However, in accepting such obligations, You may act only
213
+ on Your own behalf and on Your sole responsibility, not on behalf
214
+ of any other Contributor, and only if You agree to indemnify,
215
+ defend, and hold each Contributor harmless for any liability
216
+ incurred by, or claims asserted against, such Contributor by reason
217
+ of your accepting any such warranty or additional liability.
218
+
219
+ END OF TERMS AND CONDITIONS
220
+
221
+ APPENDIX: How to apply the Apache License to your work.
222
+
223
+ To apply the Apache License to your work, attach the following
224
+ boilerplate notice, with the fields enclosed by brackets "[]"
225
+ replaced with your own identifying information. (Don't include
226
+ the brackets!) The text should be enclosed in the appropriate
227
+ comment syntax for the file format. We also recommend that a
228
+ file or class name and description of purpose be included on the
229
+ same "printed page" as the copyright notice for easier
230
+ identification within third-party archives.
231
+
232
+ Copyright [yyyy] [name of copyright owner]
233
+
234
+ Licensed under the Apache License, Version 2.0 (the "License");
235
+ you may not use this file except in compliance with the License.
236
+ You may obtain a copy of the License at
237
+
238
+ http://www.apache.org/licenses/LICENSE-2.0
239
+
240
+ Unless required by applicable law or agreed to in writing, software
241
+ distributed under the License is distributed on an "AS IS" BASIS,
242
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
243
+ See the License for the specific language governing permissions and
244
+ limitations under the License.
245
+
246
+
247
+ Open Source Software Licensed under the Apache-2.0
248
+ --------------------------------------------------------------------
249
+ 1. MiMo-Audio-Eval
250
+ Copyright 2025 Xiaomi Corporation.
251
+ Please note this software has been modified by Tencent in this distribution.
252
+
253
+
254
+
255
+ Terms of the Apache-2.0
256
+ --------------------------------------------------------------------
257
+ Apache License
258
+ Version 2.0, January 2004
259
+ http://www.apache.org/licenses/
260
+
261
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
262
+
263
+ 1. Definitions.
264
+
265
+ "License" shall mean the terms and conditions for use, reproduction,
266
+ and distribution as defined by Sections 1 through 9 of this document.
267
+
268
+ "Licensor" shall mean the copyright owner or entity authorized by
269
+ the copyright owner that is granting the License.
270
+
271
+ "Legal Entity" shall mean the union of the acting entity and all
272
+ other entities that control, are controlled by, or are under common
273
+ control with that entity. For the purposes of this definition,
274
+ "control" means (i) the power, direct or indirect, to cause the
275
+ direction or management of such entity, whether by contract or
276
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
277
+ outstanding shares, or (iii) beneficial ownership of such entity.
278
+
279
+ "You" (or "Your") shall mean an individual or Legal Entity
280
+ exercising permissions granted by this License.
281
+
282
+ "Source" form shall mean the preferred form for making modifications,
283
+ including but not limited to software source code, documentation
284
+ source, and configuration files.
285
+
286
+ "Object" form shall mean any form resulting from mechanical
287
+ transformation or translation of a Source form, including but
288
+ not limited to compiled object code, generated documentation,
289
+ and conversions to other media types.
290
+
291
+ "Work" shall mean the work of authorship, whether in Source or
292
+ Object form, made available under the License, as indicated by a
293
+ copyright notice that is included in or attached to the work
294
+ (an example is provided in the Appendix below).
295
+
296
+ "Derivative Works" shall mean any work, whether in Source or Object
297
+ form, that is based on (or derived from) the Work and for which the
298
+ editorial revisions, annotations, elaborations, or other modifications
299
+ represent, as a whole, an original work of authorship. For the purposes
300
+ of this License, Derivative Works shall not include works that remain
301
+ separable from, or merely link (or bind by name) to the interfaces of,
302
+ the Work and Derivative Works thereof.
303
+
304
+ "Contribution" shall mean any work of authorship, including
305
+ the original version of the Work and any modifications or additions
306
+ to that Work or Derivative Works thereof, that is intentionally
307
+ submitted to Licensor for inclusion in the Work by the copyright owner
308
+ or by an individual or Legal Entity authorized to submit on behalf of
309
+ the copyright owner. For the purposes of this definition, "submitted"
310
+ means any form of electronic, verbal, or written communication sent
311
+ to the Licensor or its representatives, including but not limited to
312
+ communication on electronic mailing lists, source code control systems,
313
+ and issue tracking systems that are managed by, or on behalf of, the
314
+ Licensor for the purpose of discussing and improving the Work, but
315
+ excluding communication that is conspicuously marked or otherwise
316
+ designated in writing by the copyright owner as "Not a Contribution."
317
+
318
+ "Contributor" shall mean Licensor and any individual or Legal Entity
319
+ on behalf of whom a Contribution has been received by Licensor and
320
+ subsequently incorporated within the Work.
321
+
322
+ 2. Grant of Copyright License. Subject to the terms and conditions of
323
+ this License, each Contributor hereby grants to You a perpetual,
324
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
325
+ copyright license to reproduce, prepare Derivative Works of,
326
+ publicly display, publicly perform, sublicense, and distribute the
327
+ Work and such Derivative Works in Source or Object form.
328
+
329
+ 3. Grant of Patent License. Subject to the terms and conditions of
330
+ this License, each Contributor hereby grants to You a perpetual,
331
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
332
+ (except as stated in this section) patent license to make, have made,
333
+ use, offer to sell, sell, import, and otherwise transfer the Work,
334
+ where such license applies only to those patent claims licensable
335
+ by such Contributor that are necessarily infringed by their
336
+ Contribution(s) alone or by combination of their Contribution(s)
337
+ with the Work to which such Contribution(s) was submitted. If You
338
+ institute patent litigation against any entity (including a
339
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
340
+ or a Contribution incorporated within the Work constitutes direct
341
+ or contributory patent infringement, then any patent licenses
342
+ granted to You under this License for that Work shall terminate
343
+ as of the date such litigation is filed.
344
+
345
+ 4. Redistribution. You may reproduce and distribute copies of the
346
+ Work or Derivative Works thereof in any medium, with or without
347
+ modifications, and in Source or Object form, provided that You
348
+ meet the following conditions:
349
+
350
+ (a) You must give any other recipients of the Work or
351
+ Derivative Works a copy of this License; and
352
+
353
+ (b) You must cause any modified files to carry prominent notices
354
+ stating that You changed the files; and
355
+
356
+ (c) You must retain, in the Source form of any Derivative Works
357
+ that You distribute, all copyright, patent, trademark, and
358
+ attribution notices from the Source form of the Work,
359
+ excluding those notices that do not pertain to any part of
360
+ the Derivative Works; and
361
+
362
+ (d) If the Work includes a "NOTICE" text file as part of its
363
+ distribution, then any Derivative Works that You distribute must
364
+ include a readable copy of the attribution notices contained
365
+ within such NOTICE file, excluding those notices that do not
366
+ pertain to any part of the Derivative Works, in at least one
367
+ of the following places: within a NOTICE text file distributed
368
+ as part of the Derivative Works; within the Source form or
369
+ documentation, if provided along with the Derivative Works; or,
370
+ within a display generated by the Derivative Works, if and
371
+ wherever such third-party notices normally appear. The contents
372
+ of the NOTICE file are for informational purposes only and
373
+ do not modify the License. You may add Your own attribution
374
+ notices within Derivative Works that You distribute, alongside
375
+ or as an addendum to the NOTICE text from the Work, provided
376
+ that such additional attribution notices cannot be construed
377
+ as modifying the License.
378
+
379
+ You may add Your own copyright statement to Your modifications and
380
+ may provide additional or different license terms and conditions
381
+ for use, reproduction, or distribution of Your modifications, or
382
+ for any such Derivative Works as a whole, provided Your use,
383
+ reproduction, and distribution of the Work otherwise complies with
384
+ the conditions stated in this License.
385
+
386
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
387
+ any Contribution intentionally submitted for inclusion in the Work
388
+ by You to the Licensor shall be under the terms and conditions of
389
+ this License, without any additional terms or conditions.
390
+ Notwithstanding the above, nothing herein shall supersede or modify
391
+ the terms of any separate license agreement you may have executed
392
+ with Licensor regarding such Contributions.
393
+
394
+ 6. Trademarks. This License does not grant permission to use the trade
395
+ names, trademarks, service marks, or product names of the Licensor,
396
+ except as required for reasonable and customary use in describing the
397
+ origin of the Work and reproducing the content of the NOTICE file.
398
+
399
+ 7. Disclaimer of Warranty. Unless required by applicable law or
400
+ agreed to in writing, Licensor provides the Work (and each
401
+ Contributor provides its Contributions) on an "AS IS" BASIS,
402
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
403
+ implied, including, without limitation, any warranties or conditions
404
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
405
+ PARTICULAR PURPOSE. You are solely responsible for determining the
406
+ appropriateness of using or redistributing the Work and assume any
407
+ risks associated with Your exercise of permissions under this License.
408
+
409
+ 8. Limitation of Liability. In no event and under no legal theory,
410
+ whether in tort (including negligence), contract, or otherwise,
411
+ unless required by applicable law (such as deliberate and grossly
412
+ negligent acts) or agreed to in writing, shall any Contributor be
413
+ liable to You for damages, including any direct, indirect, special,
414
+ incidental, or consequential damages of any character arising as a
415
+ result of this License or out of the use or inability to use the
416
+ Work (including but not limited to damages for loss of goodwill,
417
+ work stoppage, computer failure or malfunction, or any and all
418
+ other commercial damages or losses), even if such Contributor
419
+ has been advised of the possibility of such damages.
420
+
421
+ 9. Accepting Warranty or Additional Liability. While redistributing
422
+ the Work or Derivative Works thereof, You may choose to offer,
423
+ and charge a fee for, acceptance of support, warranty, indemnity,
424
+ or other liability obligations and/or rights consistent with this
425
+ License. However, in accepting such obligations, You may act only
426
+ on Your own behalf and on Your sole responsibility, not on behalf
427
+ of any other Contributor, and only if You agree to indemnify,
428
+ defend, and hold each Contributor harmless for any liability
429
+ incurred by, or claims asserted against, such Contributor by reason
430
+ of your accepting any such warranty or additional liability.
431
+
432
+ END OF TERMS AND CONDITIONS
433
+
434
+ APPENDIX: How to apply the Apache License to your work.
435
+
436
+ To apply the Apache License to your work, attach the following
437
+ boilerplate notice, with the fields enclosed by brackets "[]"
438
+ replaced with your own identifying information. (Don't include
439
+ the brackets!) The text should be enclosed in the appropriate
440
+ comment syntax for the file format. We also recommend that a
441
+ file or class name and description of purpose be included on the
442
+ same "printed page" as the copyright notice for easier
443
+ identification within third-party archives.
444
+
445
+ Copyright [yyyy] [name of copyright owner]
446
+
447
+ Licensed under the Apache License, Version 2.0 (the "License");
448
+ you may not use this file except in compliance with the License.
449
+ You may obtain a copy of the License at
450
+
451
+ http://www.apache.org/licenses/LICENSE-2.0
452
+
453
+ Unless required by applicable law or agreed to in writing, software
454
+ distributed under the License is distributed on an "AS IS" BASIS,
455
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
456
+ See the License for the specific language governing permissions and
457
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,175 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ license_name: license-term-of-unified-audio-schema
4
+ language:
5
+ - en
6
+ - zh
7
+ tags:
8
+ - audio
9
+ - speech
10
+ - sound
11
+ - music
12
+ - audio-understanding
13
+ - ASR
14
+ - audio-captioning
15
+ - TTS
16
+ - audio-language-model
17
+ - audio-llm
18
+ - speech-to-text
19
+ - text-to-speech
20
+ - multimodal
21
+ base_model:
22
+ - Qwen/Qwen2.5-7B
23
+ pipeline_tag: audio-text-to-text
24
+ ---
25
+
26
+ # Beyond Transcription: Unified Audio Schema for Perception-Aware AudioLLMs
27
+
28
+ **Unified Audio Schema** is a novel holistic framework for audio supervision that disentangles and restructures supervision across **transcription**, **paralinguistics**, and **non-linguistic events**.
29
+
30
+ 📄 [Paper](https://arxiv.org/abs/2604.12506) | 💻 [GitHub](https://github.com/Tencent/Unified_Audio_Schema)
31
+
32
+ This repository provides our model checkpoints trained using **Unified Audio Schema**. For the complete codebase, please refer to the corresponding [GitHub repository](https://github.com/Tencent/Unified_Audio_Schema).
33
+
34
+ ## Model Details
35
+
36
+ | Attribute | Value |
37
+ |:----------|:------|
38
+ | Input Modality | Text and audio |
39
+ | Output Modality | Text and audio |
40
+ | Base LLM | [Qwen2.5-7B](https://huggingface.co/Qwen/Qwen2.5-7B) |
41
+ | Audio Encoder | AuT encoder |
42
+ | Input Audio Representation Frame Rate | 12.5 Hz |
43
+ | Output Audio Token Codebook Size | 8,192 |
44
+ | Output Audio Token Frame Rate | 25 Hz |
45
+
46
+ Notes:
47
+ - The model supports interleaved text and audio input/output, enabling flexible multimodal interactions.
48
+ - Speech waveform reconstruction for generated audio tokens relies on the [StableToken](https://huggingface.co/tencent/StableToken) decoder.
49
+
50
+ ## Quick Start
51
+
52
+ ### Installation
53
+
54
+ ```bash
55
+ git clone --recursive https://github.com/Tencent/Unified_Audio_Schema.git
56
+ cd Unified_Audio_Schema && pip install -r requirements.txt
57
+ ```
58
+
59
+ ### Download Checkpoints
60
+
61
+ ```bash
62
+ # Model weights
63
+ huggingface-cli download tencent/Unified_Audio_Schema --local-dir checkpoints/Unified_Audio_Schema
64
+
65
+ # StableToken decoder (required for speech waveform reconstruction)
66
+ huggingface-cli download tencent/StableToken --local-dir checkpoints/StableToken
67
+ ```
68
+
69
+ ## Inference
70
+
71
+ ```python
72
+ import torch
73
+ import torchaudio
74
+ from src.model import UASAudio
75
+
76
+ model = UASAudio(
77
+ model_path="checkpoints/Unified_Audio_Schema",
78
+ audio_decoder_path="checkpoints/StableToken/decoder",
79
+ device="cuda" if torch.cuda.is_available() else "cpu",
80
+ )
81
+
82
+ dialogue_system_prompt = (
83
+ "User will provide you with a speech instruction. Do it step by step. "
84
+ "First, think about the instruction and respond in a interleaved manner, "
85
+ "with 13 text token followed by 52 audio tokens."
86
+ )
87
+
88
+ messages = [
89
+ {"role": "system", "content": dialogue_system_prompt},
90
+ {
91
+ "role": "user",
92
+ "content": [
93
+ {"type": "audio", "audio": "assets/give_me_a_brief_introduction_to_the_great_wall.wav"},
94
+ ],
95
+ },
96
+ {"role": "assistant", "content": None},
97
+ ]
98
+
99
+ generation_config = {
100
+ "max_new_tokens": 4096,
101
+ "temperature": 0.7,
102
+ "repetition_penalty": 1.05,
103
+ "top_p": 0.9,
104
+ "do_sample": True
105
+ }
106
+
107
+ _, text, audio_tokens = model(messages, **generation_config)
108
+ print(text)
109
+
110
+ if len(audio_tokens) > 0:
111
+ audio_array, sampling_rate = model.tokens_to_audio(audio_tokens)
112
+ torchaudio.save("response.wav", audio_array, sampling_rate)
113
+ ```
114
+
115
+ ## Supported Scenarios
116
+
117
+ Our model can be applied to a wide range of audio understanding and generation tasks, including:
118
+
119
+ - Text-input conversation
120
+ - Speech-input conversation
121
+ - Automatic Speech Recognition (ASR)
122
+ - Audio captioning
123
+ - Text-to-Speech (TTS)
124
+
125
+ For more runnable examples, please refer to [`example_usage.ipynb`](https://github.com/Tencent/Unified_Audio_Schema/blob/main/example_usage.ipynb) in the GitHub repository.
126
+
127
+ ## Evaluation Highlights
128
+
129
+ UAS-Audio demonstrates strong performance on audio understanding, ASR, and TTS benchmarks.
130
+
131
+ ### Audio Understanding
132
+
133
+ | **Model** | MMSU<br>(Percep.) | MMSU<br>(Reason.) | **MMSU<br>(Overall)** | MMAR<br>(Speech) | MMAR<br>(Sound) | MMAR<br>(Music) | **MMAR<br>(Overall)** | MMAU<br>(Speech) | MMAU<br>(Sound) | MMAU<br>(Music) | **MMAU<br>(Overall)** | **Avg.** |
134
+ | :--- | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: | :---: |
135
+ | [Kimi-Audio](https://github.com/MoonshotAI/Kimi-Audio) | <u>44.8</u> | 75.7 | <u>59.8</u> | 58.5 | 49.7 | 33.0 | 48.0 | 62.2 | 75.7 | 66.8 | 68.2 | 58.7 |
136
+ | [Qwen2.5-Omni](https://github.com/QwenLM/Qwen2.5-Omni) | 42.7 | **77.6** | 58.1 | 59.9 | **58.8** | 40.8 | 56.7 | **70.6** | <u>78.1</u> | 65.9 | <u>71.5</u> | <u>62.1</u> |
137
+ | [Step-Audio2](https://github.com/stepfun-ai/Step-Audio2) | 42.9 | 73.2 | 57.6 | <u>61.2</u> | 54.6 | <u>42.2</u> | <u>56.8</u> | <u>68.2</u> | **79.3** | <u>68.4</u> | **72.7** | 61.9 |
138
+ | **Ours** | **55.7** | <u>77.4</u> | **66.2** | **66.0** | **58.8** | **45.2** | **60.1** | 67.0 | 70.0 | **71.3** | 69.4 | **65.2** |
139
+
140
+ ### ASR & TTS
141
+
142
+ | Model | ASR<br>(LS-clean) | ASR<br>(AISHELL-1) | TTS<br>(SeedTTS-en) | TTS<br>(SeedTTS-zh) |
143
+ | :--- | :---: | :---: | :---: | :---: |
144
+ | [Qwen2.5-Omni](https://github.com/QwenLM/Qwen2.5-Omni) | - | - | 2.3 | 1.4 |
145
+ | [Step-Audio2](https://github.com/stepfun-ai/Step-Audio2) | 1.9 | 1.0 | 2.1 | 3.2 |
146
+ | [MiMo-Audio](https://github.com/XiaomiMiMo/MiMo-Audio) | 3.8 | 1.8 | 5.4 | 2.0 |
147
+ | **Ours** | 2.2 | 2.3 | 1.7 | 1.4 |
148
+
149
+ ## Citation
150
+
151
+ If you find Unified Audio Schema or our model useful for your research, please cite:
152
+
153
+ ```bibtex
154
+ @misc{zhang2026transcriptionunifiedaudioschema,
155
+ title={Beyond Transcription: Unified Audio Schema for Perception-Aware AudioLLMs},
156
+ author={Linhao Zhang and Yuhan Song and Aiwei Liu and Chuhan Wu and Sijun Zhang and Wei Jia and Yuan Liu and Houfeng Wang and Xiao Zhou},
157
+ year={2026},
158
+ eprint={2604.12506},
159
+ archivePrefix={arXiv},
160
+ primaryClass={cs.CL},
161
+ url={https://arxiv.org/abs/2604.12506},
162
+ }
163
+
164
+ @inproceedings{song2026stabletoken,
165
+ title={StableToken: A Noise-Robust Semantic Speech Tokenizer for Resilient Speech{LLM}s},
166
+ author={Yuhan Song and Linhao Zhang and Chuhan Wu and Aiwei Liu and Wei Jia and Houfeng Wang and Zhou Xiao},
167
+ booktitle={The Fourteenth International Conference on Learning Representations},
168
+ year={2026},
169
+ url={https://openreview.net/forum?id=17DNmdQ9aU}
170
+ }
171
+ ```
172
+
173
+ ## License
174
+
175
+ This project is licensed under the [License Term of Unified_Audio_Schema](LICENSE).
added_tokens.json ADDED
The diff for this file is too large to render. See raw diff
 
chat_template.jinja ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {% set audio_count = namespace(value=0) %}{% set image_count = namespace(value=0) %}{% set video_count = namespace(value=0) %}{% for message in messages %}{% if loop.first and message['role'] != 'system' %}<|im_start|>system
2
+ You are a helpful assistant.<|im_end|>
3
+ {% endif %}<|im_start|>{{ message['role'] }}
4
+ {% if message['content'] is string %}{{ message['content'] }}<|im_end|>
5
+ {% else %}{% for content in message['content'] %}{% if content['type'] == 'image' or 'image' in content or 'image_url' in content %}{% set image_count.value = image_count.value + 1 %}{% if add_vision_id %}Picture {{ image_count.value }}: {% endif %}<|vision_bos|><|IMAGE|><|vision_eos|>{% elif content['type'] == 'audio' or 'audio' in content or 'audio_url' in content %}{% set audio_count.value = audio_count.value + 1 %}{% if add_audio_id %}Audio {{ audio_count.value }}: {% endif %}<|audio_bos|><|AUDIO|><|audio_eos|>{% elif content['type'] == 'video' or 'video' in content %}{% set video_count.value = video_count.value + 1 %}{% if add_vision_id %}Video {{ video_count.value }}: {% endif %}<|vision_bos|><|VIDEO|><|vision_eos|>{% elif 'text' in content %}{{ content['text'] }}{% endif %}{% endfor %}<|im_end|>
6
+ {% endif %}{% endfor %}{% if add_generation_prompt %}<|im_start|>assistant
7
+ {% endif %}
config.json ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "UASAudioForCausalLM"
4
+ ],
5
+ "audio_encoder_config": {
6
+ "activation_dropout": 0,
7
+ "activation_function": "gelu",
8
+ "attention_dropout": 0,
9
+ "conv_chunksize": 500,
10
+ "d_model": 1280,
11
+ "downsample_hidden_size": 480,
12
+ "dropout": 0,
13
+ "encoder_attention_heads": 20,
14
+ "encoder_ffn_dim": 5120,
15
+ "encoder_layers": 32,
16
+ "initializer_range": 0.02,
17
+ "max_source_positions": 1500,
18
+ "model_type": "uas_audio_encoder",
19
+ "n_window": 50,
20
+ "n_window_infer": 800,
21
+ "num_hidden_layers": 32,
22
+ "num_mel_bins": 128
23
+ },
24
+ "audio_token": 151646,
25
+ "auto_map": {
26
+ "AutoConfig": "configuration_uas_audio.UASAudioConfig",
27
+ "AutoModelForCausalLM": "modeling_uas_audio.UASAudioForCausalLM"
28
+ },
29
+ "dtype": "bfloat16",
30
+ "eos_token_id": 151645,
31
+ "model_type": "uas_audio",
32
+ "pad_token_id": 151643,
33
+ "text_config": {
34
+ "architectures": [
35
+ "Qwen2ForCausalLM"
36
+ ],
37
+ "attention_dropout": 0.0,
38
+ "hidden_act": "silu",
39
+ "hidden_size": 3584,
40
+ "initializer_range": 0.02,
41
+ "intermediate_size": 18944,
42
+ "layer_types": [
43
+ "full_attention",
44
+ "full_attention",
45
+ "full_attention",
46
+ "full_attention",
47
+ "full_attention",
48
+ "full_attention",
49
+ "full_attention",
50
+ "full_attention",
51
+ "full_attention",
52
+ "full_attention",
53
+ "full_attention",
54
+ "full_attention",
55
+ "full_attention",
56
+ "full_attention",
57
+ "full_attention",
58
+ "full_attention",
59
+ "full_attention",
60
+ "full_attention",
61
+ "full_attention",
62
+ "full_attention",
63
+ "full_attention",
64
+ "full_attention",
65
+ "full_attention",
66
+ "full_attention",
67
+ "full_attention",
68
+ "full_attention",
69
+ "full_attention",
70
+ "full_attention"
71
+ ],
72
+ "max_position_embeddings": 16384,
73
+ "max_window_layers": 28,
74
+ "model_type": "qwen2",
75
+ "num_attention_heads": 28,
76
+ "num_hidden_layers": 28,
77
+ "num_key_value_heads": 4,
78
+ "rms_norm_eps": 1e-06,
79
+ "rope_scaling": null,
80
+ "rope_theta": 1000000.0,
81
+ "sliding_window": null,
82
+ "use_cache": true,
83
+ "use_sliding_window": false,
84
+ "vocab_size": 159864
85
+ },
86
+ "transformers_version": "4.57.3"
87
+ }
configuration_uas_audio.py ADDED
@@ -0,0 +1,148 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import Optional, Union
2
+ from transformers import Qwen2Config
3
+ from transformers.configuration_utils import PretrainedConfig
4
+
5
+
6
+ class UASAudioEncoderConfig(PretrainedConfig):
7
+ model_type = "uas_audio_encoder"
8
+ def __init__(
9
+ self,
10
+ num_mel_bins: Optional[int] = 128,
11
+ encoder_layers: Optional[int] = 32,
12
+ encoder_attention_heads: Optional[int] = 20,
13
+ encoder_ffn_dim: Optional[int] = 5120,
14
+ d_model: Optional[int] = 1280,
15
+ dropout: Optional[int] = 0,
16
+ attention_dropout: Optional[int] = 0,
17
+ activation_function: Optional[int] = "gelu",
18
+ activation_dropout: Optional[int] = 0,
19
+ initializer_range: Optional[int] = 0.02,
20
+ max_source_positions: Optional[int] = 1500,
21
+ n_window: Optional[int] = 50,
22
+ n_window_infer: Optional[int] = 800,
23
+ conv_chunksize: Optional[int] = 500,
24
+ downsample_hidden_size: Optional[int] = 480,
25
+ **kwargs,
26
+ ):
27
+ super().__init__(**kwargs)
28
+ self.num_mel_bins = num_mel_bins
29
+ self.d_model = d_model
30
+ self.encoder_layers = encoder_layers
31
+ self.encoder_attention_heads = encoder_attention_heads
32
+ self.encoder_ffn_dim = encoder_ffn_dim
33
+ self.dropout = dropout
34
+ self.attention_dropout = attention_dropout
35
+ self.activation_function = activation_function
36
+ self.activation_dropout = activation_dropout
37
+ self.num_hidden_layers = encoder_layers
38
+ self.initializer_range = initializer_range
39
+ self.max_source_positions = max_source_positions
40
+ self.n_window = n_window
41
+ self.n_window_infer = n_window_infer
42
+ self.conv_chunksize = conv_chunksize
43
+ self.downsample_hidden_size = downsample_hidden_size
44
+
45
+
46
+ class UASAudioTextConfig(PretrainedConfig):
47
+ model_type = "uas_audio_text"
48
+
49
+ def __init__(
50
+ self,
51
+ vocab_size=64012,
52
+ hidden_size=4096,
53
+ intermediate_size=11008,
54
+ num_hidden_layers=48,
55
+ num_attention_heads=32,
56
+ num_attention_groups=4,
57
+ num_key_value_heads=4,
58
+ hidden_act="silu",
59
+ max_position_embeddings=8192,
60
+ initializer_range=0.02,
61
+ rms_norm_eps=1e-6,
62
+ rope_theta=1000000.0,
63
+ rope_scaling=None,
64
+ eos_token_id=None,
65
+ **kwargs
66
+ ):
67
+
68
+ super().__init__(
69
+ **kwargs)
70
+
71
+ self.vocab_size = vocab_size
72
+ self.hidden_size = hidden_size
73
+ self.intermediate_size = intermediate_size
74
+ self.num_hidden_layers = num_hidden_layers
75
+ self.num_attention_heads = num_attention_heads
76
+ self.num_attention_groups = num_attention_groups
77
+ self.num_key_value_heads = num_key_value_heads
78
+ assert self.num_attention_groups == self.num_key_value_heads, \
79
+ "num_attention_groups must be equal to num_key_value_heads"
80
+ self.hidden_act = hidden_act
81
+ self.max_position_embeddings = max_position_embeddings
82
+ self.initializer_range = initializer_range
83
+ self.rms_norm_eps = rms_norm_eps
84
+ self.rope_theta = rope_theta
85
+ self.rope_scaling = rope_scaling
86
+ self.eos_token_id = eos_token_id
87
+
88
+ self.text_config = Qwen2Config(
89
+ vocab_size=vocab_size,
90
+ hidden_size=hidden_size,
91
+ intermediate_size=intermediate_size,
92
+ num_hidden_layers=num_hidden_layers,
93
+ num_attention_heads=num_attention_heads,
94
+ num_key_value_heads=num_key_value_heads,
95
+ hidden_act=hidden_act,
96
+ max_position_embeddings=max_position_embeddings,
97
+ initializer_range=initializer_range,
98
+ rms_norm_eps=rms_norm_eps,
99
+ rope_theta=rope_theta,
100
+ rope_scaling=rope_scaling,
101
+ architectures=["Qwen2ForCausalLM"],
102
+ dtype=getattr(self, "dtype", "bfloat16"),
103
+ )
104
+
105
+
106
+ class UASAudioConfig(PretrainedConfig):
107
+ model_type = "uas_audio"
108
+ architectures = ["UASAudioForCausalLM"]
109
+
110
+ def __init__(
111
+ self,
112
+ audio_encoder_config: Optional[Union[dict, UASAudioEncoderConfig]] = None,
113
+ text_config: Optional[Union[dict, UASAudioTextConfig]] = None,
114
+ **kwargs
115
+ ):
116
+ super().__init__(**kwargs)
117
+ if text_config is None:
118
+ text_config = UASAudioTextConfig().text_config
119
+ elif isinstance(text_config, dict):
120
+ text_config = UASAudioTextConfig(**text_config).text_config
121
+ self.text_config = text_config
122
+
123
+ if audio_encoder_config is None:
124
+ self.audio_encoder_config = UASAudioEncoderConfig()
125
+ elif isinstance(audio_encoder_config, dict):
126
+ self.audio_encoder_config = UASAudioEncoderConfig(**audio_encoder_config)
127
+ elif isinstance(audio_encoder_config, UASAudioEncoderConfig):
128
+ self.audio_encoder_config = audio_encoder_config
129
+
130
+
131
+ class UASAudioEncoderOnlyConfig(PretrainedConfig):
132
+ model_type = "uas_audio_encoder_only"
133
+ architectures = ["UASAudioEncoderOnly"]
134
+
135
+ def __init__(
136
+ self,
137
+ audio_encoder_config: Optional[Union[dict, UASAudioEncoderConfig]] = None,
138
+ hidden_size: Optional[int] = 4096, # LLM hidden size for adapter output
139
+ **kwargs
140
+ ):
141
+ super().__init__(**kwargs)
142
+ if audio_encoder_config is None:
143
+ self.audio_encoder_config = UASAudioEncoderConfig()
144
+ elif isinstance(audio_encoder_config, dict):
145
+ self.audio_encoder_config = UASAudioEncoderConfig(**audio_encoder_config)
146
+ elif isinstance(audio_encoder_config, UASAudioEncoderConfig):
147
+ self.audio_encoder_config = audio_encoder_config
148
+ self.hidden_size = hidden_size # Output dimension of adapter
generation_config.json ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_from_model_config": true,
3
+ "eos_token_id": [
4
+ 151645
5
+ ],
6
+ "pad_token_id": 151643,
7
+ "transformers_version": "4.57.3"
8
+ }
merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
model-00001-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f0347fb972948c92745717fe31d60e294a2160340903b4a8d01fa767b511ebbd
3
+ size 4933571592
model-00002-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb3e561c05f13fac34d64d0ab62b1b4a2792ee99fc732ff6624de882d14476c3
3
+ size 4932751496
model-00003-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:2a748a462fcc581ba2ccb54d7b801cf9f5b7f34ce35bc53a5572f7fc1d537a81
3
+ size 4330865648
model-00004-of-00004.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6ca5e3b3619fd76d451760e2443ca13a70f13da273f099764e446d6b86190cbc
3
+ size 2468174256
model.safetensors.index.json ADDED
@@ -0,0 +1,872 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_parameters": 8332630656,
4
+ "total_size": 16665261312
5
+ },
6
+ "weight_map": {
7
+ "adapter.audio_projector.0.bias": "model-00004-of-00004.safetensors",
8
+ "adapter.audio_projector.0.weight": "model-00004-of-00004.safetensors",
9
+ "adapter.audio_projector.2.bias": "model-00004-of-00004.safetensors",
10
+ "adapter.audio_projector.2.weight": "model-00004-of-00004.safetensors",
11
+ "audio_encoder.conv2d1.bias": "model-00004-of-00004.safetensors",
12
+ "audio_encoder.conv2d1.weight": "model-00004-of-00004.safetensors",
13
+ "audio_encoder.conv2d2.bias": "model-00004-of-00004.safetensors",
14
+ "audio_encoder.conv2d2.weight": "model-00004-of-00004.safetensors",
15
+ "audio_encoder.conv2d3.bias": "model-00004-of-00004.safetensors",
16
+ "audio_encoder.conv2d3.weight": "model-00004-of-00004.safetensors",
17
+ "audio_encoder.conv_out.weight": "model-00004-of-00004.safetensors",
18
+ "audio_encoder.layers.0.fc1.bias": "model-00004-of-00004.safetensors",
19
+ "audio_encoder.layers.0.fc1.weight": "model-00004-of-00004.safetensors",
20
+ "audio_encoder.layers.0.fc2.bias": "model-00004-of-00004.safetensors",
21
+ "audio_encoder.layers.0.fc2.weight": "model-00004-of-00004.safetensors",
22
+ "audio_encoder.layers.0.final_layer_norm.bias": "model-00004-of-00004.safetensors",
23
+ "audio_encoder.layers.0.final_layer_norm.weight": "model-00004-of-00004.safetensors",
24
+ "audio_encoder.layers.0.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
25
+ "audio_encoder.layers.0.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
26
+ "audio_encoder.layers.0.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
27
+ "audio_encoder.layers.0.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
28
+ "audio_encoder.layers.0.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
29
+ "audio_encoder.layers.0.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
30
+ "audio_encoder.layers.0.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
31
+ "audio_encoder.layers.0.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
32
+ "audio_encoder.layers.0.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
33
+ "audio_encoder.layers.0.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
34
+ "audio_encoder.layers.1.fc1.bias": "model-00004-of-00004.safetensors",
35
+ "audio_encoder.layers.1.fc1.weight": "model-00004-of-00004.safetensors",
36
+ "audio_encoder.layers.1.fc2.bias": "model-00004-of-00004.safetensors",
37
+ "audio_encoder.layers.1.fc2.weight": "model-00004-of-00004.safetensors",
38
+ "audio_encoder.layers.1.final_layer_norm.bias": "model-00004-of-00004.safetensors",
39
+ "audio_encoder.layers.1.final_layer_norm.weight": "model-00004-of-00004.safetensors",
40
+ "audio_encoder.layers.1.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
41
+ "audio_encoder.layers.1.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
42
+ "audio_encoder.layers.1.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
43
+ "audio_encoder.layers.1.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
44
+ "audio_encoder.layers.1.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
45
+ "audio_encoder.layers.1.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
46
+ "audio_encoder.layers.1.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
47
+ "audio_encoder.layers.1.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
48
+ "audio_encoder.layers.1.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
49
+ "audio_encoder.layers.1.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
50
+ "audio_encoder.layers.10.fc1.bias": "model-00004-of-00004.safetensors",
51
+ "audio_encoder.layers.10.fc1.weight": "model-00004-of-00004.safetensors",
52
+ "audio_encoder.layers.10.fc2.bias": "model-00004-of-00004.safetensors",
53
+ "audio_encoder.layers.10.fc2.weight": "model-00004-of-00004.safetensors",
54
+ "audio_encoder.layers.10.final_layer_norm.bias": "model-00004-of-00004.safetensors",
55
+ "audio_encoder.layers.10.final_layer_norm.weight": "model-00004-of-00004.safetensors",
56
+ "audio_encoder.layers.10.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
57
+ "audio_encoder.layers.10.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
58
+ "audio_encoder.layers.10.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
59
+ "audio_encoder.layers.10.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
60
+ "audio_encoder.layers.10.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
61
+ "audio_encoder.layers.10.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
62
+ "audio_encoder.layers.10.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
63
+ "audio_encoder.layers.10.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
64
+ "audio_encoder.layers.10.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
65
+ "audio_encoder.layers.10.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
66
+ "audio_encoder.layers.11.fc1.bias": "model-00004-of-00004.safetensors",
67
+ "audio_encoder.layers.11.fc1.weight": "model-00004-of-00004.safetensors",
68
+ "audio_encoder.layers.11.fc2.bias": "model-00004-of-00004.safetensors",
69
+ "audio_encoder.layers.11.fc2.weight": "model-00004-of-00004.safetensors",
70
+ "audio_encoder.layers.11.final_layer_norm.bias": "model-00004-of-00004.safetensors",
71
+ "audio_encoder.layers.11.final_layer_norm.weight": "model-00004-of-00004.safetensors",
72
+ "audio_encoder.layers.11.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
73
+ "audio_encoder.layers.11.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
74
+ "audio_encoder.layers.11.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
75
+ "audio_encoder.layers.11.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
76
+ "audio_encoder.layers.11.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
77
+ "audio_encoder.layers.11.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
78
+ "audio_encoder.layers.11.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
79
+ "audio_encoder.layers.11.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
80
+ "audio_encoder.layers.11.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
81
+ "audio_encoder.layers.11.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
82
+ "audio_encoder.layers.12.fc1.bias": "model-00004-of-00004.safetensors",
83
+ "audio_encoder.layers.12.fc1.weight": "model-00004-of-00004.safetensors",
84
+ "audio_encoder.layers.12.fc2.bias": "model-00004-of-00004.safetensors",
85
+ "audio_encoder.layers.12.fc2.weight": "model-00004-of-00004.safetensors",
86
+ "audio_encoder.layers.12.final_layer_norm.bias": "model-00004-of-00004.safetensors",
87
+ "audio_encoder.layers.12.final_layer_norm.weight": "model-00004-of-00004.safetensors",
88
+ "audio_encoder.layers.12.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
89
+ "audio_encoder.layers.12.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
90
+ "audio_encoder.layers.12.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
91
+ "audio_encoder.layers.12.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
92
+ "audio_encoder.layers.12.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
93
+ "audio_encoder.layers.12.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
94
+ "audio_encoder.layers.12.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
95
+ "audio_encoder.layers.12.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
96
+ "audio_encoder.layers.12.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
97
+ "audio_encoder.layers.12.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
98
+ "audio_encoder.layers.13.fc1.bias": "model-00004-of-00004.safetensors",
99
+ "audio_encoder.layers.13.fc1.weight": "model-00004-of-00004.safetensors",
100
+ "audio_encoder.layers.13.fc2.bias": "model-00004-of-00004.safetensors",
101
+ "audio_encoder.layers.13.fc2.weight": "model-00004-of-00004.safetensors",
102
+ "audio_encoder.layers.13.final_layer_norm.bias": "model-00004-of-00004.safetensors",
103
+ "audio_encoder.layers.13.final_layer_norm.weight": "model-00004-of-00004.safetensors",
104
+ "audio_encoder.layers.13.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
105
+ "audio_encoder.layers.13.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
106
+ "audio_encoder.layers.13.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
107
+ "audio_encoder.layers.13.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
108
+ "audio_encoder.layers.13.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
109
+ "audio_encoder.layers.13.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
110
+ "audio_encoder.layers.13.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
111
+ "audio_encoder.layers.13.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
112
+ "audio_encoder.layers.13.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
113
+ "audio_encoder.layers.13.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
114
+ "audio_encoder.layers.14.fc1.bias": "model-00004-of-00004.safetensors",
115
+ "audio_encoder.layers.14.fc1.weight": "model-00004-of-00004.safetensors",
116
+ "audio_encoder.layers.14.fc2.bias": "model-00004-of-00004.safetensors",
117
+ "audio_encoder.layers.14.fc2.weight": "model-00004-of-00004.safetensors",
118
+ "audio_encoder.layers.14.final_layer_norm.bias": "model-00004-of-00004.safetensors",
119
+ "audio_encoder.layers.14.final_layer_norm.weight": "model-00004-of-00004.safetensors",
120
+ "audio_encoder.layers.14.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
121
+ "audio_encoder.layers.14.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
122
+ "audio_encoder.layers.14.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
123
+ "audio_encoder.layers.14.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
124
+ "audio_encoder.layers.14.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
125
+ "audio_encoder.layers.14.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
126
+ "audio_encoder.layers.14.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
127
+ "audio_encoder.layers.14.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
128
+ "audio_encoder.layers.14.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
129
+ "audio_encoder.layers.14.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
130
+ "audio_encoder.layers.15.fc1.bias": "model-00004-of-00004.safetensors",
131
+ "audio_encoder.layers.15.fc1.weight": "model-00004-of-00004.safetensors",
132
+ "audio_encoder.layers.15.fc2.bias": "model-00004-of-00004.safetensors",
133
+ "audio_encoder.layers.15.fc2.weight": "model-00004-of-00004.safetensors",
134
+ "audio_encoder.layers.15.final_layer_norm.bias": "model-00004-of-00004.safetensors",
135
+ "audio_encoder.layers.15.final_layer_norm.weight": "model-00004-of-00004.safetensors",
136
+ "audio_encoder.layers.15.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
137
+ "audio_encoder.layers.15.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
138
+ "audio_encoder.layers.15.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
139
+ "audio_encoder.layers.15.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
140
+ "audio_encoder.layers.15.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
141
+ "audio_encoder.layers.15.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
142
+ "audio_encoder.layers.15.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
143
+ "audio_encoder.layers.15.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
144
+ "audio_encoder.layers.15.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
145
+ "audio_encoder.layers.15.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
146
+ "audio_encoder.layers.16.fc1.bias": "model-00004-of-00004.safetensors",
147
+ "audio_encoder.layers.16.fc1.weight": "model-00004-of-00004.safetensors",
148
+ "audio_encoder.layers.16.fc2.bias": "model-00004-of-00004.safetensors",
149
+ "audio_encoder.layers.16.fc2.weight": "model-00004-of-00004.safetensors",
150
+ "audio_encoder.layers.16.final_layer_norm.bias": "model-00004-of-00004.safetensors",
151
+ "audio_encoder.layers.16.final_layer_norm.weight": "model-00004-of-00004.safetensors",
152
+ "audio_encoder.layers.16.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
153
+ "audio_encoder.layers.16.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
154
+ "audio_encoder.layers.16.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
155
+ "audio_encoder.layers.16.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
156
+ "audio_encoder.layers.16.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
157
+ "audio_encoder.layers.16.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
158
+ "audio_encoder.layers.16.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
159
+ "audio_encoder.layers.16.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
160
+ "audio_encoder.layers.16.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
161
+ "audio_encoder.layers.16.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
162
+ "audio_encoder.layers.17.fc1.bias": "model-00004-of-00004.safetensors",
163
+ "audio_encoder.layers.17.fc1.weight": "model-00004-of-00004.safetensors",
164
+ "audio_encoder.layers.17.fc2.bias": "model-00004-of-00004.safetensors",
165
+ "audio_encoder.layers.17.fc2.weight": "model-00004-of-00004.safetensors",
166
+ "audio_encoder.layers.17.final_layer_norm.bias": "model-00004-of-00004.safetensors",
167
+ "audio_encoder.layers.17.final_layer_norm.weight": "model-00004-of-00004.safetensors",
168
+ "audio_encoder.layers.17.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
169
+ "audio_encoder.layers.17.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
170
+ "audio_encoder.layers.17.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
171
+ "audio_encoder.layers.17.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
172
+ "audio_encoder.layers.17.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
173
+ "audio_encoder.layers.17.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
174
+ "audio_encoder.layers.17.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
175
+ "audio_encoder.layers.17.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
176
+ "audio_encoder.layers.17.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
177
+ "audio_encoder.layers.17.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
178
+ "audio_encoder.layers.18.fc1.bias": "model-00004-of-00004.safetensors",
179
+ "audio_encoder.layers.18.fc1.weight": "model-00004-of-00004.safetensors",
180
+ "audio_encoder.layers.18.fc2.bias": "model-00004-of-00004.safetensors",
181
+ "audio_encoder.layers.18.fc2.weight": "model-00004-of-00004.safetensors",
182
+ "audio_encoder.layers.18.final_layer_norm.bias": "model-00004-of-00004.safetensors",
183
+ "audio_encoder.layers.18.final_layer_norm.weight": "model-00004-of-00004.safetensors",
184
+ "audio_encoder.layers.18.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
185
+ "audio_encoder.layers.18.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
186
+ "audio_encoder.layers.18.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
187
+ "audio_encoder.layers.18.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
188
+ "audio_encoder.layers.18.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
189
+ "audio_encoder.layers.18.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
190
+ "audio_encoder.layers.18.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
191
+ "audio_encoder.layers.18.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
192
+ "audio_encoder.layers.18.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
193
+ "audio_encoder.layers.18.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
194
+ "audio_encoder.layers.19.fc1.bias": "model-00004-of-00004.safetensors",
195
+ "audio_encoder.layers.19.fc1.weight": "model-00004-of-00004.safetensors",
196
+ "audio_encoder.layers.19.fc2.bias": "model-00004-of-00004.safetensors",
197
+ "audio_encoder.layers.19.fc2.weight": "model-00004-of-00004.safetensors",
198
+ "audio_encoder.layers.19.final_layer_norm.bias": "model-00004-of-00004.safetensors",
199
+ "audio_encoder.layers.19.final_layer_norm.weight": "model-00004-of-00004.safetensors",
200
+ "audio_encoder.layers.19.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
201
+ "audio_encoder.layers.19.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
202
+ "audio_encoder.layers.19.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
203
+ "audio_encoder.layers.19.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
204
+ "audio_encoder.layers.19.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
205
+ "audio_encoder.layers.19.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
206
+ "audio_encoder.layers.19.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
207
+ "audio_encoder.layers.19.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
208
+ "audio_encoder.layers.19.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
209
+ "audio_encoder.layers.19.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
210
+ "audio_encoder.layers.2.fc1.bias": "model-00004-of-00004.safetensors",
211
+ "audio_encoder.layers.2.fc1.weight": "model-00004-of-00004.safetensors",
212
+ "audio_encoder.layers.2.fc2.bias": "model-00004-of-00004.safetensors",
213
+ "audio_encoder.layers.2.fc2.weight": "model-00004-of-00004.safetensors",
214
+ "audio_encoder.layers.2.final_layer_norm.bias": "model-00004-of-00004.safetensors",
215
+ "audio_encoder.layers.2.final_layer_norm.weight": "model-00004-of-00004.safetensors",
216
+ "audio_encoder.layers.2.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
217
+ "audio_encoder.layers.2.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
218
+ "audio_encoder.layers.2.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
219
+ "audio_encoder.layers.2.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
220
+ "audio_encoder.layers.2.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
221
+ "audio_encoder.layers.2.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
222
+ "audio_encoder.layers.2.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
223
+ "audio_encoder.layers.2.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
224
+ "audio_encoder.layers.2.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
225
+ "audio_encoder.layers.2.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
226
+ "audio_encoder.layers.20.fc1.bias": "model-00004-of-00004.safetensors",
227
+ "audio_encoder.layers.20.fc1.weight": "model-00004-of-00004.safetensors",
228
+ "audio_encoder.layers.20.fc2.bias": "model-00004-of-00004.safetensors",
229
+ "audio_encoder.layers.20.fc2.weight": "model-00004-of-00004.safetensors",
230
+ "audio_encoder.layers.20.final_layer_norm.bias": "model-00004-of-00004.safetensors",
231
+ "audio_encoder.layers.20.final_layer_norm.weight": "model-00004-of-00004.safetensors",
232
+ "audio_encoder.layers.20.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
233
+ "audio_encoder.layers.20.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
234
+ "audio_encoder.layers.20.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
235
+ "audio_encoder.layers.20.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
236
+ "audio_encoder.layers.20.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
237
+ "audio_encoder.layers.20.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
238
+ "audio_encoder.layers.20.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
239
+ "audio_encoder.layers.20.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
240
+ "audio_encoder.layers.20.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
241
+ "audio_encoder.layers.20.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
242
+ "audio_encoder.layers.21.fc1.bias": "model-00004-of-00004.safetensors",
243
+ "audio_encoder.layers.21.fc1.weight": "model-00004-of-00004.safetensors",
244
+ "audio_encoder.layers.21.fc2.bias": "model-00004-of-00004.safetensors",
245
+ "audio_encoder.layers.21.fc2.weight": "model-00004-of-00004.safetensors",
246
+ "audio_encoder.layers.21.final_layer_norm.bias": "model-00004-of-00004.safetensors",
247
+ "audio_encoder.layers.21.final_layer_norm.weight": "model-00004-of-00004.safetensors",
248
+ "audio_encoder.layers.21.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
249
+ "audio_encoder.layers.21.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
250
+ "audio_encoder.layers.21.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
251
+ "audio_encoder.layers.21.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
252
+ "audio_encoder.layers.21.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
253
+ "audio_encoder.layers.21.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
254
+ "audio_encoder.layers.21.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
255
+ "audio_encoder.layers.21.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
256
+ "audio_encoder.layers.21.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
257
+ "audio_encoder.layers.21.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
258
+ "audio_encoder.layers.22.fc1.bias": "model-00004-of-00004.safetensors",
259
+ "audio_encoder.layers.22.fc1.weight": "model-00004-of-00004.safetensors",
260
+ "audio_encoder.layers.22.fc2.bias": "model-00004-of-00004.safetensors",
261
+ "audio_encoder.layers.22.fc2.weight": "model-00004-of-00004.safetensors",
262
+ "audio_encoder.layers.22.final_layer_norm.bias": "model-00004-of-00004.safetensors",
263
+ "audio_encoder.layers.22.final_layer_norm.weight": "model-00004-of-00004.safetensors",
264
+ "audio_encoder.layers.22.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
265
+ "audio_encoder.layers.22.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
266
+ "audio_encoder.layers.22.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
267
+ "audio_encoder.layers.22.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
268
+ "audio_encoder.layers.22.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
269
+ "audio_encoder.layers.22.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
270
+ "audio_encoder.layers.22.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
271
+ "audio_encoder.layers.22.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
272
+ "audio_encoder.layers.22.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
273
+ "audio_encoder.layers.22.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
274
+ "audio_encoder.layers.23.fc1.bias": "model-00004-of-00004.safetensors",
275
+ "audio_encoder.layers.23.fc1.weight": "model-00004-of-00004.safetensors",
276
+ "audio_encoder.layers.23.fc2.bias": "model-00004-of-00004.safetensors",
277
+ "audio_encoder.layers.23.fc2.weight": "model-00004-of-00004.safetensors",
278
+ "audio_encoder.layers.23.final_layer_norm.bias": "model-00004-of-00004.safetensors",
279
+ "audio_encoder.layers.23.final_layer_norm.weight": "model-00004-of-00004.safetensors",
280
+ "audio_encoder.layers.23.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
281
+ "audio_encoder.layers.23.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
282
+ "audio_encoder.layers.23.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
283
+ "audio_encoder.layers.23.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
284
+ "audio_encoder.layers.23.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
285
+ "audio_encoder.layers.23.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
286
+ "audio_encoder.layers.23.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
287
+ "audio_encoder.layers.23.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
288
+ "audio_encoder.layers.23.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
289
+ "audio_encoder.layers.23.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
290
+ "audio_encoder.layers.24.fc1.bias": "model-00004-of-00004.safetensors",
291
+ "audio_encoder.layers.24.fc1.weight": "model-00004-of-00004.safetensors",
292
+ "audio_encoder.layers.24.fc2.bias": "model-00004-of-00004.safetensors",
293
+ "audio_encoder.layers.24.fc2.weight": "model-00004-of-00004.safetensors",
294
+ "audio_encoder.layers.24.final_layer_norm.bias": "model-00004-of-00004.safetensors",
295
+ "audio_encoder.layers.24.final_layer_norm.weight": "model-00004-of-00004.safetensors",
296
+ "audio_encoder.layers.24.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
297
+ "audio_encoder.layers.24.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
298
+ "audio_encoder.layers.24.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
299
+ "audio_encoder.layers.24.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
300
+ "audio_encoder.layers.24.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
301
+ "audio_encoder.layers.24.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
302
+ "audio_encoder.layers.24.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
303
+ "audio_encoder.layers.24.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
304
+ "audio_encoder.layers.24.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
305
+ "audio_encoder.layers.24.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
306
+ "audio_encoder.layers.25.fc1.bias": "model-00004-of-00004.safetensors",
307
+ "audio_encoder.layers.25.fc1.weight": "model-00004-of-00004.safetensors",
308
+ "audio_encoder.layers.25.fc2.bias": "model-00004-of-00004.safetensors",
309
+ "audio_encoder.layers.25.fc2.weight": "model-00004-of-00004.safetensors",
310
+ "audio_encoder.layers.25.final_layer_norm.bias": "model-00004-of-00004.safetensors",
311
+ "audio_encoder.layers.25.final_layer_norm.weight": "model-00004-of-00004.safetensors",
312
+ "audio_encoder.layers.25.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
313
+ "audio_encoder.layers.25.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
314
+ "audio_encoder.layers.25.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
315
+ "audio_encoder.layers.25.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
316
+ "audio_encoder.layers.25.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
317
+ "audio_encoder.layers.25.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
318
+ "audio_encoder.layers.25.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
319
+ "audio_encoder.layers.25.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
320
+ "audio_encoder.layers.25.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
321
+ "audio_encoder.layers.25.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
322
+ "audio_encoder.layers.26.fc1.bias": "model-00004-of-00004.safetensors",
323
+ "audio_encoder.layers.26.fc1.weight": "model-00004-of-00004.safetensors",
324
+ "audio_encoder.layers.26.fc2.bias": "model-00004-of-00004.safetensors",
325
+ "audio_encoder.layers.26.fc2.weight": "model-00004-of-00004.safetensors",
326
+ "audio_encoder.layers.26.final_layer_norm.bias": "model-00004-of-00004.safetensors",
327
+ "audio_encoder.layers.26.final_layer_norm.weight": "model-00004-of-00004.safetensors",
328
+ "audio_encoder.layers.26.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
329
+ "audio_encoder.layers.26.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
330
+ "audio_encoder.layers.26.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
331
+ "audio_encoder.layers.26.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
332
+ "audio_encoder.layers.26.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
333
+ "audio_encoder.layers.26.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
334
+ "audio_encoder.layers.26.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
335
+ "audio_encoder.layers.26.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
336
+ "audio_encoder.layers.26.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
337
+ "audio_encoder.layers.26.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
338
+ "audio_encoder.layers.27.fc1.bias": "model-00004-of-00004.safetensors",
339
+ "audio_encoder.layers.27.fc1.weight": "model-00004-of-00004.safetensors",
340
+ "audio_encoder.layers.27.fc2.bias": "model-00004-of-00004.safetensors",
341
+ "audio_encoder.layers.27.fc2.weight": "model-00004-of-00004.safetensors",
342
+ "audio_encoder.layers.27.final_layer_norm.bias": "model-00004-of-00004.safetensors",
343
+ "audio_encoder.layers.27.final_layer_norm.weight": "model-00004-of-00004.safetensors",
344
+ "audio_encoder.layers.27.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
345
+ "audio_encoder.layers.27.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
346
+ "audio_encoder.layers.27.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
347
+ "audio_encoder.layers.27.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
348
+ "audio_encoder.layers.27.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
349
+ "audio_encoder.layers.27.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
350
+ "audio_encoder.layers.27.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
351
+ "audio_encoder.layers.27.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
352
+ "audio_encoder.layers.27.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
353
+ "audio_encoder.layers.27.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
354
+ "audio_encoder.layers.28.fc1.bias": "model-00004-of-00004.safetensors",
355
+ "audio_encoder.layers.28.fc1.weight": "model-00004-of-00004.safetensors",
356
+ "audio_encoder.layers.28.fc2.bias": "model-00004-of-00004.safetensors",
357
+ "audio_encoder.layers.28.fc2.weight": "model-00004-of-00004.safetensors",
358
+ "audio_encoder.layers.28.final_layer_norm.bias": "model-00004-of-00004.safetensors",
359
+ "audio_encoder.layers.28.final_layer_norm.weight": "model-00004-of-00004.safetensors",
360
+ "audio_encoder.layers.28.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
361
+ "audio_encoder.layers.28.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
362
+ "audio_encoder.layers.28.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
363
+ "audio_encoder.layers.28.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
364
+ "audio_encoder.layers.28.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
365
+ "audio_encoder.layers.28.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
366
+ "audio_encoder.layers.28.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
367
+ "audio_encoder.layers.28.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
368
+ "audio_encoder.layers.28.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
369
+ "audio_encoder.layers.28.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
370
+ "audio_encoder.layers.29.fc1.bias": "model-00004-of-00004.safetensors",
371
+ "audio_encoder.layers.29.fc1.weight": "model-00004-of-00004.safetensors",
372
+ "audio_encoder.layers.29.fc2.bias": "model-00004-of-00004.safetensors",
373
+ "audio_encoder.layers.29.fc2.weight": "model-00004-of-00004.safetensors",
374
+ "audio_encoder.layers.29.final_layer_norm.bias": "model-00004-of-00004.safetensors",
375
+ "audio_encoder.layers.29.final_layer_norm.weight": "model-00004-of-00004.safetensors",
376
+ "audio_encoder.layers.29.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
377
+ "audio_encoder.layers.29.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
378
+ "audio_encoder.layers.29.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
379
+ "audio_encoder.layers.29.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
380
+ "audio_encoder.layers.29.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
381
+ "audio_encoder.layers.29.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
382
+ "audio_encoder.layers.29.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
383
+ "audio_encoder.layers.29.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
384
+ "audio_encoder.layers.29.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
385
+ "audio_encoder.layers.29.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
386
+ "audio_encoder.layers.3.fc1.bias": "model-00004-of-00004.safetensors",
387
+ "audio_encoder.layers.3.fc1.weight": "model-00004-of-00004.safetensors",
388
+ "audio_encoder.layers.3.fc2.bias": "model-00004-of-00004.safetensors",
389
+ "audio_encoder.layers.3.fc2.weight": "model-00004-of-00004.safetensors",
390
+ "audio_encoder.layers.3.final_layer_norm.bias": "model-00004-of-00004.safetensors",
391
+ "audio_encoder.layers.3.final_layer_norm.weight": "model-00004-of-00004.safetensors",
392
+ "audio_encoder.layers.3.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
393
+ "audio_encoder.layers.3.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
394
+ "audio_encoder.layers.3.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
395
+ "audio_encoder.layers.3.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
396
+ "audio_encoder.layers.3.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
397
+ "audio_encoder.layers.3.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
398
+ "audio_encoder.layers.3.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
399
+ "audio_encoder.layers.3.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
400
+ "audio_encoder.layers.3.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
401
+ "audio_encoder.layers.3.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
402
+ "audio_encoder.layers.30.fc1.bias": "model-00004-of-00004.safetensors",
403
+ "audio_encoder.layers.30.fc1.weight": "model-00004-of-00004.safetensors",
404
+ "audio_encoder.layers.30.fc2.bias": "model-00004-of-00004.safetensors",
405
+ "audio_encoder.layers.30.fc2.weight": "model-00004-of-00004.safetensors",
406
+ "audio_encoder.layers.30.final_layer_norm.bias": "model-00004-of-00004.safetensors",
407
+ "audio_encoder.layers.30.final_layer_norm.weight": "model-00004-of-00004.safetensors",
408
+ "audio_encoder.layers.30.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
409
+ "audio_encoder.layers.30.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
410
+ "audio_encoder.layers.30.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
411
+ "audio_encoder.layers.30.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
412
+ "audio_encoder.layers.30.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
413
+ "audio_encoder.layers.30.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
414
+ "audio_encoder.layers.30.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
415
+ "audio_encoder.layers.30.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
416
+ "audio_encoder.layers.30.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
417
+ "audio_encoder.layers.30.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
418
+ "audio_encoder.layers.31.fc1.bias": "model-00004-of-00004.safetensors",
419
+ "audio_encoder.layers.31.fc1.weight": "model-00004-of-00004.safetensors",
420
+ "audio_encoder.layers.31.fc2.bias": "model-00004-of-00004.safetensors",
421
+ "audio_encoder.layers.31.fc2.weight": "model-00004-of-00004.safetensors",
422
+ "audio_encoder.layers.31.final_layer_norm.bias": "model-00004-of-00004.safetensors",
423
+ "audio_encoder.layers.31.final_layer_norm.weight": "model-00004-of-00004.safetensors",
424
+ "audio_encoder.layers.31.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
425
+ "audio_encoder.layers.31.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
426
+ "audio_encoder.layers.31.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
427
+ "audio_encoder.layers.31.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
428
+ "audio_encoder.layers.31.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
429
+ "audio_encoder.layers.31.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
430
+ "audio_encoder.layers.31.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
431
+ "audio_encoder.layers.31.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
432
+ "audio_encoder.layers.31.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
433
+ "audio_encoder.layers.31.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
434
+ "audio_encoder.layers.4.fc1.bias": "model-00004-of-00004.safetensors",
435
+ "audio_encoder.layers.4.fc1.weight": "model-00004-of-00004.safetensors",
436
+ "audio_encoder.layers.4.fc2.bias": "model-00004-of-00004.safetensors",
437
+ "audio_encoder.layers.4.fc2.weight": "model-00004-of-00004.safetensors",
438
+ "audio_encoder.layers.4.final_layer_norm.bias": "model-00004-of-00004.safetensors",
439
+ "audio_encoder.layers.4.final_layer_norm.weight": "model-00004-of-00004.safetensors",
440
+ "audio_encoder.layers.4.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
441
+ "audio_encoder.layers.4.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
442
+ "audio_encoder.layers.4.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
443
+ "audio_encoder.layers.4.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
444
+ "audio_encoder.layers.4.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
445
+ "audio_encoder.layers.4.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
446
+ "audio_encoder.layers.4.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
447
+ "audio_encoder.layers.4.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
448
+ "audio_encoder.layers.4.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
449
+ "audio_encoder.layers.4.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
450
+ "audio_encoder.layers.5.fc1.bias": "model-00004-of-00004.safetensors",
451
+ "audio_encoder.layers.5.fc1.weight": "model-00004-of-00004.safetensors",
452
+ "audio_encoder.layers.5.fc2.bias": "model-00004-of-00004.safetensors",
453
+ "audio_encoder.layers.5.fc2.weight": "model-00004-of-00004.safetensors",
454
+ "audio_encoder.layers.5.final_layer_norm.bias": "model-00004-of-00004.safetensors",
455
+ "audio_encoder.layers.5.final_layer_norm.weight": "model-00004-of-00004.safetensors",
456
+ "audio_encoder.layers.5.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
457
+ "audio_encoder.layers.5.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
458
+ "audio_encoder.layers.5.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
459
+ "audio_encoder.layers.5.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
460
+ "audio_encoder.layers.5.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
461
+ "audio_encoder.layers.5.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
462
+ "audio_encoder.layers.5.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
463
+ "audio_encoder.layers.5.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
464
+ "audio_encoder.layers.5.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
465
+ "audio_encoder.layers.5.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
466
+ "audio_encoder.layers.6.fc1.bias": "model-00004-of-00004.safetensors",
467
+ "audio_encoder.layers.6.fc1.weight": "model-00004-of-00004.safetensors",
468
+ "audio_encoder.layers.6.fc2.bias": "model-00004-of-00004.safetensors",
469
+ "audio_encoder.layers.6.fc2.weight": "model-00004-of-00004.safetensors",
470
+ "audio_encoder.layers.6.final_layer_norm.bias": "model-00004-of-00004.safetensors",
471
+ "audio_encoder.layers.6.final_layer_norm.weight": "model-00004-of-00004.safetensors",
472
+ "audio_encoder.layers.6.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
473
+ "audio_encoder.layers.6.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
474
+ "audio_encoder.layers.6.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
475
+ "audio_encoder.layers.6.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
476
+ "audio_encoder.layers.6.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
477
+ "audio_encoder.layers.6.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
478
+ "audio_encoder.layers.6.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
479
+ "audio_encoder.layers.6.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
480
+ "audio_encoder.layers.6.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
481
+ "audio_encoder.layers.6.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
482
+ "audio_encoder.layers.7.fc1.bias": "model-00004-of-00004.safetensors",
483
+ "audio_encoder.layers.7.fc1.weight": "model-00004-of-00004.safetensors",
484
+ "audio_encoder.layers.7.fc2.bias": "model-00004-of-00004.safetensors",
485
+ "audio_encoder.layers.7.fc2.weight": "model-00004-of-00004.safetensors",
486
+ "audio_encoder.layers.7.final_layer_norm.bias": "model-00004-of-00004.safetensors",
487
+ "audio_encoder.layers.7.final_layer_norm.weight": "model-00004-of-00004.safetensors",
488
+ "audio_encoder.layers.7.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
489
+ "audio_encoder.layers.7.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
490
+ "audio_encoder.layers.7.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
491
+ "audio_encoder.layers.7.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
492
+ "audio_encoder.layers.7.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
493
+ "audio_encoder.layers.7.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
494
+ "audio_encoder.layers.7.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
495
+ "audio_encoder.layers.7.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
496
+ "audio_encoder.layers.7.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
497
+ "audio_encoder.layers.7.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
498
+ "audio_encoder.layers.8.fc1.bias": "model-00004-of-00004.safetensors",
499
+ "audio_encoder.layers.8.fc1.weight": "model-00004-of-00004.safetensors",
500
+ "audio_encoder.layers.8.fc2.bias": "model-00004-of-00004.safetensors",
501
+ "audio_encoder.layers.8.fc2.weight": "model-00004-of-00004.safetensors",
502
+ "audio_encoder.layers.8.final_layer_norm.bias": "model-00004-of-00004.safetensors",
503
+ "audio_encoder.layers.8.final_layer_norm.weight": "model-00004-of-00004.safetensors",
504
+ "audio_encoder.layers.8.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
505
+ "audio_encoder.layers.8.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
506
+ "audio_encoder.layers.8.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
507
+ "audio_encoder.layers.8.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
508
+ "audio_encoder.layers.8.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
509
+ "audio_encoder.layers.8.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
510
+ "audio_encoder.layers.8.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
511
+ "audio_encoder.layers.8.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
512
+ "audio_encoder.layers.8.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
513
+ "audio_encoder.layers.8.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
514
+ "audio_encoder.layers.9.fc1.bias": "model-00004-of-00004.safetensors",
515
+ "audio_encoder.layers.9.fc1.weight": "model-00004-of-00004.safetensors",
516
+ "audio_encoder.layers.9.fc2.bias": "model-00004-of-00004.safetensors",
517
+ "audio_encoder.layers.9.fc2.weight": "model-00004-of-00004.safetensors",
518
+ "audio_encoder.layers.9.final_layer_norm.bias": "model-00004-of-00004.safetensors",
519
+ "audio_encoder.layers.9.final_layer_norm.weight": "model-00004-of-00004.safetensors",
520
+ "audio_encoder.layers.9.self_attn.k_proj.bias": "model-00004-of-00004.safetensors",
521
+ "audio_encoder.layers.9.self_attn.k_proj.weight": "model-00004-of-00004.safetensors",
522
+ "audio_encoder.layers.9.self_attn.out_proj.bias": "model-00004-of-00004.safetensors",
523
+ "audio_encoder.layers.9.self_attn.out_proj.weight": "model-00004-of-00004.safetensors",
524
+ "audio_encoder.layers.9.self_attn.q_proj.bias": "model-00004-of-00004.safetensors",
525
+ "audio_encoder.layers.9.self_attn.q_proj.weight": "model-00004-of-00004.safetensors",
526
+ "audio_encoder.layers.9.self_attn.v_proj.bias": "model-00004-of-00004.safetensors",
527
+ "audio_encoder.layers.9.self_attn.v_proj.weight": "model-00004-of-00004.safetensors",
528
+ "audio_encoder.layers.9.self_attn_layer_norm.bias": "model-00004-of-00004.safetensors",
529
+ "audio_encoder.layers.9.self_attn_layer_norm.weight": "model-00004-of-00004.safetensors",
530
+ "audio_encoder.ln_post.bias": "model-00004-of-00004.safetensors",
531
+ "audio_encoder.ln_post.weight": "model-00004-of-00004.safetensors",
532
+ "llm.lm_head.weight": "model-00004-of-00004.safetensors",
533
+ "llm.model.embed_tokens.weight": "model-00001-of-00004.safetensors",
534
+ "llm.model.layers.0.input_layernorm.weight": "model-00001-of-00004.safetensors",
535
+ "llm.model.layers.0.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
536
+ "llm.model.layers.0.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
537
+ "llm.model.layers.0.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
538
+ "llm.model.layers.0.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
539
+ "llm.model.layers.0.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
540
+ "llm.model.layers.0.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
541
+ "llm.model.layers.0.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
542
+ "llm.model.layers.0.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
543
+ "llm.model.layers.0.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
544
+ "llm.model.layers.0.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
545
+ "llm.model.layers.0.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
546
+ "llm.model.layers.1.input_layernorm.weight": "model-00001-of-00004.safetensors",
547
+ "llm.model.layers.1.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
548
+ "llm.model.layers.1.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
549
+ "llm.model.layers.1.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
550
+ "llm.model.layers.1.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
551
+ "llm.model.layers.1.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
552
+ "llm.model.layers.1.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
553
+ "llm.model.layers.1.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
554
+ "llm.model.layers.1.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
555
+ "llm.model.layers.1.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
556
+ "llm.model.layers.1.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
557
+ "llm.model.layers.1.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
558
+ "llm.model.layers.10.input_layernorm.weight": "model-00002-of-00004.safetensors",
559
+ "llm.model.layers.10.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
560
+ "llm.model.layers.10.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
561
+ "llm.model.layers.10.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
562
+ "llm.model.layers.10.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
563
+ "llm.model.layers.10.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
564
+ "llm.model.layers.10.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
565
+ "llm.model.layers.10.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
566
+ "llm.model.layers.10.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
567
+ "llm.model.layers.10.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
568
+ "llm.model.layers.10.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
569
+ "llm.model.layers.10.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
570
+ "llm.model.layers.11.input_layernorm.weight": "model-00002-of-00004.safetensors",
571
+ "llm.model.layers.11.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
572
+ "llm.model.layers.11.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
573
+ "llm.model.layers.11.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
574
+ "llm.model.layers.11.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
575
+ "llm.model.layers.11.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
576
+ "llm.model.layers.11.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
577
+ "llm.model.layers.11.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
578
+ "llm.model.layers.11.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
579
+ "llm.model.layers.11.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
580
+ "llm.model.layers.11.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
581
+ "llm.model.layers.11.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
582
+ "llm.model.layers.12.input_layernorm.weight": "model-00002-of-00004.safetensors",
583
+ "llm.model.layers.12.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
584
+ "llm.model.layers.12.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
585
+ "llm.model.layers.12.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
586
+ "llm.model.layers.12.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
587
+ "llm.model.layers.12.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
588
+ "llm.model.layers.12.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
589
+ "llm.model.layers.12.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
590
+ "llm.model.layers.12.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
591
+ "llm.model.layers.12.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
592
+ "llm.model.layers.12.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
593
+ "llm.model.layers.12.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
594
+ "llm.model.layers.13.input_layernorm.weight": "model-00002-of-00004.safetensors",
595
+ "llm.model.layers.13.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
596
+ "llm.model.layers.13.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
597
+ "llm.model.layers.13.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
598
+ "llm.model.layers.13.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
599
+ "llm.model.layers.13.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
600
+ "llm.model.layers.13.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
601
+ "llm.model.layers.13.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
602
+ "llm.model.layers.13.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
603
+ "llm.model.layers.13.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
604
+ "llm.model.layers.13.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
605
+ "llm.model.layers.13.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
606
+ "llm.model.layers.14.input_layernorm.weight": "model-00002-of-00004.safetensors",
607
+ "llm.model.layers.14.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
608
+ "llm.model.layers.14.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
609
+ "llm.model.layers.14.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
610
+ "llm.model.layers.14.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
611
+ "llm.model.layers.14.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
612
+ "llm.model.layers.14.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
613
+ "llm.model.layers.14.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
614
+ "llm.model.layers.14.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
615
+ "llm.model.layers.14.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
616
+ "llm.model.layers.14.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
617
+ "llm.model.layers.14.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
618
+ "llm.model.layers.15.input_layernorm.weight": "model-00002-of-00004.safetensors",
619
+ "llm.model.layers.15.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
620
+ "llm.model.layers.15.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
621
+ "llm.model.layers.15.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
622
+ "llm.model.layers.15.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
623
+ "llm.model.layers.15.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
624
+ "llm.model.layers.15.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
625
+ "llm.model.layers.15.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
626
+ "llm.model.layers.15.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
627
+ "llm.model.layers.15.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
628
+ "llm.model.layers.15.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
629
+ "llm.model.layers.15.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
630
+ "llm.model.layers.16.input_layernorm.weight": "model-00002-of-00004.safetensors",
631
+ "llm.model.layers.16.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
632
+ "llm.model.layers.16.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
633
+ "llm.model.layers.16.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
634
+ "llm.model.layers.16.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
635
+ "llm.model.layers.16.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
636
+ "llm.model.layers.16.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
637
+ "llm.model.layers.16.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
638
+ "llm.model.layers.16.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
639
+ "llm.model.layers.16.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
640
+ "llm.model.layers.16.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
641
+ "llm.model.layers.16.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
642
+ "llm.model.layers.17.input_layernorm.weight": "model-00002-of-00004.safetensors",
643
+ "llm.model.layers.17.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
644
+ "llm.model.layers.17.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
645
+ "llm.model.layers.17.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
646
+ "llm.model.layers.17.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
647
+ "llm.model.layers.17.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
648
+ "llm.model.layers.17.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
649
+ "llm.model.layers.17.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
650
+ "llm.model.layers.17.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
651
+ "llm.model.layers.17.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
652
+ "llm.model.layers.17.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
653
+ "llm.model.layers.17.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
654
+ "llm.model.layers.18.input_layernorm.weight": "model-00003-of-00004.safetensors",
655
+ "llm.model.layers.18.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
656
+ "llm.model.layers.18.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
657
+ "llm.model.layers.18.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
658
+ "llm.model.layers.18.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
659
+ "llm.model.layers.18.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
660
+ "llm.model.layers.18.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
661
+ "llm.model.layers.18.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
662
+ "llm.model.layers.18.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
663
+ "llm.model.layers.18.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
664
+ "llm.model.layers.18.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
665
+ "llm.model.layers.18.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
666
+ "llm.model.layers.19.input_layernorm.weight": "model-00003-of-00004.safetensors",
667
+ "llm.model.layers.19.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
668
+ "llm.model.layers.19.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
669
+ "llm.model.layers.19.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
670
+ "llm.model.layers.19.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
671
+ "llm.model.layers.19.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
672
+ "llm.model.layers.19.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
673
+ "llm.model.layers.19.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
674
+ "llm.model.layers.19.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
675
+ "llm.model.layers.19.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
676
+ "llm.model.layers.19.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
677
+ "llm.model.layers.19.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
678
+ "llm.model.layers.2.input_layernorm.weight": "model-00001-of-00004.safetensors",
679
+ "llm.model.layers.2.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
680
+ "llm.model.layers.2.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
681
+ "llm.model.layers.2.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
682
+ "llm.model.layers.2.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
683
+ "llm.model.layers.2.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
684
+ "llm.model.layers.2.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
685
+ "llm.model.layers.2.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
686
+ "llm.model.layers.2.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
687
+ "llm.model.layers.2.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
688
+ "llm.model.layers.2.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
689
+ "llm.model.layers.2.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
690
+ "llm.model.layers.20.input_layernorm.weight": "model-00003-of-00004.safetensors",
691
+ "llm.model.layers.20.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
692
+ "llm.model.layers.20.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
693
+ "llm.model.layers.20.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
694
+ "llm.model.layers.20.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
695
+ "llm.model.layers.20.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
696
+ "llm.model.layers.20.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
697
+ "llm.model.layers.20.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
698
+ "llm.model.layers.20.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
699
+ "llm.model.layers.20.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
700
+ "llm.model.layers.20.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
701
+ "llm.model.layers.20.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
702
+ "llm.model.layers.21.input_layernorm.weight": "model-00003-of-00004.safetensors",
703
+ "llm.model.layers.21.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
704
+ "llm.model.layers.21.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
705
+ "llm.model.layers.21.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
706
+ "llm.model.layers.21.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
707
+ "llm.model.layers.21.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
708
+ "llm.model.layers.21.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
709
+ "llm.model.layers.21.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
710
+ "llm.model.layers.21.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
711
+ "llm.model.layers.21.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
712
+ "llm.model.layers.21.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
713
+ "llm.model.layers.21.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
714
+ "llm.model.layers.22.input_layernorm.weight": "model-00003-of-00004.safetensors",
715
+ "llm.model.layers.22.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
716
+ "llm.model.layers.22.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
717
+ "llm.model.layers.22.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
718
+ "llm.model.layers.22.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
719
+ "llm.model.layers.22.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
720
+ "llm.model.layers.22.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
721
+ "llm.model.layers.22.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
722
+ "llm.model.layers.22.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
723
+ "llm.model.layers.22.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
724
+ "llm.model.layers.22.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
725
+ "llm.model.layers.22.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
726
+ "llm.model.layers.23.input_layernorm.weight": "model-00003-of-00004.safetensors",
727
+ "llm.model.layers.23.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
728
+ "llm.model.layers.23.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
729
+ "llm.model.layers.23.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
730
+ "llm.model.layers.23.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
731
+ "llm.model.layers.23.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
732
+ "llm.model.layers.23.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
733
+ "llm.model.layers.23.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
734
+ "llm.model.layers.23.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
735
+ "llm.model.layers.23.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
736
+ "llm.model.layers.23.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
737
+ "llm.model.layers.23.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
738
+ "llm.model.layers.24.input_layernorm.weight": "model-00003-of-00004.safetensors",
739
+ "llm.model.layers.24.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
740
+ "llm.model.layers.24.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
741
+ "llm.model.layers.24.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
742
+ "llm.model.layers.24.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
743
+ "llm.model.layers.24.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
744
+ "llm.model.layers.24.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
745
+ "llm.model.layers.24.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
746
+ "llm.model.layers.24.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
747
+ "llm.model.layers.24.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
748
+ "llm.model.layers.24.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
749
+ "llm.model.layers.24.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
750
+ "llm.model.layers.25.input_layernorm.weight": "model-00003-of-00004.safetensors",
751
+ "llm.model.layers.25.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
752
+ "llm.model.layers.25.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
753
+ "llm.model.layers.25.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
754
+ "llm.model.layers.25.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
755
+ "llm.model.layers.25.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
756
+ "llm.model.layers.25.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
757
+ "llm.model.layers.25.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
758
+ "llm.model.layers.25.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
759
+ "llm.model.layers.25.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
760
+ "llm.model.layers.25.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
761
+ "llm.model.layers.25.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
762
+ "llm.model.layers.26.input_layernorm.weight": "model-00003-of-00004.safetensors",
763
+ "llm.model.layers.26.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
764
+ "llm.model.layers.26.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
765
+ "llm.model.layers.26.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
766
+ "llm.model.layers.26.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
767
+ "llm.model.layers.26.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
768
+ "llm.model.layers.26.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
769
+ "llm.model.layers.26.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
770
+ "llm.model.layers.26.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
771
+ "llm.model.layers.26.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
772
+ "llm.model.layers.26.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
773
+ "llm.model.layers.26.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
774
+ "llm.model.layers.27.input_layernorm.weight": "model-00003-of-00004.safetensors",
775
+ "llm.model.layers.27.mlp.down_proj.weight": "model-00003-of-00004.safetensors",
776
+ "llm.model.layers.27.mlp.gate_proj.weight": "model-00003-of-00004.safetensors",
777
+ "llm.model.layers.27.mlp.up_proj.weight": "model-00003-of-00004.safetensors",
778
+ "llm.model.layers.27.post_attention_layernorm.weight": "model-00003-of-00004.safetensors",
779
+ "llm.model.layers.27.self_attn.k_proj.bias": "model-00003-of-00004.safetensors",
780
+ "llm.model.layers.27.self_attn.k_proj.weight": "model-00003-of-00004.safetensors",
781
+ "llm.model.layers.27.self_attn.o_proj.weight": "model-00003-of-00004.safetensors",
782
+ "llm.model.layers.27.self_attn.q_proj.bias": "model-00003-of-00004.safetensors",
783
+ "llm.model.layers.27.self_attn.q_proj.weight": "model-00003-of-00004.safetensors",
784
+ "llm.model.layers.27.self_attn.v_proj.bias": "model-00003-of-00004.safetensors",
785
+ "llm.model.layers.27.self_attn.v_proj.weight": "model-00003-of-00004.safetensors",
786
+ "llm.model.layers.3.input_layernorm.weight": "model-00001-of-00004.safetensors",
787
+ "llm.model.layers.3.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
788
+ "llm.model.layers.3.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
789
+ "llm.model.layers.3.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
790
+ "llm.model.layers.3.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
791
+ "llm.model.layers.3.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
792
+ "llm.model.layers.3.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
793
+ "llm.model.layers.3.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
794
+ "llm.model.layers.3.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
795
+ "llm.model.layers.3.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
796
+ "llm.model.layers.3.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
797
+ "llm.model.layers.3.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
798
+ "llm.model.layers.4.input_layernorm.weight": "model-00001-of-00004.safetensors",
799
+ "llm.model.layers.4.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
800
+ "llm.model.layers.4.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
801
+ "llm.model.layers.4.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
802
+ "llm.model.layers.4.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
803
+ "llm.model.layers.4.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
804
+ "llm.model.layers.4.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
805
+ "llm.model.layers.4.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
806
+ "llm.model.layers.4.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
807
+ "llm.model.layers.4.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
808
+ "llm.model.layers.4.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
809
+ "llm.model.layers.4.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
810
+ "llm.model.layers.5.input_layernorm.weight": "model-00001-of-00004.safetensors",
811
+ "llm.model.layers.5.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
812
+ "llm.model.layers.5.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
813
+ "llm.model.layers.5.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
814
+ "llm.model.layers.5.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
815
+ "llm.model.layers.5.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
816
+ "llm.model.layers.5.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
817
+ "llm.model.layers.5.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
818
+ "llm.model.layers.5.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
819
+ "llm.model.layers.5.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
820
+ "llm.model.layers.5.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
821
+ "llm.model.layers.5.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
822
+ "llm.model.layers.6.input_layernorm.weight": "model-00001-of-00004.safetensors",
823
+ "llm.model.layers.6.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
824
+ "llm.model.layers.6.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
825
+ "llm.model.layers.6.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
826
+ "llm.model.layers.6.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
827
+ "llm.model.layers.6.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
828
+ "llm.model.layers.6.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
829
+ "llm.model.layers.6.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
830
+ "llm.model.layers.6.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
831
+ "llm.model.layers.6.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
832
+ "llm.model.layers.6.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
833
+ "llm.model.layers.6.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
834
+ "llm.model.layers.7.input_layernorm.weight": "model-00001-of-00004.safetensors",
835
+ "llm.model.layers.7.mlp.down_proj.weight": "model-00001-of-00004.safetensors",
836
+ "llm.model.layers.7.mlp.gate_proj.weight": "model-00001-of-00004.safetensors",
837
+ "llm.model.layers.7.mlp.up_proj.weight": "model-00001-of-00004.safetensors",
838
+ "llm.model.layers.7.post_attention_layernorm.weight": "model-00001-of-00004.safetensors",
839
+ "llm.model.layers.7.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
840
+ "llm.model.layers.7.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
841
+ "llm.model.layers.7.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
842
+ "llm.model.layers.7.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
843
+ "llm.model.layers.7.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
844
+ "llm.model.layers.7.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
845
+ "llm.model.layers.7.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
846
+ "llm.model.layers.8.input_layernorm.weight": "model-00002-of-00004.safetensors",
847
+ "llm.model.layers.8.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
848
+ "llm.model.layers.8.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
849
+ "llm.model.layers.8.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
850
+ "llm.model.layers.8.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
851
+ "llm.model.layers.8.self_attn.k_proj.bias": "model-00001-of-00004.safetensors",
852
+ "llm.model.layers.8.self_attn.k_proj.weight": "model-00001-of-00004.safetensors",
853
+ "llm.model.layers.8.self_attn.o_proj.weight": "model-00001-of-00004.safetensors",
854
+ "llm.model.layers.8.self_attn.q_proj.bias": "model-00001-of-00004.safetensors",
855
+ "llm.model.layers.8.self_attn.q_proj.weight": "model-00001-of-00004.safetensors",
856
+ "llm.model.layers.8.self_attn.v_proj.bias": "model-00001-of-00004.safetensors",
857
+ "llm.model.layers.8.self_attn.v_proj.weight": "model-00001-of-00004.safetensors",
858
+ "llm.model.layers.9.input_layernorm.weight": "model-00002-of-00004.safetensors",
859
+ "llm.model.layers.9.mlp.down_proj.weight": "model-00002-of-00004.safetensors",
860
+ "llm.model.layers.9.mlp.gate_proj.weight": "model-00002-of-00004.safetensors",
861
+ "llm.model.layers.9.mlp.up_proj.weight": "model-00002-of-00004.safetensors",
862
+ "llm.model.layers.9.post_attention_layernorm.weight": "model-00002-of-00004.safetensors",
863
+ "llm.model.layers.9.self_attn.k_proj.bias": "model-00002-of-00004.safetensors",
864
+ "llm.model.layers.9.self_attn.k_proj.weight": "model-00002-of-00004.safetensors",
865
+ "llm.model.layers.9.self_attn.o_proj.weight": "model-00002-of-00004.safetensors",
866
+ "llm.model.layers.9.self_attn.q_proj.bias": "model-00002-of-00004.safetensors",
867
+ "llm.model.layers.9.self_attn.q_proj.weight": "model-00002-of-00004.safetensors",
868
+ "llm.model.layers.9.self_attn.v_proj.bias": "model-00002-of-00004.safetensors",
869
+ "llm.model.layers.9.self_attn.v_proj.weight": "model-00002-of-00004.safetensors",
870
+ "llm.model.norm.weight": "model-00003-of-00004.safetensors"
871
+ }
872
+ }
modeling_uas_audio.py ADDED
@@ -0,0 +1,869 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from collections.abc import Callable
2
+ from typing import Optional
3
+ import numpy as np
4
+ import torch
5
+ import torch.nn.functional as F
6
+ from torch import Tensor, nn
7
+ from transformers import PreTrainedModel, Qwen2ForCausalLM
8
+ from transformers.activations import ACT2FN
9
+ from transformers.generation import GenerationMixin
10
+ from transformers.modeling_layers import GradientCheckpointingLayer
11
+ from transformers.modeling_outputs import BaseModelOutput
12
+ from transformers.modeling_utils import ALL_ATTENTION_FUNCTIONS, PreTrainedModel
13
+ from transformers.utils import auto_docstring
14
+ from .configuration_uas_audio import UASAudioConfig, UASAudioEncoderConfig, UASAudioEncoderOnlyConfig
15
+
16
+
17
+ def repeat_kv(hidden_states: torch.Tensor, n_rep: int) -> torch.Tensor:
18
+ """
19
+ This is the equivalent of torch.repeat_interleave(x, dim=1, repeats=n_rep). The hidden states go from (batch,
20
+ num_key_value_heads, seqlen, head_dim) to (batch, num_attention_heads, seqlen, head_dim)
21
+ """
22
+ batch, num_key_value_heads, slen, head_dim = hidden_states.shape
23
+ if n_rep == 1:
24
+ return hidden_states
25
+ hidden_states = hidden_states[:, :, None, :, :].expand(batch, num_key_value_heads, n_rep, slen, head_dim)
26
+ return hidden_states.reshape(batch, num_key_value_heads * n_rep, slen, head_dim)
27
+
28
+
29
+ def _get_feat_extract_output_lengths(input_lengths):
30
+ """
31
+ Computes the output length of the convolutional layers and the output length of the audio encoder
32
+ """
33
+
34
+ input_lengths_leave = input_lengths % 100
35
+ feat_lengths = (input_lengths_leave - 1) // 2 + 1
36
+ output_lengths = ((feat_lengths - 1) // 2 + 1 - 1) // 2 + 1 + (input_lengths // 100) * 13
37
+ return output_lengths
38
+
39
+
40
+ def eager_attention_forward(
41
+ module: nn.Module,
42
+ query: torch.Tensor,
43
+ key: torch.Tensor,
44
+ value: torch.Tensor,
45
+ attention_mask: Optional[torch.Tensor],
46
+ scaling: float,
47
+ dropout: float = 0.0,
48
+ **kwargs,
49
+ ):
50
+ key_states = repeat_kv(key, module.num_key_value_groups)
51
+ value_states = repeat_kv(value, module.num_key_value_groups)
52
+
53
+ attn_weights = torch.matmul(query, key_states.transpose(2, 3)) * scaling
54
+ if attention_mask is not None:
55
+ causal_mask = attention_mask[:, :, :, : key_states.shape[-2]]
56
+ attn_weights = attn_weights + causal_mask
57
+
58
+ attn_weights = nn.functional.softmax(attn_weights, dim=-1, dtype=torch.float32).to(query.dtype)
59
+ attn_weights = nn.functional.dropout(attn_weights, p=dropout, training=module.training)
60
+ attn_output = torch.matmul(attn_weights, value_states)
61
+ attn_output = attn_output.transpose(1, 2).contiguous()
62
+
63
+ return attn_output, attn_weights
64
+
65
+
66
+ class SinusoidsPositionEmbedding(nn.Module):
67
+ def __init__(self, length, channels, max_timescale=10000):
68
+ super().__init__()
69
+ if channels % 2 != 0:
70
+ raise ValueError("SinusoidsPositionEmbedding needs even channels input")
71
+ log_timescale_increment = np.log(max_timescale) / (channels // 2 - 1)
72
+ inv_timescales = torch.exp(-log_timescale_increment * torch.arange(channels // 2).float())
73
+ scaled_time = torch.arange(length)[:, np.newaxis] * inv_timescales[np.newaxis, :]
74
+ self.register_buffer(
75
+ "positional_embedding",
76
+ torch.cat([torch.sin(scaled_time), torch.cos(scaled_time)], dim=1),
77
+ persistent=False,
78
+ )
79
+
80
+ def forward(self, seqlen: int):
81
+ return self.positional_embedding[:seqlen, :]
82
+
83
+
84
+ class UASAudioAttention(nn.Module):
85
+ """Multi-headed attention from 'Attention Is All You Need' paper"""
86
+
87
+ def __init__(self, config):
88
+ super().__init__()
89
+ self.embed_dim = config.d_model
90
+ self.num_heads = config.encoder_attention_heads
91
+ self.dropout = config.attention_dropout
92
+ self.head_dim = self.embed_dim // self.num_heads
93
+ self.num_key_value_groups = 1 # needed for eager attention
94
+ self.config = config
95
+
96
+ if (self.head_dim * self.num_heads) != self.embed_dim:
97
+ raise ValueError(
98
+ f"embed_dim must be divisible by num_heads (got `embed_dim`: {self.embed_dim}"
99
+ f" and `num_heads`: {self.num_heads})."
100
+ )
101
+ self.scaling = self.head_dim**-0.5
102
+ self.attention_dropout = 0.0
103
+ self.is_decoder = False
104
+ self.is_causal = False
105
+ self.k_proj = nn.Linear(self.embed_dim, self.embed_dim, bias=True)
106
+ self.v_proj = nn.Linear(self.embed_dim, self.embed_dim, bias=True)
107
+ self.q_proj = nn.Linear(self.embed_dim, self.embed_dim, bias=True)
108
+ self.out_proj = nn.Linear(self.embed_dim, self.embed_dim, bias=True)
109
+
110
+ def forward(
111
+ self,
112
+ hidden_states: torch.Tensor,
113
+ cu_seqlens: Optional[torch.Tensor] = None,
114
+ attention_mask: Optional[torch.Tensor] = None,
115
+ **kwargs,
116
+ ) -> tuple[torch.Tensor, Optional[torch.Tensor], Optional[tuple[torch.Tensor]]]:
117
+ """Input shape: Batch x Time x Channel"""
118
+
119
+ seq_length, _ = hidden_states.size()
120
+
121
+ query_states = self.q_proj(hidden_states).reshape(seq_length, self.num_heads, -1)
122
+ key_states = self.k_proj(hidden_states).reshape(seq_length, self.num_heads, -1)
123
+ value_states = self.v_proj(hidden_states).reshape(seq_length, self.num_heads, -1)
124
+
125
+ query_states = query_states.transpose(0, 1).unsqueeze(0)
126
+ key_states = key_states.transpose(0, 1).unsqueeze(0)
127
+ value_states = value_states.transpose(0, 1).unsqueeze(0)
128
+ max_seqlen = (cu_seqlens[1:] - cu_seqlens[:-1]).max()
129
+
130
+ attention_interface: Callable = eager_attention_forward
131
+ if self.config._attn_implementation != "eager":
132
+ attention_interface = ALL_ATTENTION_FUNCTIONS[self.config._attn_implementation]
133
+
134
+ attn_output, _ = attention_interface(
135
+ self,
136
+ query_states,
137
+ key_states,
138
+ value_states,
139
+ attention_mask=attention_mask,
140
+ dropout=0.0 if not self.training else self.attention_dropout,
141
+ scaling=self.scaling,
142
+ cu_seq_lens_q=cu_seqlens, # pass cu seq lens for FA2
143
+ cu_seq_lens_k=cu_seqlens,
144
+ max_length_q=max_seqlen,
145
+ max_length_k=max_seqlen,
146
+ is_causal=False,
147
+ **kwargs,
148
+ )
149
+
150
+ attn_output = attn_output.reshape(seq_length, -1).contiguous()
151
+ attn_output = self.out_proj(attn_output)
152
+
153
+ return attn_output
154
+
155
+
156
+ class UASAudioEncoderLayer(GradientCheckpointingLayer):
157
+ def __init__(self, config: UASAudioEncoderConfig):
158
+ super().__init__()
159
+ self.embed_dim = config.d_model
160
+ self.self_attn = UASAudioAttention(config)
161
+ self.self_attn_layer_norm = nn.LayerNorm(self.embed_dim)
162
+ self.dropout = config.dropout
163
+ self.activation_fn = ACT2FN[config.activation_function]
164
+ self.activation_dropout = config.activation_dropout
165
+ self.fc1 = nn.Linear(self.embed_dim, config.encoder_ffn_dim)
166
+ self.fc2 = nn.Linear(config.encoder_ffn_dim, self.embed_dim)
167
+ self.final_layer_norm = nn.LayerNorm(self.embed_dim)
168
+
169
+ def forward(
170
+ self,
171
+ hidden_states: torch.Tensor,
172
+ cu_seqlens: torch.Tensor,
173
+ attention_mask: Optional[torch.Tensor] = None,
174
+ **kwargs,
175
+ ) -> torch.Tensor:
176
+ """
177
+ Args:
178
+ hidden_states (`torch.FloatTensor`): input to the layer of shape `(batch, seq_len, embed_dim)`
179
+ attention_mask (`torch.FloatTensor`): attention mask of size
180
+ `(batch, 1, tgt_len, src_len)` where padding elements are indicated by very large negative values.
181
+ output_attentions (`bool`, *optional*):
182
+ Whether or not to return the attentions tensors of all attention layers. See `attentions` under
183
+ returned tensors for more detail.
184
+ """
185
+ residual = hidden_states
186
+ hidden_states = self.self_attn_layer_norm(hidden_states)
187
+ hidden_states = self.self_attn(
188
+ hidden_states=hidden_states,
189
+ cu_seqlens=cu_seqlens,
190
+ attention_mask=attention_mask,
191
+ **kwargs,
192
+ )
193
+ hidden_states = residual + hidden_states
194
+ residual = hidden_states
195
+ hidden_states = self.final_layer_norm(hidden_states)
196
+ hidden_states = self.fc1(hidden_states)
197
+ hidden_states = self.activation_fn(hidden_states)
198
+ hidden_states = self.fc2(hidden_states)
199
+ hidden_states = residual + hidden_states
200
+
201
+ if hidden_states.dtype == torch.float16:
202
+ clamp_value = torch.finfo(hidden_states.dtype).max - 1000
203
+ hidden_states = torch.clamp(hidden_states, min=-clamp_value, max=clamp_value)
204
+
205
+ outputs = (hidden_states,)
206
+
207
+ return outputs
208
+
209
+
210
+ class UASAudioEncoder(PreTrainedModel):
211
+ config: UASAudioEncoderConfig
212
+ main_input_name = "input_features"
213
+ input_modalities = "audio"
214
+ _no_split_modules = ["UASAudioEncoderLayer"]
215
+ _supports_sdpa = True
216
+
217
+ def __init__(self, config: UASAudioEncoderConfig):
218
+ super().__init__(config)
219
+ self.dropout = config.dropout
220
+
221
+ embed_dim = config.d_model
222
+ self.num_mel_bins = config.num_mel_bins
223
+ self.max_source_positions = config.max_source_positions
224
+ self.n_window = config.n_window
225
+ self.positional_embedding = SinusoidsPositionEmbedding(self.max_source_positions, embed_dim)
226
+ self.layers = nn.ModuleList([UASAudioEncoderLayer(config) for _ in range(config.encoder_layers)])
227
+ self.ln_post = nn.LayerNorm(config.d_model)
228
+ self.gradient_checkpointing = False
229
+ self.conv2d1 = nn.Conv2d(1, config.downsample_hidden_size, 3, 2, padding=1)
230
+ self.conv2d2 = nn.Conv2d(config.downsample_hidden_size, config.downsample_hidden_size, 3, 2, padding=1)
231
+ self.conv2d3 = nn.Conv2d(config.downsample_hidden_size, config.downsample_hidden_size, 3, 2, padding=1)
232
+ self.conv_out = nn.Linear(
233
+ config.downsample_hidden_size * ((((config.num_mel_bins + 1) // 2 + 1) // 2 + 1) // 2),
234
+ config.d_model,
235
+ bias=False,
236
+ )
237
+ self.n_window_infer = self.config.n_window_infer
238
+ self.conv_chunksize = self.config.conv_chunksize
239
+ self.post_init()
240
+
241
+ def _freeze_parameters(self):
242
+ for param in self.parameters():
243
+ param.requires_grad = False
244
+ self._requires_grad = False
245
+
246
+ def get_input_embeddings(self) -> nn.Module:
247
+ return self.conv1
248
+
249
+ def set_input_embeddings(self, value: nn.Module):
250
+ self.conv1 = value
251
+
252
+ def _prepare_attention_mask(self, inputs_tensor: torch.Tensor, cu_seqlens: torch.Tensor) -> torch.Tensor:
253
+ # Flash Attention 2 doesn't need a 4D mask and relies on `cu_seqlens/max_seqlen`
254
+ # NOTE: the created attention masl only approximates the ragged FA2 attention by
255
+ # allowing bidirectional attention within `cu_seqlens` blocks, and not attending between
256
+ # blocks. Though it will not be a 100% match for FA2's `varlen` path
257
+ if self.config._attn_implementation == "flash_attention_2":
258
+ return None
259
+
260
+ seq_length = inputs_tensor.shape[0]
261
+ attention_mask = torch.full(
262
+ [1, 1, seq_length, seq_length],
263
+ torch.finfo(inputs_tensor.dtype).min,
264
+ device=inputs_tensor.device,
265
+ dtype=inputs_tensor.dtype,
266
+ )
267
+ for i in range(1, len(cu_seqlens)):
268
+ attention_mask[..., cu_seqlens[i - 1] : cu_seqlens[i], cu_seqlens[i - 1] : cu_seqlens[i]] = 0
269
+ return attention_mask
270
+
271
+ @auto_docstring
272
+ def forward(
273
+ self,
274
+ input_features,
275
+ feature_lens=None,
276
+ aftercnn_lens=None,
277
+ output_hidden_states: Optional[bool] = None,
278
+ return_dict: Optional[bool] = None,
279
+ ):
280
+ r"""
281
+ feature_lens (`torch.LongTensor` of shape `(batch_size,)`):
282
+ mel length
283
+ aftercnn_lens (`torch.LongTensor` of shape `(batch_size,)`):
284
+ mel length after cnn
285
+ output_hidden_states (`bool`, *optional*):
286
+ Whether or not to return the hidden states of all layers.
287
+ return_dict (`bool`, *optional*):
288
+ Whether or not to return a [`~utils.ModelOutput`] instead of a plain tuple.
289
+ """
290
+ return_dict = return_dict if return_dict is not None else getattr(self.config, 'use_return_dict', False)
291
+ output_hidden_states = (
292
+ output_hidden_states
293
+ if output_hidden_states is not None
294
+ else getattr(self.config, 'output_hidden_states', False)
295
+ )
296
+
297
+ aftercnn_lens = _get_feat_extract_output_lengths(feature_lens)
298
+ chunk_num = torch.ceil(feature_lens / (self.n_window * 2)).long()
299
+
300
+ chunk_lengths = torch.tensor(
301
+ [self.n_window * 2] * chunk_num.sum(),
302
+ dtype=torch.long,
303
+ device=feature_lens.device,
304
+ )
305
+ tail_chunk_index = F.pad(chunk_num, (1, 0), value=-1).cumsum(0)[1:]
306
+ chunk_lengths[tail_chunk_index] = feature_lens % (self.n_window * 2)
307
+ chunk_lengths[chunk_lengths == 0] = self.n_window * 2
308
+
309
+ chunk_list = input_features.T.split(chunk_lengths.tolist(), dim=0)
310
+ padded_feature = nn.utils.rnn.pad_sequence(chunk_list, batch_first=True).transpose(1, 2)
311
+ feature_lens_after_cnn = _get_feat_extract_output_lengths(chunk_lengths)
312
+ padded_mask_after_cnn = nn.utils.rnn.pad_sequence(
313
+ [torch.ones(length, dtype=torch.bool, device=padded_feature.device) for length in feature_lens_after_cnn],
314
+ batch_first=True,
315
+ )
316
+ padded_feature = padded_feature.unsqueeze(1)
317
+ # Split to chunk to avoid OOM during convolution
318
+ padded_embeds = []
319
+ for chunk in padded_feature.split(self.conv_chunksize, dim=0):
320
+ padded_embed = F.gelu(self.conv2d1(chunk))
321
+ padded_embed = F.gelu(self.conv2d2(padded_embed))
322
+ padded_embed = F.gelu(self.conv2d3(padded_embed))
323
+ padded_embeds.append(padded_embed)
324
+ padded_embed = torch.cat(padded_embeds, dim=0)
325
+ b, c, f, t = padded_embed.size()
326
+ padded_embed = self.conv_out(padded_embed.permute(0, 3, 1, 2).contiguous().view(b, t, c * f))
327
+
328
+ positional_embedding = (
329
+ self.positional_embedding.positional_embedding[: padded_embed.shape[1], :]
330
+ .unsqueeze(0)
331
+ .to(padded_embed.dtype)
332
+ )
333
+ padded_embed = padded_embed + positional_embedding
334
+ hidden_states = padded_embed[padded_mask_after_cnn]
335
+ cu_chunk_lens = [0]
336
+ window_aftercnn = padded_mask_after_cnn.shape[-1] * (self.n_window_infer // (self.n_window * 2))
337
+ for cnn_len in aftercnn_lens:
338
+ cu_chunk_lens += [window_aftercnn] * (cnn_len // window_aftercnn)
339
+ remainder = cnn_len % window_aftercnn
340
+ if remainder != 0:
341
+ cu_chunk_lens += [remainder]
342
+ cu_seqlens = torch.tensor(cu_chunk_lens, device=aftercnn_lens.device).cumsum(-1, dtype=torch.int32)
343
+
344
+ all_hidden_states = () if output_hidden_states else None
345
+ if output_hidden_states:
346
+ all_hidden_states = (hidden_states,)
347
+
348
+ for layer_idx, encoder_layer in enumerate(self.layers):
349
+ layer_outputs = encoder_layer(
350
+ hidden_states,
351
+ cu_seqlens,
352
+ )
353
+
354
+ hidden_states = layer_outputs[0]
355
+ if output_hidden_states:
356
+ all_hidden_states += (hidden_states,)
357
+
358
+ hidden_states = self.ln_post(hidden_states)
359
+
360
+ if output_hidden_states:
361
+ all_hidden_states += (hidden_states,)
362
+
363
+ if not return_dict:
364
+ return tuple(v for v in [hidden_states, all_hidden_states] if v is not None)
365
+
366
+ return BaseModelOutput(
367
+ last_hidden_state=hidden_states,
368
+ hidden_states=all_hidden_states,
369
+ )
370
+
371
+ def padded_and_mask_function(self, tensor_list, tensor_len, padding_value=0, padding_side="right"):
372
+ """
373
+ Pads a sequence of tensors to their maximum length on indicated `padding_side`.
374
+ Then prepares a mask so that pad tokens are not attended to.
375
+ """
376
+ max_len = tensor_len.max()
377
+ dim = tensor_list[0].shape[0]
378
+ padded_tensor = torch.full(
379
+ size=(len(tensor_list), dim, max_len),
380
+ fill_value=padding_value,
381
+ dtype=self.dtype,
382
+ device=tensor_list[0].device,
383
+ )
384
+
385
+ batch_mask = torch.zeros(
386
+ (len(tensor_len), max_len),
387
+ dtype=torch.long,
388
+ device=padded_tensor.device,
389
+ )
390
+ for i, length in enumerate(tensor_len):
391
+ batch_mask[i, :length] = 1
392
+ padded_tensor[i, :, :length] = tensor_list[i]
393
+
394
+ feature_lens_after_cnn = (tensor_len - 1) // 2 + 1
395
+ max_len_after_cnn = feature_lens_after_cnn.max()
396
+ batch_mask_after_cnn = torch.zeros(
397
+ (len(tensor_len), max_len_after_cnn),
398
+ dtype=torch.long,
399
+ device=padded_tensor.device,
400
+ )
401
+ for i, length in enumerate(feature_lens_after_cnn):
402
+ batch_mask_after_cnn[i, :length] = 1
403
+ return (
404
+ padded_tensor,
405
+ batch_mask.unsqueeze(1),
406
+ batch_mask_after_cnn.bool(),
407
+ )
408
+
409
+
410
+ class Adapter(nn.Module):
411
+ def __init__(
412
+ self,
413
+ d_model: int,
414
+ n_embd: int,
415
+ ):
416
+ super().__init__()
417
+ self.audio_projector = torch.nn.Sequential(
418
+ torch.nn.Linear(d_model, n_embd),
419
+ torch.nn.GELU(),
420
+ torch.nn.Linear(n_embd, n_embd)
421
+ )
422
+
423
+ def forward(self, x: Tensor) -> Tensor:
424
+ x = self.audio_projector(x)
425
+ return x
426
+
427
+
428
+ class UASAudioForCausalLM(PreTrainedModel, GenerationMixin):
429
+ config_class = UASAudioConfig
430
+ main_input_name = "input_ids"
431
+ supports_gradient_checkpointing = True
432
+ def __init__(self, config: UASAudioConfig):
433
+ super().__init__(config)
434
+ if isinstance(config.dtype, str):
435
+ dtype = getattr(torch, config.dtype)
436
+ else:
437
+ dtype = config.dtype
438
+ self.bf16 = dtype == torch.bfloat16
439
+
440
+ self.llm = Qwen2ForCausalLM(config.text_config)
441
+ self.audio_encoder = UASAudioEncoder(config.audio_encoder_config)
442
+
443
+ d_model = config.audio_encoder_config.d_model
444
+
445
+ self.adapter = Adapter(
446
+ d_model,
447
+ config.text_config.hidden_size,
448
+ )
449
+ self.audio_token = config.audio_token
450
+
451
+ if self.bf16:
452
+ self.audio_encoder = self.audio_encoder.bfloat16()
453
+ self.adapter = self.adapter.bfloat16()
454
+
455
+ self.post_init()
456
+
457
+ def forward(
458
+ self,
459
+ input_ids=None,
460
+ attention_mask=None,
461
+ mels=None,
462
+ mel_masks=None,
463
+ past_key_values=None,
464
+ **kwargs
465
+ ):
466
+ # If past_key_values are provided, we are in the generation phase and should not process audio inputs again
467
+ if past_key_values is not None:
468
+ outputs = self.llm(
469
+ input_ids=input_ids,
470
+ attention_mask=attention_mask,
471
+ past_key_values=past_key_values,
472
+ **kwargs
473
+ )
474
+ else:
475
+ # First get the text embeddings for the input_ids, then replace audio token positions with audio embeddings
476
+ hidden_states = self.embedding_with_audio_tokens(input_ids, mels, mel_masks)
477
+ outputs = self.llm(
478
+ inputs_embeds=hidden_states,
479
+ attention_mask=attention_mask,
480
+ past_key_values=None,
481
+ **kwargs
482
+ )
483
+ return outputs
484
+
485
+ def embedding_with_audio_tokens(
486
+ self,
487
+ input_ids,
488
+ mels,
489
+ mel_masks
490
+ ):
491
+ """
492
+ Get input embeddings for the LLM, replacing audio token positions with audio features from the audio encoder.
493
+ """
494
+ hidden_states = self.embeddings(input_ids)
495
+ if mels is None:
496
+ return hidden_states
497
+
498
+ audio_embeddings = self.audio_encoding(mels, mel_masks) # data -> feature
499
+ audio_embeddings = self.adapter(audio_embeddings)
500
+ audio_mask = input_ids == self.audio_token
501
+ hidden_states[audio_mask] = audio_embeddings
502
+ return hidden_states
503
+
504
+ def audio_encoding(
505
+ self,
506
+ audio_features: torch.Tensor,
507
+ audio_features_mask: torch.Tensor,
508
+ output_hidden_states: bool = False
509
+ ):
510
+ """
511
+ Encode audio features into embeddings.
512
+
513
+ Args:
514
+ audio_features: Audio features tensor
515
+ audio_features_mask: Audio features mask
516
+ output_hidden_states: Whether to return hidden states from all encoder layers
517
+
518
+ Returns:
519
+ If output_hidden_states=False: audio_features_encoded tensor
520
+ If output_hidden_states=True: BaseModelOutput with last_hidden_state and hidden_states
521
+ """
522
+ feature_lens = audio_features_mask.sum(-1).long() # [batch_size]
523
+ input_features = audio_features.permute(0, 2, 1)[audio_features_mask.bool()].permute(1, 0)
524
+
525
+ audio_encoder_outputs = self.audio_encoder(
526
+ input_features,
527
+ feature_lens=feature_lens,
528
+ output_hidden_states=output_hidden_states,
529
+ return_dict=output_hidden_states, # Only return dict when we need hidden states
530
+ )
531
+
532
+ if output_hidden_states:
533
+ # When output_hidden_states=True, we get BaseModelOutput
534
+ return audio_encoder_outputs
535
+ else:
536
+ # When output_hidden_states=False, we get tuple (hidden_states, ...)
537
+ # Extract the first element (hidden_states tensor) for backward compatibility
538
+ if isinstance(audio_encoder_outputs, tuple):
539
+ return audio_encoder_outputs[0]
540
+ return audio_encoder_outputs
541
+
542
+ @property
543
+ def embeddings(self):
544
+ """Return the model's input embeddings - required for GenerationMixin"""
545
+ return self.llm.model.embed_tokens
546
+
547
+ def forward_with_detailed_outputs(
548
+ self,
549
+ input_ids=None,
550
+ attention_mask=None,
551
+ mels=None,
552
+ mel_masks=None,
553
+ past_key_values=None,
554
+ output_hidden_states: bool = True,
555
+ **kwargs
556
+ ):
557
+ """
558
+ Forward pass that returns detailed outputs including:
559
+ - Audio encoder final output
560
+ - Audio features after projector (adapter)
561
+ - Text embedding features
562
+ - Hidden states from each layer (separated for audio and text)
563
+
564
+ Args:
565
+ input_ids: Input token ids
566
+ attention_mask: Attention mask
567
+ mels: Audio mel features
568
+ mel_masks: Audio mel masks
569
+ past_key_values: Past key values for generation
570
+ output_hidden_states: Whether to return hidden states from all layers
571
+ **kwargs: Additional arguments
572
+
573
+ Returns:
574
+ dict containing:
575
+ - audio_encoder_output: Final output from audio encoder
576
+ - audio_features_after_adapter: Audio features after projector/adapter
577
+ - text_embeddings: Text embedding features (before audio replacement)
578
+ - audio_encoder_hidden_states: Tuple of hidden states from each audio encoder layer
579
+ - llm_hidden_states: Tuple of hidden states from each LLM layer (mixed audio+text)
580
+ - llm_hidden_states_text_only: Tuple of text-only hidden states from each LLM layer
581
+ - llm_hidden_states_audio_only: Tuple of audio-only hidden states from each LLM layer
582
+ - llm_outputs: Full LLM outputs (CausalLMOutputWithPast)
583
+ """
584
+ # Get text embeddings (pure text, before audio replacement)
585
+ # Save original text embeddings for return (will have audio parts removed)
586
+ text_embeddings_pure = self.embeddings(input_ids)
587
+
588
+ # Process audio if provided
589
+ audio_encoder_output = None
590
+ audio_features_after_adapter = None
591
+ audio_encoder_hidden_states = None
592
+ audio_mask = None
593
+
594
+ # Create embeddings for LLM forward pass (may include audio features)
595
+ input_embeddings_for_llm = text_embeddings_pure.clone()
596
+
597
+ # Identify audio token positions (even if no audio is provided, audio tokens may exist in input_ids)
598
+ audio_mask = input_ids == self.audio_token
599
+
600
+ if mels is not None:
601
+ # Get audio encoder outputs with hidden states
602
+ audio_encoder_outputs = self.audio_encoding(
603
+ mels,
604
+ mel_masks,
605
+ output_hidden_states=output_hidden_states
606
+ )
607
+
608
+ if output_hidden_states:
609
+ audio_encoder_output = audio_encoder_outputs.last_hidden_state
610
+ audio_encoder_hidden_states = audio_encoder_outputs.hidden_states
611
+ else:
612
+ audio_encoder_output = audio_encoder_outputs
613
+ audio_encoder_hidden_states = None
614
+
615
+ # Apply adapter
616
+ audio_features_after_adapter = self.adapter(audio_encoder_output)
617
+
618
+ # Replace audio token positions with audio embeddings in the LLM input
619
+ input_embeddings_for_llm[audio_mask] = audio_features_after_adapter
620
+
621
+ # Remove audio parts from text_embeddings_pure (delete, not set to zero)
622
+ # This ensures returned text_embeddings strictly contains no audio features
623
+ if audio_mask.any():
624
+ # Process each batch separately since audio positions may differ
625
+ batch_size = text_embeddings_pure.shape[0]
626
+ text_embeddings_list = []
627
+
628
+ for i in range(batch_size):
629
+ # Get text-only mask for this batch (inverse of audio_mask)
630
+ text_mask = ~audio_mask[i] # shape: (seq_len,)
631
+ # Extract only text embeddings
632
+ text_emb = text_embeddings_pure[i][text_mask] # shape: (text_seq_len, hidden_size)
633
+ text_embeddings_list.append(text_emb)
634
+
635
+ # Pad sequences to the same length for batching
636
+ # Use the maximum text sequence length across batches
637
+ max_text_len = max(emb.shape[0] for emb in text_embeddings_list) if text_embeddings_list else 0
638
+ if max_text_len > 0:
639
+ hidden_size = text_embeddings_pure.shape[2]
640
+ text_embeddings_pure = torch.zeros(
641
+ (batch_size, max_text_len, hidden_size),
642
+ dtype=text_embeddings_pure.dtype,
643
+ device=text_embeddings_pure.device
644
+ )
645
+ for i, emb in enumerate(text_embeddings_list):
646
+ text_len = emb.shape[0]
647
+ text_embeddings_pure[i, :text_len] = emb
648
+ else:
649
+ # No text embeddings (all are audio tokens)
650
+ hidden_size = text_embeddings_pure.shape[2]
651
+ text_embeddings_pure = torch.zeros(
652
+ (batch_size, 0, hidden_size),
653
+ dtype=text_embeddings_pure.dtype,
654
+ device=text_embeddings_pure.device
655
+ )
656
+ # If no audio tokens, text_embeddings_pure remains unchanged
657
+
658
+ # Forward through LLM
659
+ if past_key_values is not None:
660
+ # Incremental decoding
661
+ llm_outputs = self.llm(
662
+ input_ids=input_ids,
663
+ attention_mask=attention_mask,
664
+ past_key_values=past_key_values,
665
+ output_hidden_states=output_hidden_states,
666
+ return_dict=True,
667
+ **kwargs
668
+ )
669
+ else:
670
+ # First step: use combined embeddings (may include audio features)
671
+ llm_outputs = self.llm(
672
+ inputs_embeds=input_embeddings_for_llm,
673
+ attention_mask=attention_mask,
674
+ past_key_values=None,
675
+ output_hidden_states=output_hidden_states,
676
+ return_dict=True,
677
+ **kwargs
678
+ )
679
+
680
+ # Extract LLM hidden states
681
+ llm_hidden_states = llm_outputs.hidden_states if output_hidden_states else None
682
+
683
+ # Separate audio and text hidden states if audio is present
684
+ llm_hidden_states_text_only = None
685
+ llm_hidden_states_audio_only = None
686
+
687
+ if output_hidden_states and llm_hidden_states is not None and audio_mask is not None:
688
+ # Separate each layer's hidden states into text and audio parts
689
+ llm_hidden_states_text_only = tuple()
690
+ llm_hidden_states_audio_only = tuple()
691
+
692
+ batch_size = llm_hidden_states[0].shape[0]
693
+ hidden_size = llm_hidden_states[0].shape[2]
694
+
695
+ for layer_hidden_states in llm_hidden_states:
696
+ # layer_hidden_states shape: (batch_size, seq_len, hidden_size)
697
+ # audio_mask shape: (batch_size, seq_len)
698
+
699
+ # Process text-only hidden states: delete audio positions, not set to zero
700
+ text_hidden_list = []
701
+ audio_hidden_list = []
702
+
703
+ for i in range(batch_size):
704
+ # Get text-only mask for this batch (inverse of audio_mask)
705
+ text_mask = ~audio_mask[i] # shape: (seq_len,)
706
+ audio_mask_i = audio_mask[i] # shape: (seq_len,)
707
+
708
+ # Extract only text hidden states (delete audio positions)
709
+ text_hidden_i = layer_hidden_states[i][text_mask] # shape: (text_seq_len, hidden_size)
710
+ text_hidden_list.append(text_hidden_i)
711
+
712
+ # Extract only audio hidden states (delete text positions)
713
+ audio_hidden_i = layer_hidden_states[i][audio_mask_i] # shape: (audio_seq_len, hidden_size)
714
+ audio_hidden_list.append(audio_hidden_i)
715
+
716
+ # Pad sequences to the same length for batching
717
+ # Use the maximum text sequence length across batches
718
+ max_text_len = max(emb.shape[0] for emb in text_hidden_list) if text_hidden_list else 0
719
+ max_audio_len = max(emb.shape[0] for emb in audio_hidden_list) if audio_hidden_list else 0
720
+
721
+ if max_text_len > 0:
722
+ text_hidden = torch.zeros(
723
+ (batch_size, max_text_len, hidden_size),
724
+ dtype=layer_hidden_states.dtype,
725
+ device=layer_hidden_states.device
726
+ )
727
+ for i, emb in enumerate(text_hidden_list):
728
+ text_len = emb.shape[0]
729
+ text_hidden[i, :text_len] = emb
730
+ else:
731
+ # No text hidden states (all are audio tokens)
732
+ text_hidden = torch.zeros(
733
+ (batch_size, 0, hidden_size),
734
+ dtype=layer_hidden_states.dtype,
735
+ device=layer_hidden_states.device
736
+ )
737
+
738
+ if max_audio_len > 0:
739
+ audio_hidden = torch.zeros(
740
+ (batch_size, max_audio_len, hidden_size),
741
+ dtype=layer_hidden_states.dtype,
742
+ device=layer_hidden_states.device
743
+ )
744
+ for i, emb in enumerate(audio_hidden_list):
745
+ audio_len = emb.shape[0]
746
+ audio_hidden[i, :audio_len] = emb
747
+ else:
748
+ # No audio hidden states (all are text tokens)
749
+ audio_hidden = torch.zeros(
750
+ (batch_size, 0, hidden_size),
751
+ dtype=layer_hidden_states.dtype,
752
+ device=layer_hidden_states.device
753
+ )
754
+
755
+ llm_hidden_states_text_only += (text_hidden,)
756
+ llm_hidden_states_audio_only += (audio_hidden,)
757
+
758
+ return {
759
+ "audio_encoder_output": audio_encoder_output,
760
+ "audio_features_after_adapter": audio_features_after_adapter,
761
+ "text_embeddings": text_embeddings_pure, # Return text embeddings with audio parts removed
762
+ "audio_encoder_hidden_states": audio_encoder_hidden_states,
763
+ "llm_hidden_states": llm_hidden_states,
764
+ "llm_hidden_states_text_only": llm_hidden_states_text_only,
765
+ "llm_hidden_states_audio_only": llm_hidden_states_audio_only,
766
+ "llm_outputs": llm_outputs,
767
+ }
768
+
769
+ def generate(
770
+ self,
771
+ input_ids,
772
+ attention_mask=None,
773
+ mels=None,
774
+ mel_masks=None,
775
+ generation_config=None,
776
+ **generate_kwargs
777
+ ):
778
+ """
779
+ New implementation of the generate method to support audio inputs.
780
+
781
+ This method will:
782
+ 1. Handle the initial processing of audio inputs;
783
+ 2. Call the underlying LLM's generate method with the appropriate embeddings;
784
+ 3. The incremental decoding will be handled by the LLM's generate method using past_key_values.
785
+ """
786
+ # Process audio inputs and get combined embeddings for the initial step
787
+ input_embeddings = self.embedding_with_audio_tokens(input_ids, mels, mel_masks)
788
+
789
+ # Call the underlying LLM's generate method with inputs_embeds instead of input_ids
790
+ # The LLM's generate method will handle the generation loop.
791
+ # During incremental decoding, it will use past_key_values to avoid re-processing audio inputs.
792
+ outputs = self.llm.generate(
793
+ inputs_embeds=input_embeddings,
794
+ attention_mask=attention_mask,
795
+ generation_config=generation_config,
796
+ use_cache=True,
797
+ **generate_kwargs
798
+ )
799
+
800
+ return outputs
801
+
802
+
803
+ class UASAudioEncoderOnly(PreTrainedModel):
804
+ """
805
+ UASAudio encoder-only model that contains only the audio encoder and adapter.
806
+ Input: audio features
807
+ Output: features processed by encoder and adapter
808
+ """
809
+ config_class = UASAudioEncoderOnlyConfig
810
+ main_input_name = "input_features"
811
+ input_modalities = "audio"
812
+
813
+ def __init__(self, config: UASAudioEncoderOnlyConfig):
814
+ super().__init__(config)
815
+ if isinstance(config.dtype, str):
816
+ dtype = getattr(torch, config.dtype)
817
+ else:
818
+ dtype = getattr(config, "dtype", torch.bfloat16)
819
+ self.bf16 = dtype == torch.bfloat16
820
+
821
+ self.audio_encoder = UASAudioEncoder(config.audio_encoder_config)
822
+
823
+ d_model = config.audio_encoder_config.d_model
824
+
825
+ self.adapter = Adapter(
826
+ d_model,
827
+ config.hidden_size,
828
+ )
829
+
830
+ if self.bf16:
831
+ self.audio_encoder = self.audio_encoder.bfloat16()
832
+ self.adapter = self.adapter.bfloat16()
833
+
834
+ self.post_init()
835
+
836
+ def forward(
837
+ self,
838
+ input_features: torch.Tensor,
839
+ feature_lens: Optional[torch.Tensor] = None,
840
+ **kwargs
841
+ ):
842
+ """
843
+ Forward pass through audio encoder and adapter.
844
+
845
+ Args:
846
+ input_features: Audio features tensor of shape (seq_len, num_mel_bins) or (batch, seq_len, num_mel_bins)
847
+ feature_lens: Optional tensor of shape (batch_size,) indicating the length of each sequence
848
+ **kwargs: Additional arguments passed to audio encoder
849
+
850
+ Returns:
851
+ torch.Tensor: Features processed by encoder and adapter
852
+ """
853
+ # Encode audio features
854
+ audio_features_encoded = self.audio_encoder(
855
+ input_features,
856
+ feature_lens=feature_lens,
857
+ **kwargs
858
+ )
859
+
860
+ # Handle tuple output from encoder (backward compatibility)
861
+ if isinstance(audio_features_encoded, tuple):
862
+ audio_features_encoded = audio_features_encoded[0]
863
+ elif hasattr(audio_features_encoded, "last_hidden_state"):
864
+ audio_features_encoded = audio_features_encoded.last_hidden_state
865
+
866
+ # Apply adapter (projector)
867
+ output_features = self.adapter(audio_features_encoded)
868
+
869
+ return output_features
preprocessor_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "chunk_length": 30,
3
+ "dither": 0.0,
4
+ "feature_extractor_type": "WhisperFeatureExtractor",
5
+ "feature_size": 128,
6
+ "hop_length": 160,
7
+ "n_fft": 400,
8
+ "n_samples": 480000,
9
+ "nb_max_frames": 3000,
10
+ "padding_side": "right",
11
+ "padding_value": 0.0,
12
+ "processor_class": "UASAudioProcessor",
13
+ "return_attention_mask": false,
14
+ "sampling_rate": 16000
15
+ }
special_tokens_map.json ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "additional_special_tokens": [
3
+ "<|begin_of_audio|>",
4
+ "<|end_of_audio|>",
5
+ "<|begin_of_transcription|>",
6
+ "<|end_of_transcription|>"
7
+ ],
8
+ "audio_bos_token": "<|audio_bos|>",
9
+ "audio_eos_token": "<|audio_eos|>",
10
+ "audio_token": "<|AUDIO|>",
11
+ "eos_token": {
12
+ "content": "<|im_end|>",
13
+ "lstrip": false,
14
+ "normalized": false,
15
+ "rstrip": false,
16
+ "single_word": false
17
+ },
18
+ "image_token": "<|IMAGE|>",
19
+ "pad_token": {
20
+ "content": "<|endoftext|>",
21
+ "lstrip": false,
22
+ "normalized": false,
23
+ "rstrip": false,
24
+ "single_word": false
25
+ },
26
+ "video_token": "<|VIDEO|>",
27
+ "vision_bos_token": "<|vision_bos|>",
28
+ "vision_eos_token": "<|vision_eos|>"
29
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8d975563e03e50528046a6dc124556b02c284b5f88974a515d9474383839168a
3
+ size 14557594
tokenizer_config.json ADDED
The diff for this file is too large to render. See raw diff
 
vocab.json ADDED
The diff for this file is too large to render. See raw diff