Add files using upload-large-folder tool
Browse files- .gitattributes +3 -0
- LICENSE +202 -0
- NOTICE +24 -0
- README.md +102 -0
- SHA256SUMS +17 -0
- config.json +52 -0
- config.yaml +146 -0
- gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/main.hash +1 -0
- gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/main.mlirb +3 -0
- gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/metadata.json +5 -0
- gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/metadata.json +34 -0
- gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/merges.txt +0 -0
- gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/tokenizer.json +3 -0
- gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/tokenizer_config.json +239 -0
- gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/vocab.json +0 -0
- gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/main.hash +1 -0
- gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/main.mlirb +3 -0
- gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/metadata.json +5 -0
- preprocessor_config.json +26 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ 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 |
+
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
|
LICENSE
ADDED
|
@@ -0,0 +1,202 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
|
| 2 |
+
Apache License
|
| 3 |
+
Version 2.0, January 2004
|
| 4 |
+
http://www.apache.org/licenses/
|
| 5 |
+
|
| 6 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 7 |
+
|
| 8 |
+
1. Definitions.
|
| 9 |
+
|
| 10 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 11 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 12 |
+
|
| 13 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 14 |
+
the copyright owner that is granting the License.
|
| 15 |
+
|
| 16 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 17 |
+
other entities that control, are controlled by, or are under common
|
| 18 |
+
control with that entity. For the purposes of this definition,
|
| 19 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 20 |
+
direction or management of such entity, whether by contract or
|
| 21 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 22 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 23 |
+
|
| 24 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 25 |
+
exercising permissions granted by this License.
|
| 26 |
+
|
| 27 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 28 |
+
including but not limited to software source code, documentation
|
| 29 |
+
source, and configuration files.
|
| 30 |
+
|
| 31 |
+
"Object" form shall mean any form resulting from mechanical
|
| 32 |
+
transformation or translation of a Source form, including but
|
| 33 |
+
not limited to compiled object code, generated documentation,
|
| 34 |
+
and conversions to other media types.
|
| 35 |
+
|
| 36 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 37 |
+
Object form, made available under the License, as indicated by a
|
| 38 |
+
copyright notice that is included in or attached to the work
|
| 39 |
+
(an example is provided in the Appendix below).
|
| 40 |
+
|
| 41 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 42 |
+
form, that is based on (or derived from) the Work and for which the
|
| 43 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 44 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 45 |
+
of this License, Derivative Works shall not include works that remain
|
| 46 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 47 |
+
the Work and Derivative Works thereof.
|
| 48 |
+
|
| 49 |
+
"Contribution" shall mean any work of authorship, including
|
| 50 |
+
the original version of the Work and any modifications or additions
|
| 51 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 52 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 53 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 54 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 55 |
+
means any form of electronic, verbal, or written communication sent
|
| 56 |
+
to the Licensor or its representatives, including but not limited to
|
| 57 |
+
communication on electronic mailing lists, source code control systems,
|
| 58 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 59 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 60 |
+
excluding communication that is conspicuously marked or otherwise
|
| 61 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 62 |
+
|
| 63 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 64 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 65 |
+
subsequently incorporated within the Work.
|
| 66 |
+
|
| 67 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 68 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 69 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 70 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 71 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 72 |
+
Work and such Derivative Works in Source or Object form.
|
| 73 |
+
|
| 74 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 75 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 76 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 77 |
+
(except as stated in this section) patent license to make, have made,
|
| 78 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 79 |
+
where such license applies only to those patent claims licensable
|
| 80 |
+
by such Contributor that are necessarily infringed by their
|
| 81 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 82 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 83 |
+
institute patent litigation against any entity (including a
|
| 84 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 85 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 86 |
+
or contributory patent infringement, then any patent licenses
|
| 87 |
+
granted to You under this License for that Work shall terminate
|
| 88 |
+
as of the date such litigation is filed.
|
| 89 |
+
|
| 90 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 91 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 92 |
+
modifications, and in Source or Object form, provided that You
|
| 93 |
+
meet the following conditions:
|
| 94 |
+
|
| 95 |
+
(a) You must give any other recipients of the Work or
|
| 96 |
+
Derivative Works a copy of this License; and
|
| 97 |
+
|
| 98 |
+
(b) You must cause any modified files to carry prominent notices
|
| 99 |
+
stating that You changed the files; and
|
| 100 |
+
|
| 101 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 102 |
+
that You distribute, all copyright, patent, trademark, and
|
| 103 |
+
attribution notices from the Source form of the Work,
|
| 104 |
+
excluding those notices that do not pertain to any part of
|
| 105 |
+
the Derivative Works; and
|
| 106 |
+
|
| 107 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 108 |
+
distribution, then any Derivative Works that You distribute must
|
| 109 |
+
include a readable copy of the attribution notices contained
|
| 110 |
+
within such NOTICE file, excluding those notices that do not
|
| 111 |
+
pertain to any part of the Derivative Works, in at least one
|
| 112 |
+
of the following places: within a NOTICE text file distributed
|
| 113 |
+
as part of the Derivative Works; within the Source form or
|
| 114 |
+
documentation, if provided along with the Derivative Works; or,
|
| 115 |
+
within a display generated by the Derivative Works, if and
|
| 116 |
+
wherever such third-party notices normally appear. The contents
|
| 117 |
+
of the NOTICE file are for informational purposes only and
|
| 118 |
+
do not modify the License. You may add Your own attribution
|
| 119 |
+
notices within Derivative Works that You distribute, alongside
|
| 120 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 121 |
+
that such additional attribution notices cannot be construed
|
| 122 |
+
as modifying the License.
|
| 123 |
+
|
| 124 |
+
You may add Your own copyright statement to Your modifications and
|
| 125 |
+
may provide additional or different license terms and conditions
|
| 126 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 127 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 128 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 129 |
+
the conditions stated in this License.
|
| 130 |
+
|
| 131 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 132 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 133 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 134 |
+
this License, without any additional terms or conditions.
|
| 135 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 136 |
+
the terms of any separate license agreement you may have executed
|
| 137 |
+
with Licensor regarding such Contributions.
|
| 138 |
+
|
| 139 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 140 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 141 |
+
except as required for reasonable and customary use in describing the
|
| 142 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 143 |
+
|
| 144 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 145 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 146 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 147 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 148 |
+
implied, including, without limitation, any warranties or conditions
|
| 149 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 150 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 151 |
+
appropriateness of using or redistributing the Work and assume any
|
| 152 |
+
risks associated with Your exercise of permissions under this License.
|
| 153 |
+
|
| 154 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 155 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 156 |
+
unless required by applicable law (such as deliberate and grossly
|
| 157 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 158 |
+
liable to You for damages, including any direct, indirect, special,
|
| 159 |
+
incidental, or consequential damages of any character arising as a
|
| 160 |
+
result of this License or out of the use or inability to use the
|
| 161 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 162 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 163 |
+
other commercial damages or losses), even if such Contributor
|
| 164 |
+
has been advised of the possibility of such damages.
|
| 165 |
+
|
| 166 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 167 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 168 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 169 |
+
or other liability obligations and/or rights consistent with this
|
| 170 |
+
License. However, in accepting such obligations, You may act only
|
| 171 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 172 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 173 |
+
defend, and hold each Contributor harmless for any liability
|
| 174 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 175 |
+
of your accepting any such warranty or additional liability.
|
| 176 |
+
|
| 177 |
+
END OF TERMS AND CONDITIONS
|
| 178 |
+
|
| 179 |
+
APPENDIX: How to apply the Apache License to your work.
|
| 180 |
+
|
| 181 |
+
To apply the Apache License to your work, attach the following
|
| 182 |
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
| 183 |
+
replaced with your own identifying information. (Don't include
|
| 184 |
+
the brackets!) The text should be enclosed in the appropriate
|
| 185 |
+
comment syntax for the file format. We also recommend that a
|
| 186 |
+
file or class name and description of purpose be included on the
|
| 187 |
+
same "printed page" as the copyright notice for easier
|
| 188 |
+
identification within third-party archives.
|
| 189 |
+
|
| 190 |
+
Copyright [yyyy] [name of copyright owner]
|
| 191 |
+
|
| 192 |
+
Licensed under the Apache License, Version 2.0 (the "License");
|
| 193 |
+
you may not use this file except in compliance with the License.
|
| 194 |
+
You may obtain a copy of the License at
|
| 195 |
+
|
| 196 |
+
http://www.apache.org/licenses/LICENSE-2.0
|
| 197 |
+
|
| 198 |
+
Unless required by applicable law or agreed to in writing, software
|
| 199 |
+
distributed under the License is distributed on an "AS IS" BASIS,
|
| 200 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
| 201 |
+
See the License for the specific language governing permissions and
|
| 202 |
+
limitations under the License.
|
NOTICE
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Fun-ASR-Nano-2512-CoreAI — NOTICE
|
| 2 |
+
|
| 3 |
+
This repository redistributes, in Apple Core AI `.aimodel` form, the weights of
|
| 4 |
+
FunAudioLLM/Fun-ASR-Nano-2512 (Fun-ASR, Tongyi Lab / Alibaba Group), licensed under the
|
| 5 |
+
Apache License, Version 2.0 (see LICENSE). The upstream model repository declares
|
| 6 |
+
`license: apache-2.0` in its model card and carries no LICENSE file; the LICENSE text here is
|
| 7 |
+
the one shipped by the official vLLM packaging FunAudioLLM/Fun-ASR-Nano-2512-vllm, whose
|
| 8 |
+
`model.safetensors` (sha256 96dfbec48282dd24d3334369a01e9e909f321ee39a1b0003c528c5379f68c1a6)
|
| 9 |
+
is bit-identical to the official `model.pt` (revision 272c57b82523ada6fd87095e955f8e29100979ab)
|
| 10 |
+
and is the source of every tensor converted here.
|
| 11 |
+
|
| 12 |
+
Fun-ASR-Nano's text decoder is a fine-tuned Qwen3-0.6B (Qwen Team, Alibaba Cloud, Apache-2.0);
|
| 13 |
+
its tokenizer files are redistributed unchanged. The audio encoder is the SenseVoice SAN-M
|
| 14 |
+
encoder and adaptor trained by FunAudioLLM. The CTC decoder configured in the upstream
|
| 15 |
+
`config.yaml` has no weights in the released checkpoint and is not part of this port.
|
| 16 |
+
|
| 17 |
+
Conversion: mlboydaisuke (john-rocky), 2026-09. Code, gates and fixtures:
|
| 18 |
+
https://github.com/john-rocky/coreai-model-zoo (conversion/funasr_nano, models/funasr-nano).
|
| 19 |
+
Modifications to the network as exported: fixed-shape re-authoring for 30 s windows; the
|
| 20 |
+
encoder stored in float16 and computed in float32; the decoder's linear weights quantized to
|
| 21 |
+
int8 (per-block 32, symmetric); the decoder's residual stream scaled by 1/4 with the matching
|
| 22 |
+
RMSNorm epsilon (a numerically equivalent transformation that keeps float16 activations in range).
|
| 23 |
+
|
| 24 |
+
Keep this NOTICE together with the LICENSE file when redistributing.
|
README.md
ADDED
|
@@ -0,0 +1,102 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
library_name: coreai
|
| 4 |
+
pipeline_tag: automatic-speech-recognition
|
| 5 |
+
base_model: FunAudioLLM/Fun-ASR-Nano-2512
|
| 6 |
+
language:
|
| 7 |
+
- zh
|
| 8 |
+
- en
|
| 9 |
+
- ja
|
| 10 |
+
- yue
|
| 11 |
+
tags: [core-ai, coreaikit, funasr, fun-asr, sensevoice, san-m, qwen3, asr, speech-recognition, hotwords, on-device, apple]
|
| 12 |
+
base_model_relation: quantized
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
Core AI is Apple's on-device ML runtime in iOS 27 / macOS 27 and the successor to Core ML: PyTorch models are exported with Apple's `coreai-torch` (LLMs: `coreai.llm.export`) into `.aimodel` bundles that run on the GPU or the Neural Engine, e.g. Qwen3-8B 4-bit decodes at 94 tok/s on an M4 Max GPU, MLX 90 under the same protocol ([apple-silicon-llm-bench](https://github.com/john-rocky/apple-silicon-llm-bench), macOS 27 beta, 2026-06).
|
| 16 |
+
|
| 17 |
+
# Fun-ASR-Nano-2512 — Core AI
|
| 18 |
+
|
| 19 |
+
[`FunAudioLLM/Fun-ASR-Nano-2512`](https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512) (Tongyi Lab,
|
| 20 |
+
Apache-2.0, 985M) converted to Apple **Core AI** `.aimodel` bundles: speech-to-text for **Chinese
|
| 21 |
+
(with dialects and accents, Cantonese included), English and Japanese**, punctuation and inverse text
|
| 22 |
+
normalization built in, an optional **hotword list** in the prompt. Encoder + decoder **1.2 GB**.
|
| 23 |
+
|
| 24 |
+
- SenseVoice **SAN-M encoder** (50 + 20 layers, FSMN memory) + 2-block adaptor → `audio_embeds` rows
|
| 25 |
+
- **fine-tuned Qwen3-0.6B** decoder (int8 linears, tied fp16 head), driven by the Core AI high-level
|
| 26 |
+
engine with the audio rows bound as a static input
|
| 27 |
+
- one 30 s window per call (500 LFR frames → 63 audio rows); longer clips are windowed on the host
|
| 28 |
+
|
| 29 |
+
## Numbers (2026-09, macOS 27, M4 Max GPU; fixtures = the 5 upstream `example/*.mp3` + FLEURS test en_us / cmn_hans_cn / ja_jp, 50 each, CC BY 4.0)
|
| 30 |
+
|
| 31 |
+
Oracle = the publisher's `funasr` 1.4.16 in fp32, dither 0, greedy.
|
| 32 |
+
|
| 33 |
+
| | result |
|
| 34 |
+
| --- | --- |
|
| 35 |
+
| end-to-end token agreement with the fp32 oracle, 155 clips | 150/155 exact; the 5 others diverge only where the oracle's own top-2 gap is 0.007–0.033 (knife-edge, runner-up chosen); 0 divergences above the 0.1 floor |
|
| 36 |
+
| WER en / CER zh / CER ja, port vs oracle | 0.34 % / 0.00 % / 0.07 % |
|
| 37 |
+
| WER en / CER zh / CER ja vs FLEURS reference, oracle → port | 5.08 → 5.34 % / 6.86 → 6.86 % / 6.95 → 6.92 % |
|
| 38 |
+
| encoder graph vs oracle (per-row cosine, 155 clips) | mean 0.99999988, min 0.9999982 |
|
| 39 |
+
| Swift host (CoreAIKit) vs the Python engine | identical ids on 155/155 |
|
| 40 |
+
|
| 41 |
+
| speed (CoreAIKit, Release, medians over the 155 clips) | encoder / prefill / decode | RTF median / p90 | first load → later loads |
|
| 42 |
+
| --- | --- | --- | --- |
|
| 43 |
+
| M4 Max, GPU, macOS 27 (26A428) | 40 ms / 123 ms / 2.78 ms per token | 0.022 / 0.028 | 3.6 s → 0.55 s |
|
| 44 |
+
| iPhone 18 Pro, GPU, iOS 27 (24A437), device JIT | 146 ms / 393 ms / 8.2 ms per token | 0.075 / 0.094 | 5.1 s → 0.9 s |
|
| 45 |
+
|
| 46 |
+
On the phone a 13.6 s clip takes 0.91 s (nominal thermal state); two minutes of back-to-back clips
|
| 47 |
+
raise the state to *fair* and the encoder to 225 ms. Peak footprint 385–411 MB. No AOT compile needed.
|
| 48 |
+
|
| 49 |
+
The FLEURS rows are our measurement of the fp32 model and of this port on 50 utterances per language
|
| 50 |
+
under one normalizer; they are not the publisher's benchmark table.
|
| 51 |
+
|
| 52 |
+
## Files
|
| 53 |
+
|
| 54 |
+
```
|
| 55 |
+
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/ decoder: <name>.aimodel + metadata.json + tokenizer/ (759 MB)
|
| 56 |
+
gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/ encoder: funasr_nano_audio_encoder_fp16w32_l500.aimodel (450 MB)
|
| 57 |
+
config.json · config.yaml · preprocessor_config.json the source model's configuration
|
| 58 |
+
LICENSE · NOTICE Apache-2.0 text + attribution
|
| 59 |
+
```
|
| 60 |
+
|
| 61 |
+
Both bundles are JIT `.aimodel`s: macOS and iPhone specialize them on the first load, so one subtree
|
| 62 |
+
serves both platforms. The encoder stores float16 weights and computes in float32 (its `feats` /
|
| 63 |
+
`mask` inputs and `audio_embeds` output are float32). The decoder graph runs its residual stream at
|
| 64 |
+
1/4 with the matching RMSNorm eps (`metadata.json`: `residual_scale`, `rmsnorm_eps_residual`) — an
|
| 65 |
+
exact transformation that keeps the fine-tuned Qwen3's 125k activation at position 0 inside float16.
|
| 66 |
+
|
| 67 |
+
## Host contract
|
| 68 |
+
|
| 69 |
+
```
|
| 70 |
+
wav 16 kHz mono → kaldi fbank 80 (hamming 25/10 ms, pre-emphasis 0.97, DC removal, ×32768, log floor FLT_EPSILON,
|
| 71 |
+
dither 0) → LFR 7/6 → feats[L,560], zero-padded to [1,500,560] + mask[1,500]
|
| 72 |
+
encoder → audio_embeds[63,1024]; keep rows [:N], N = ceil(L/8)
|
| 73 |
+
prompt ids = enc("<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n<|im_start|>user\n语音转写:") (18 ids)
|
| 74 |
+
+ N ids of 151936 + slot
|
| 75 |
+
+ enc("<|im_end|>\n<|im_start|>assistant\n") (5 ids)
|
| 76 |
+
greedy to EOS (151645 or 151643), ≤ 512 tokens; text = decode(skip_special_tokens), "/sil" → " ", spaces collapsed
|
| 77 |
+
hotwords: prepend "请结合上下文信息,更加准确地完成语音转写任务。如果没有相关信息,我们会留空。\n\n\n**上下文信息:**\n\n\n热词列表:[a, b]\n"
|
| 78 |
+
language: "语音转写成{中���|英文|日文}:" itn off: "语音转写,不进行文本规整:"
|
| 79 |
+
```
|
| 80 |
+
|
| 81 |
+
## Use it (CoreAIKit)
|
| 82 |
+
|
| 83 |
+
```swift
|
| 84 |
+
import CoreAIKit
|
| 85 |
+
|
| 86 |
+
let asr = try await KitFunASRModel(catalog: "fun-asr-nano-2512") // downloads this repo
|
| 87 |
+
let samples = try AudioFile.pcm16kMono(url)
|
| 88 |
+
let result = try await asr.transcribe(samples: samples) // result.text
|
| 89 |
+
let biased = try await asr.transcribe(samples: samples, hotwords: ["开放时间"])
|
| 90 |
+
```
|
| 91 |
+
|
| 92 |
+
Conversion code, oracle, fixtures and gates: [coreai-model-zoo `conversion/funasr_nano`](https://github.com/john-rocky/coreai-model-zoo/tree/main/conversion/funasr_nano);
|
| 93 |
+
card with the lessons: [`models/funasr-nano`](https://github.com/john-rocky/coreai-model-zoo/blob/main/models/funasr-nano/README.md).
|
| 94 |
+
Other runtimes for this model: MLX (`mlx-community/Fun-ASR-Nano-2512-*`), ONNX / sherpa-onnx
|
| 95 |
+
(`csukuangfj/*funasr-nano*`), GGUF (`FunAudioLLM/Fun-ASR-Nano-GGUF`, FunASR's llama.cpp runtime).
|
| 96 |
+
|
| 97 |
+
## License
|
| 98 |
+
|
| 99 |
+
Apache-2.0 (the source model's card states it; the LICENSE text is the one the official vLLM packaging
|
| 100 |
+
`FunAudioLLM/Fun-ASR-Nano-2512-vllm` ships, whose weights are bit-identical to the official `model.pt`).
|
| 101 |
+
See NOTICE for attribution. The CTC decoder configured upstream has no weights in the released
|
| 102 |
+
checkpoint, so this port has no timestamps.
|
SHA256SUMS
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
|
| 2 |
+
109b815cc321ff586c7f200ef1c422f815479e10808fe871991d900618db074d NOTICE
|
| 3 |
+
174cf936286a0ef87aa3ef7f298e7e7d11577f8896197b0a0a0ad2d0dd4f749f README.md
|
| 4 |
+
5e72ae4baf304d65bfdf0e779be19817a71f7d65441b096f1dcff377c63ed0e5 config.json
|
| 5 |
+
daed38ea6484f5650fb32cbd9069b9aa13880acaf2bcb1f0bf4be2712837917c config.yaml
|
| 6 |
+
03145e0e6a5acf56013efc28cd05795c17fee94830e3a60e321d5b8ac0e97499 gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/main.hash
|
| 7 |
+
ad095a47cde231bf361ba7d68b01b04dfaa6b3910865cfa383e92703305b1c44 gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/main.mlirb
|
| 8 |
+
eac287cb703d251798047936b701e506e3e4da56480fd60c44758f6c9e0746df gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/metadata.json
|
| 9 |
+
caaf6ba7875b75a18a6b5c754f10af9350ad056e12f0ffa7b78a6a93a30f5cae gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/metadata.json
|
| 10 |
+
8831e4f1a044471340f7c0a83d7bd71306a5b867e95fd870f74d0c5308a904d5 gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/merges.txt
|
| 11 |
+
aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4 gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/tokenizer.json
|
| 12 |
+
d5d09f07b48c3086c508b30d1c9114bd1189145b74e982a265350c923acd8101 gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/tokenizer_config.json
|
| 13 |
+
ca10d7e9fb3ed18575dd1e277a2579c16d108e32f27439684afa0e10b1440910 gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/vocab.json
|
| 14 |
+
7828e38467fdb422bf30229aaae2c8e1dd3f970f59b4b7778d2193c2377c14f3 gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/main.hash
|
| 15 |
+
4dca147e26e7c52e6fe243c09ccfc9dd5b5323a175313496cb986405565c27e6 gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/main.mlirb
|
| 16 |
+
e81000cca306dfbc8d186cd49b2b5e29072f659627ea65c5cf7709ca70ccec5f gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/metadata.json
|
| 17 |
+
007aac6d52b5ecf5e75052330489138a6a8940d68cf3e9723c502e8093ab1b38 preprocessor_config.json
|
config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"FunASRForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
+
"eos_token_id": 151645,
|
| 9 |
+
"head_dim": 128,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 1024,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 3072,
|
| 14 |
+
"max_position_embeddings": 40960,
|
| 15 |
+
"max_window_layers": 28,
|
| 16 |
+
"model_type": "qwen3",
|
| 17 |
+
"num_attention_heads": 16,
|
| 18 |
+
"num_hidden_layers": 28,
|
| 19 |
+
"num_key_value_heads": 8,
|
| 20 |
+
"rms_norm_eps": 1e-06,
|
| 21 |
+
"rope_scaling": null,
|
| 22 |
+
"rope_theta": 1000000,
|
| 23 |
+
"sliding_window": null,
|
| 24 |
+
"tie_word_embeddings": true,
|
| 25 |
+
"torch_dtype": "bfloat16",
|
| 26 |
+
"transformers_version": "4.51.0",
|
| 27 |
+
"use_cache": true,
|
| 28 |
+
"use_sliding_window": false,
|
| 29 |
+
"vocab_size": 151936,
|
| 30 |
+
"max_source_positions": 1500,
|
| 31 |
+
"decoder_start_token_id": 99999,
|
| 32 |
+
"audio_encoder": "SenseVoiceEncoderSmall",
|
| 33 |
+
"audio_encoder_conf": {
|
| 34 |
+
"output_size": 512,
|
| 35 |
+
"attention_heads": 4,
|
| 36 |
+
"linear_units": 2048,
|
| 37 |
+
"num_blocks": 50,
|
| 38 |
+
"tp_blocks": 20,
|
| 39 |
+
"dropout_rate": 0.1,
|
| 40 |
+
"positional_dropout_rate": 0.1,
|
| 41 |
+
"attention_dropout_rate": 0.1,
|
| 42 |
+
"input_layer": "pe",
|
| 43 |
+
"pos_enc_class": "SinusoidalPositionEncoder",
|
| 44 |
+
"normalize_before": true,
|
| 45 |
+
"kernel_size": 11,
|
| 46 |
+
"sanm_shfit": 0,
|
| 47 |
+
"selfattention_layer_type": "sanm",
|
| 48 |
+
"freeze": true,
|
| 49 |
+
"freeze_layer_num": -1,
|
| 50 |
+
"feat_permute": true
|
| 51 |
+
}
|
| 52 |
+
}
|
config.yaml
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
model: FunASRNano
|
| 2 |
+
model_conf:
|
| 3 |
+
lsm_weight: 0.1
|
| 4 |
+
length_normalized_loss: true
|
| 5 |
+
audio_encoder: SenseVoiceEncoderSmall
|
| 6 |
+
audio_encoder_conf:
|
| 7 |
+
output_size: 512
|
| 8 |
+
attention_heads: 4
|
| 9 |
+
linear_units: 2048
|
| 10 |
+
num_blocks: 50
|
| 11 |
+
tp_blocks: 20
|
| 12 |
+
dropout_rate: 0.1
|
| 13 |
+
positional_dropout_rate: 0.1
|
| 14 |
+
attention_dropout_rate: 0.1
|
| 15 |
+
input_layer: pe
|
| 16 |
+
pos_enc_class: SinusoidalPositionEncoder
|
| 17 |
+
normalize_before: true
|
| 18 |
+
kernel_size: 11
|
| 19 |
+
sanm_shfit: 0
|
| 20 |
+
selfattention_layer_type: sanm
|
| 21 |
+
freeze: true
|
| 22 |
+
freeze_layer_num: -1
|
| 23 |
+
feat_permute: true
|
| 24 |
+
llm: Qwen3-0.6b
|
| 25 |
+
llm_conf:
|
| 26 |
+
hub: hf
|
| 27 |
+
freeze: true
|
| 28 |
+
llm_dtype: bf16
|
| 29 |
+
init_param_path: Qwen3-0.6B
|
| 30 |
+
use_lora: false
|
| 31 |
+
lora_conf:
|
| 32 |
+
freeze_lora: true
|
| 33 |
+
task_type: CAUSAL_LM
|
| 34 |
+
r: 16
|
| 35 |
+
lora_alpha: 32
|
| 36 |
+
lora_dropout: 0.05
|
| 37 |
+
bias: none
|
| 38 |
+
target_modules:
|
| 39 |
+
- q_proj
|
| 40 |
+
- v_proj
|
| 41 |
+
init_param_path: ""
|
| 42 |
+
audio_adaptor: Transformer
|
| 43 |
+
audio_adaptor_conf:
|
| 44 |
+
downsample_rate: 1
|
| 45 |
+
use_low_frame_rate: true
|
| 46 |
+
ffn_dim: 2048
|
| 47 |
+
llm_dim: 1024
|
| 48 |
+
encoder_dim: 512
|
| 49 |
+
n_layer: 2
|
| 50 |
+
freeze: true
|
| 51 |
+
ctc_decoder: Transformer
|
| 52 |
+
detach_ctc_decoder: true
|
| 53 |
+
ctc_decoder_conf:
|
| 54 |
+
downsample_rate: 1
|
| 55 |
+
ffn_dim: 2048
|
| 56 |
+
llm_dim: 512
|
| 57 |
+
encoder_dim: 512
|
| 58 |
+
n_layer: 5
|
| 59 |
+
freeze: false
|
| 60 |
+
ctc_weight: 1.0
|
| 61 |
+
ctc_conf:
|
| 62 |
+
dropout_rate: 0.0
|
| 63 |
+
ctc_type: builtin
|
| 64 |
+
reduce: true
|
| 65 |
+
ignore_nan_grad: true
|
| 66 |
+
frontend: WavFrontend
|
| 67 |
+
frontend_conf:
|
| 68 |
+
fs: 16000
|
| 69 |
+
window: hamming
|
| 70 |
+
n_mels: 80
|
| 71 |
+
frame_length: 25
|
| 72 |
+
frame_shift: 10
|
| 73 |
+
lfr_m: 7
|
| 74 |
+
lfr_n: 6
|
| 75 |
+
cmvn_file: null
|
| 76 |
+
train_conf:
|
| 77 |
+
use_lora: ${llm_conf.use_lora}
|
| 78 |
+
accum_grad: 1
|
| 79 |
+
grad_clip: 5
|
| 80 |
+
max_epoch: 2
|
| 81 |
+
keep_nbest_models: 200
|
| 82 |
+
log_interval: 100
|
| 83 |
+
effective_save_name_excludes:
|
| 84 |
+
- llm.
|
| 85 |
+
resume: true
|
| 86 |
+
validate_interval: 2000
|
| 87 |
+
save_checkpoint_interval: 2000
|
| 88 |
+
avg_nbest_model: 100
|
| 89 |
+
use_bf16: false
|
| 90 |
+
use_deepspeed: true
|
| 91 |
+
deepspeed_config: null
|
| 92 |
+
save_init_model: false
|
| 93 |
+
optim: adamw
|
| 94 |
+
optim_conf:
|
| 95 |
+
lr: 5.0e-06
|
| 96 |
+
weight_decay: 0.0
|
| 97 |
+
scheduler: warmuplr
|
| 98 |
+
scheduler_conf:
|
| 99 |
+
warmup_steps: 2500
|
| 100 |
+
dataset: FunASR
|
| 101 |
+
dataset_conf:
|
| 102 |
+
index_ds: FunASR
|
| 103 |
+
batch_sampler: BatchSampler
|
| 104 |
+
batch_type: token
|
| 105 |
+
batch_size: 6000
|
| 106 |
+
max_token_length: 3500
|
| 107 |
+
shuffle: true
|
| 108 |
+
sort_size: 1024
|
| 109 |
+
batch_size_scale_ratio_max: 2
|
| 110 |
+
num_workers: 4
|
| 111 |
+
audio_adaptor_downsample_rate: ${audio_adaptor_conf.downsample_rate}
|
| 112 |
+
audio_encoder_downsample_rate: 6
|
| 113 |
+
data_split_num: 256
|
| 114 |
+
batch_size_sample_max: 10
|
| 115 |
+
retry: 2000
|
| 116 |
+
batch_size_token_max: 6000
|
| 117 |
+
max_source_length: 12000
|
| 118 |
+
max_target_length: 2048
|
| 119 |
+
prompt_classes: MultiContextPrompt
|
| 120 |
+
prompt_conf:
|
| 121 |
+
max_neg_hotwords_num: 0
|
| 122 |
+
min_neg_hotwords_num: 0
|
| 123 |
+
use_hist: false
|
| 124 |
+
use_one_pass_result: true
|
| 125 |
+
use_hotwords: true
|
| 126 |
+
use_asr_hotwords: true
|
| 127 |
+
chinese_hotwords_list: null
|
| 128 |
+
english_hotwords_list: null
|
| 129 |
+
ctc_tokenizer: SenseVoiceTokenizer
|
| 130 |
+
ctc_target_normalize: true
|
| 131 |
+
ctc_tokenizer_conf:
|
| 132 |
+
vocab_path: null
|
| 133 |
+
is_multilingual: true
|
| 134 |
+
num_languages: 8749
|
| 135 |
+
min_source_length: 10
|
| 136 |
+
batch_size_scale_threshold: 3000
|
| 137 |
+
use_dynamic_output_ratio: 0.0
|
| 138 |
+
tokenizer: HuggingfaceTokenizer
|
| 139 |
+
tokenizer_conf:
|
| 140 |
+
init_param_path: ${llm_conf.init_param_path}
|
| 141 |
+
enable_tf32: true
|
| 142 |
+
debug: false
|
| 143 |
+
train_data_set_list: null
|
| 144 |
+
valid_data_set_list: null
|
| 145 |
+
init_param: null
|
| 146 |
+
output_dir: null
|
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/main.hash
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
� ZG��1�6��M����eϣ��'0[D
|
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/main.mlirb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ad095a47cde231bf361ba7d68b01b04dfaa6b3910865cfa383e92703305b1c44
|
| 3 |
+
size 779795838
|
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/funasr_nano_2512_decode_int8lin_n63_s1.aimodel/metadata.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"producer" : "coreai-core 1.0.0b2",
|
| 3 |
+
"creationDate" : "20260926T163039Z",
|
| 4 |
+
"assetVersion" : "2.0"
|
| 5 |
+
}
|
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/metadata.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata_version": "0.2",
|
| 3 |
+
"kind": "llm",
|
| 4 |
+
"name": "funasr_nano_2512_decode_int8lin_n63_s1",
|
| 5 |
+
"assets": {
|
| 6 |
+
"main": "funasr_nano_2512_decode_int8lin_n63_s1.aimodel"
|
| 7 |
+
},
|
| 8 |
+
"language": {
|
| 9 |
+
"tokenizer": "FunAudioLLM/Fun-ASR-Nano-2512",
|
| 10 |
+
"vocab_size": 151936,
|
| 11 |
+
"max_context_length": 4096,
|
| 12 |
+
"embedded_tokenizer": true,
|
| 13 |
+
"function_map": {
|
| 14 |
+
"main": [
|
| 15 |
+
"main"
|
| 16 |
+
]
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"source": {
|
| 20 |
+
"model_definition": "torch",
|
| 21 |
+
"hf_model_id": "FunAudioLLM/Fun-ASR-Nano-2512",
|
| 22 |
+
"hf_revision": "272c57b82523ada6fd87095e955f8e29100979ab",
|
| 23 |
+
"weights": "FunAudioLLM/Fun-ASR-Nano-2512-vllm@a4362c943d48951f98ca2a62181cc028970270c5 model.safetensors (bit-identical to the official model.pt), llm.* tensors"
|
| 24 |
+
},
|
| 25 |
+
"compression": {
|
| 26 |
+
"scheme": "int8lin"
|
| 27 |
+
},
|
| 28 |
+
"residual_scale": 0.25,
|
| 29 |
+
"rmsnorm_eps_residual": 6.25e-08,
|
| 30 |
+
"compilation": {
|
| 31 |
+
"date": "2026-09-26T16:30:39.942675+00:00",
|
| 32 |
+
"targets": []
|
| 33 |
+
}
|
| 34 |
+
}
|
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"chat_template": "{%- if tools %}\n {{- '<|im_start|>system\\n' }}\n {%- if messages[0].role == 'system' %}\n {{- messages[0].content + '\\n\\n' }}\n {%- endif %}\n {{- \"# Tools\\n\\nYou may call one or more functions to assist with the user query.\\n\\nYou are provided with function signatures within <tools></tools> XML tags:\\n<tools>\" }}\n {%- for tool in tools %}\n {{- \"\\n\" }}\n {{- tool | tojson }}\n {%- endfor %}\n {{- \"\\n</tools>\\n\\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\\n<tool_call>\\n{\\\"name\\\": <function-name>, \\\"arguments\\\": <args-json-object>}\\n</tool_call><|im_end|>\\n\" }}\n{%- else %}\n {%- if messages[0].role == 'system' %}\n {{- '<|im_start|>system\\n' + messages[0].content + '<|im_end|>\\n' }}\n {%- endif %}\n{%- endif %}\n{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}\n{%- for message in messages[::-1] %}\n {%- set index = (messages|length - 1) - loop.index0 %}\n {%- if ns.multi_step_tool and message.role == \"user\" and message.content is string and not(message.content.startswith('<tool_response>') and message.content.endswith('</tool_response>')) %}\n {%- set ns.multi_step_tool = false %}\n {%- set ns.last_query_index = index %}\n {%- endif %}\n{%- endfor %}\n{%- for message in messages %}\n {%- if message.content is string %}\n {%- set content = message.content %}\n {%- else %}\n {%- set content = '' %}\n {%- endif %}\n {%- if (message.role == \"user\") or (message.role == \"system\" and not loop.first) %}\n {{- '<|im_start|>' + message.role + '\\n' + content + '<|im_end|>' + '\\n' }}\n {%- elif message.role == \"assistant\" %}\n {%- set reasoning_content = '' %}\n {%- if message.reasoning_content is string %}\n {%- set reasoning_content = message.reasoning_content %}\n {%- else %}\n {%- if '</think>' in content %}\n {%- set reasoning_content = content.split('</think>')[0].rstrip('\\n').split('<think>')[-1].lstrip('\\n') %}\n {%- set content = content.split('</think>')[-1].lstrip('\\n') %}\n {%- endif %}\n {%- endif %}\n {%- if loop.index0 > ns.last_query_index %}\n {%- if loop.last or (not loop.last and reasoning_content) %}\n {{- '<|im_start|>' + message.role + '\\n<think>\\n' + reasoning_content.strip('\\n') + '\\n</think>\\n\\n' + content.lstrip('\\n') }}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- else %}\n {{- '<|im_start|>' + message.role + '\\n' + content }}\n {%- endif %}\n {%- if message.tool_calls %}\n {%- for tool_call in message.tool_calls %}\n {%- if (loop.first and content) or (not loop.first) %}\n {{- '\\n' }}\n {%- endif %}\n {%- if tool_call.function %}\n {%- set tool_call = tool_call.function %}\n {%- endif %}\n {{- '<tool_call>\\n{\"name\": \"' }}\n {{- tool_call.name }}\n {{- '\", \"arguments\": ' }}\n {%- if tool_call.arguments is string %}\n {{- tool_call.arguments }}\n {%- else %}\n {{- tool_call.arguments | tojson }}\n {%- endif %}\n {{- '}\\n</tool_call>' }}\n {%- endfor %}\n {%- endif %}\n {{- '<|im_end|>\\n' }}\n {%- elif message.role == \"tool\" %}\n {%- if loop.first or (messages[loop.index0 - 1].role != \"tool\") %}\n {{- '<|im_start|>user' }}\n {%- endif %}\n {{- '\\n<tool_response>\\n' }}\n {{- content }}\n {{- '\\n</tool_response>' }}\n {%- if loop.last or (messages[loop.index0 + 1].role != \"tool\") %}\n {{- '<|im_end|>\\n' }}\n {%- endif %}\n {%- endif %}\n{%- endfor %}\n{%- if add_generation_prompt %}\n {{- '<|im_start|>assistant\\n' }}\n {%- if enable_thinking is defined and enable_thinking is false %}\n {{- '<think>\\n\\n</think>\\n\\n' }}\n {%- endif %}\n{%- endif %}",
|
| 231 |
+
"clean_up_tokenization_spaces": false,
|
| 232 |
+
"eos_token": "<|im_end|>",
|
| 233 |
+
"errors": "replace",
|
| 234 |
+
"model_max_length": 131072,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|
gpu-pipelined/funasr_nano_2512_decode_int8lin_n63_s1/tokenizer/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/main.hash
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
M�~&��.o�C�����[S#�u14�˘dV\'�
|
gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/main.mlirb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4dca147e26e7c52e6fe243c09ccfc9dd5b5323a175313496cb986405565c27e6
|
| 3 |
+
size 471485524
|
gpu-pipelined/funasr_nano_audio_encoder_fp16w32_l500/funasr_nano_audio_encoder_fp16w32_l500.aimodel/metadata.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"creationDate" : "20260926T162153Z",
|
| 3 |
+
"assetVersion" : "2.0",
|
| 4 |
+
"producer" : "coreai-core 1.0.0b2"
|
| 5 |
+
}
|
preprocessor_config.json
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"chunk_length": 30,
|
| 3 |
+
"feature_extractor_type": "FunASRFeatureExtractor",
|
| 4 |
+
"feature_size": 80,
|
| 5 |
+
"hop_length": 160,
|
| 6 |
+
"n_fft": 400,
|
| 7 |
+
"n_samples": 480000,
|
| 8 |
+
"nb_max_frames": 3000,
|
| 9 |
+
"padding_side": "right",
|
| 10 |
+
"padding_value": 0.0,
|
| 11 |
+
"processor_class": "FunASRProcessor",
|
| 12 |
+
"return_attention_mask": false,
|
| 13 |
+
"sampling_rate": 16000,
|
| 14 |
+
"frontend": "WavFrontend",
|
| 15 |
+
"frontend_conf":{
|
| 16 |
+
"fs": 16000,
|
| 17 |
+
"window": "hamming",
|
| 18 |
+
"n_mels": 80,
|
| 19 |
+
"frame_length": 25,
|
| 20 |
+
"frame_shift": 10,
|
| 21 |
+
"lfr_m": 7,
|
| 22 |
+
"lfr_n": 6,
|
| 23 |
+
"cmvn_file": null
|
| 24 |
+
}
|
| 25 |
+
}
|
| 26 |
+
|