Skip to content
ModelListedExternal
Browse files

Fun Asr Mlt Nano Onnx Int8

int8 ONNX export of FunAudioLLM/Fun-ASR-MLT-Nano-2512 (≈0.8B, SenseVoice encoder + Qwen3-0.6B LLM decoder), packaged for sherpa-onnx's OfflineRecognizer.fromfunasrnano. Runs on CPU with no PyTorch/transformers at...

KindOtherBase modelFunAudioLLM/Fun-ASR-MLT-Nano-2512VersionRevision 932d7db

Model source

Kind
Other
File size
148–572 MB
Base model
FunAudioLLM/Fun-ASR-MLT-Nano-2512
Version
vRevision 932d7db
Updated
Sep 22, 2026
Downloads
0
Source
Hugging Face

Source description

Fun-ASR-MLT-Nano-2512 — sherpa-onnx (int8)

int8 ONNX export of FunAudioLLM/Fun-ASR-MLT-Nano-2512 (≈0.8B, SenseVoice encoder + Qwen3-0.6B LLM decoder), packaged for sherpa-onnx's OfflineRecognizer.from_funasr_nano. Runs on CPU with no PyTorch/transformers at inference. Covers the 31 languages of the multilingual Fun-ASR-Nano, including Chinese, English, Vietnamese, Indonesian, Thai, Malay, Korean, and more.

Files

filesizepurpose
encoder_adaptor.int8.onnx~238 MBSenseVoice audio encoder + adaptor
embedding.int8.onnx~156 MBtoken embedding
llm.int8.onnx~600 MBQwen3-0.6B decoder
tokenizer/—Qwen3-0.6B tokenizer (vocab / merges / config)

Total ≈ 994 MB.

Usage (Python)

import sherpa_onnx  # pip install sherpa-onnx>=1.13.3

rec = sherpa_onnx.OfflineRecognizer.from_funasr_nano(
    encoder_adaptor="encoder_adaptor.int8.onnx",
    llm="llm.int8.onnx",
    embedding="embedding.int8.onnx",
    tokenizer="tokenizer",
    num_threads=4,
    sample_rate=16000,
    provider="cpu",
    language="",        # "" = auto language id; or a Chinese language name, e.g. 英文 / 印尼语 / 越南语
    max_new_tokens=512,
)
s = rec.create_stream()
s.accept_waveform(16000, audio_float32_mono_16k)  # numpy float32 in [-1, 1]
rec.decode_stream(s)
print(s.result.text)

language="" runs the model's built-in language identification (recommended for mixed / auto-detect audio). To force a language, pass the Chinese language name the model was trained on (e.g. 英文 English, 印尼语 Indonesian, 越南语 Vietnamese) — the string is interpolated into a Chinese instruction prompt, so English names do not work.

Provenance & modifications

  • Base model: FunAudioLLM/Fun-ASR-MLT-Nano-2512 (Apache-2.0).
  • Export tooling: Wasser1462/FunASR-nano-onnx (the pipeline cited by the official sherp-onnx Fun-ASR-Nano model card).
  • Modification: the PyTorch model.pt was exported to ONNX (encoder-adaptor / embedding / LLM) and dynamic int8-quantized; the tokenizer is copied unchanged from the base checkpoint. No fine-tuning or weight changes beyond quantization.

License

Apache-2.0, inherited from the base model. See the LICENSE and NOTICE files in this repo. This is a redistributed derivative work — attribution above.

Sources

1 source
Hugging FacePrimaryVersion 932d7dbb98623bd31314015b3bc0dac0dcf80acc
huggingface.co/luigi000/fun-asr-mlt-nano-onnx-int8/tree/932d7dbb98623bd31314015b3bc0dac0dcf80acc

Verified Sep 22

Download files

Model artifacts

3 artifacts

embedding.int8.onnx

onnx · 148 MB · SHA-256 168a8d201176…f69d · Hugging Face

Download file

encoder_adaptor.int8.onnx

onnx · 227 MB · SHA-256 a10c52d65ec0…47d4 · Hugging Face

Download file

llm.int8.onnx

onnx · 572 MB · SHA-256 61361d839355…8859 · Hugging Face

Download file

Source excerpts

2 excerpts

--- license: apache-2.0 library_name: sherpa-onnx pipeline_tag: automatic-speech-recognition base_model: FunAudioLLM/Fun-ASR-MLT-Nano-2512 tags: - sherpa-onnx - onnx - int8 - fun-asr - speech-recognition - asr language: - zh - en - yue - ja - ko - vi - id - th - ms - ar - hi - pt - pl - cs - da - nl - fi - el - hu - ro - sk - sl - sv --- # Fun-ASR-MLT-Nano-2512 — sherpa-onnx (int8) int8 ONNX export of **[FunAudioLLM/Fun-ASR-MLT-Nano-2512](https://huggingface.co/FunAudioLLM/Fun-ASR-MLT-Nano-2512)** (≈0.8B, SenseVoice encoder + Qwen3-0.6B LLM decoder), packaged for **[sherpa-onnx](https://github.com/k2-fsa/sherpa-onnx)**'s `OfflineRecognizer.from_funasr_nano`. Runs on CPU with no PyTorch/transformers at inference. Covers the 31 languages of the multilingual Fun-ASR-Nano, including Chinese, English, Vietnamese, Indonesian, Thai, Malay, Korean, and more. ## Files | file | size | purpose | |---|---|---| | `encoder_adaptor.int8.onnx` | ~238 MB | SenseVoice audio encoder + adaptor | | `embedding.int8.onnx` | ~156 MB | token embedding | | `llm.int8.onnx` | ~600 MB | Qwen3-0.6B decoder | | `tokenizer/` | — | Qwen3-0.6B tokenizer (vocab / merges / config) | Total ≈ 994 MB. ## Usage (Python) ```python import sherpa_onnx # pip install sherpa-onnx>=1.13.3 rec = sherpa_onnx.OfflineRecognizer.from_funasr_nano( encoder_adaptor="encoder_adaptor.int8.onnx", llm="llm.int8.onnx", embedding="embedding.int8.onnx", tokenizer="tokenizer", num_threads=4, sample_rate=16000, provider="cpu", language="", # "" = auto language id; or a Chinese language name, e.g. 英文 / 印尼语 / 越南语 max_new_tokens=512, ) s = rec.create_stream() s.accept_waveform(16000, audio_float32_mono_16k) # numpy float32 in [-1, 1] rec.decode_stream(s) print(s.result.text) ``` `language=""` runs the model's built-in language identification (recommended for mixed / auto-detect audio). To force a language, pass the **Chinese** language name the model was trained on (e.g. `英文` English, `印尼语` Indonesian, `越南语` Vietnamese) — the string is interpolated into a Chinese instruction prompt, so English names do not work. ## Provenance & modifications - **Base model:** [FunAudioLLM/Fun-ASR-MLT-Nano-2512](https://huggingface.co/FunAudioLLM/Fun-ASR-MLT-Nano-2512) (Apache-2.0). - **Export tooling:** [Wasser1462/FunASR-nano-onnx](https://github.com/Wasser1462/FunASR-nano-onnx) (the pipe...

Source context: 0 downloads · 0 likes · Pipeline automatic-speech-recognition · Library sherpa-onnx · Repo luigi000/fun-asr-mlt-nano-onnx-int8