Audio8-ASR-0.1B ONNX Runtime is a self-contained local inference package for
multilingual automatic speech recognition. It includes ONNX Runtime inference code,
a browser UI, a local HTTP API, tokenizer/config files, and decoder/audio-head
precision variants.
The model is a multilingual ASR model with support for English, Chinese,
Cantonese, French, Japanese, German, and Korean.
This repository does not require the original training repository or a separate
source checkpoint at runtime. Everything needed for CPU ONNX inference is in
model_bundle/.
This repository is intended to be used through the included ONNX Runtime code.
It is not a Transformers AutoModel source release.
The root config.json is included for Hugging Face Hub metadata and download
accounting. Runtime graph metadata is stored in model_bundle/metadata.json.
Audio8-ASR-0.1B-iOS-ANE: iPhone-ready, out-of-the-box ASR demo and Swift SDK. The demo is designed to keep runtime memory footprint around 200 MB on device.
The default runtime path is decoder int8 plus audio tower int8. Decoder
int4 is included for lower peak memory, while decoder fp32 is included as a
full-precision reference path.
hotword: hotword tokenization/boost metadata when hotwords are enabled, otherwise null.
Hotwords
Hotwords are an opt-in decode-time feature. They do not change model weights,
ONNX graphs, or the prompt. The runtime tokenizes each hotword with the bundled
tokenizer, builds a prefix trie, and adds a top-k gated logit boost during
decoding. If no hotwords are provided, the decode path is unchanged except that
the response includes "hotword": null.
The WebUI exposes two hotword strength levels:
Normal: default logit boost.
Strong: stronger biasing for difficult names or rare terms.
Strong hotword biasing may force incorrect hotwords, hallucinate, or repeat
text. Use it only when the target terms are known in advance.
Audio longer than 30 seconds is truncated by the runtime bundle metadata.
Cached decoder context is capped at 512 total tokens. If prompt audio tokens
plus max_new_tokens exceed that limit, the runtime raises an error.
CPU ONNX Runtime is the verified default path. GPU use requires installing a
compatible ONNX Runtime GPU package and selecting an available provider.
License
This project is released under the Creative Commons Attribution-NonCommercial
4.0 International License (CC BY-NC 4.0). Commercial use is not permitted under
this license. See LICENSE.
Notes
requirements-onnx.txt is pinned for reproducible local behavior.
Runtime audio loading tries librosa.load first for consistent decoding.
run_local.sh sets NO_PROXY/no_proxy for localhost inside the service
process only; it does not change system proxy settings.
Browser recording uploads WAV/RIFF audio. The UI records PCM with Web Audio,
waits a short flush after Stop, then appends silence before encoding WAV.
The UI memory panels report process RSS for CPU ONNX inference. Peak RSS is
the service high-water mark; Request Peak is the latest request peak.