--- license: apache-2.0 base_model: - FunAudioLLM/Fun-ASR-Nano-GGUF language: - zh - en - ja tags: - coreml - apple-neural-engine - funasr - stet - audio-encoder pipeline_tag: automatic-speech-recognition --- # Fun-ASR Nano ANE encoder for Stet Community Core ML conversion of the **encoder and adaptor only** from [FunAudioLLM/Fun-ASR-Nano-GGUF](https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-GGUF), derived from [Fun-ASR-Nano-2512](https://huggingface.co/FunAudioLLM/Fun-ASR-Nano-2512). This is not a standalone speech recognizer and is not an official FunAudioLLM release. No training or weight fine-tuning was performed. ## Runtime and installation Requires Apple Silicon, macOS 15+ and the compatible [Stet ANE implementation](https://github.com/DengNaichen/Stet/pull/236). The implementation is under review; existing public Stet versions may not support this package. The Qwen3 decoder continues through llama.cpp Metal; the VAD and CPU fallback encoder remain separate existing GGUF downloads. Download this repository, then import its root directory in Stet transcription settings. Stet checks every manifest file and the installed encoder/decoder hashes, compiles the source `.mlpackage` locally, prepares all four length buckets at the final installed path, and activates only when transcription is idle. Keep the standard CPU assets installed. First preparation may take several minutes. The repository intentionally distributes no device-specific `.mlmodelc`. ```sh hf download DanielCCCC1/Fun-ASR-Nano-ANE --local-dir Fun-ASR-Nano-ANE ``` ## Interface Contract: `nano-gguf-ane-v1-buckets`. Matched frame buckets: 64, 128, 256, 512. Inputs: `positioned_features`, `valid_mask`, `attention_bias`. Output: `audio_embeds`, shape `[1, 1024, 1, frames]`. The host owns frontend features, positional encoding, masks and length trimming. The graph is not interchangeable with a SenseVoice CTC encoder. Source package: 468789111 bytes. Per-file sizes and SHA-256 are in `manifest.json`. Supported source encoder SHA-256: `f92f91d01a24fbed6c863495b2ee8c6a6788144a02858b75743f0946668de8a2`. Paired `qwen3-0.6b-q4km.gguf` SHA-256: `cc5057552aa9dddedcda73ea8889854e8a257eb07d0a561b7234465c1e856f22`. Conversion code is pinned to [Stet 8a485b4](https://github.com/DengNaichen/Stet/tree/8a485b448def9d751aaea688be2fbabac3b3b406/scripts/funasr-nano-ane). Export environment: coremltools 9.0, torch 2.15.0, gguf 0.19.0, numpy 2.5.4. The graph uses channel-first projections, depthwise FSMN convolution and per-head attention. Coremltools warned that the torch version was newer than its tested range; real-output and runtime checks were performed after export. ## Validation and limitations Validated on M4 Pro / macOS 27.2. Six short or derived test inputs produced matching CPU/ANE transcripts in the original runtime experiment. The final candidate passed local installation, four-bucket preparation, a Chinese transcript comparison through the unchanged decoder, disable and reprepare; preparation took about 90 seconds. Execution-plan validation requires ANE placement and at least 95% estimated compute cost on ANE when cost estimates are available. A backend configuration label alone is not hardware-placement proof. These are limited engineering checks, not a large-corpus accuracy benchmark. Other chips, the minimum macOS version, GUI installation, long real meetings and broad multilingual accuracy have not completed acceptance testing. Timing depends on device and system caches. This encoder has no independent transcription or speaker-diarization API. The model is published as a candidate for compatible Stet builds, not a claim of universal production readiness. ## License and attribution Upstream model repositories declare Apache-2.0. See `LICENSE` and `NOTICE` for license and conversion attribution. All original model credit belongs to Tongyi Lab / FunAudioLLM and the original model authors. The conversion changes execution format and graph layout; it does not claim authorship of the pretrained weights.