Skip to page content
SAVRN
Search Plan a project

Open-weight model · Speech recognition

qwen3-asr-1.7b-sherpa-onnx-int8-4096

by Shige Dondon shigedonsan/qwen3-asr-1.7b-sherpa-onnx-int8-4096

qwen3-asr-1.7b-sherpa-onnx-int8-4096 is an open-weight model for speech recognition from Shige Dondon, released under Apache License 2.0. Its published files total 4.7 GB.

A Windows x64 CPU package for offline transcription with sherpa-onnx. The decoder has a statically exported 4096-position KV cache.

Parameters—
Context—
Weights55.5 MB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Model Card

By Shige Dondon, published under apache-2.0, revision d1ad983c72c9.

A Windows x64 CPU package for offline transcription with sherpa-onnx. The decoder has a statically exported 4096-position KV cache. It uses a mixed INT8/FP32 decoder and retains the matching FP16 encoder and convolution frontend from the pinned sherpa-compatible ONNX export. - maxtotallen: 4096; tested maxnewtokens: 1024 The encoder is kept FP16 because the compatible INT8 encoder from a separate 512-context export substantially reduced Japanese recognition quality in a controlled comparison. On the same FLEURS Japanese sample, the mixed decoder with the FP16 encoder measured 8.2% character error rate (CER), compared with 5.5% for the all-FP16 source and 22.7% when using that separate INT8…

Read Shige Dondon's full model card

Qwen3-ASR 1.7B for sherpa-onnx — 4096 context

A Windows x64 CPU package for offline transcription with sherpa-onnx. The decoder has a statically exported 4096-position KV cache. It uses a mixed INT8/FP32 decoder and retains the matching FP16 encoder and convolution frontend from the pinned sherpa-compatible ONNX export.

Model provenance

  • Base model: Qwen/Qwen3-ASR-1.7B, revision 7278e1e70fe206f11671096ffdd38061171dd6e5
  • Official Qwen3-ASR implementation: QwenLM/Qwen3-ASR, revision 7c6daf77a2421100f5fb066495372c00129d39ff
  • sherpa-compatible ONNX source: luigi000/qwen3-asr-1.7b-onnx-fp16, revision 90c70bc1dfce2456bc0bcdc286ffc2eaff2d7e8b
  • Source conversion pipeline: Wasser1462/Qwen3-ASR-onnx, revision 0829a577ee741e408e65763dfe01ff4fe75408e9
  • Runtime used for validation: sherpa-onnx 1.13.8, ONNX Runtime CPU provider
  • Encoder and convolution frontend: FP16 from the pinned ONNX source
  • Decoder: dynamic INT8 weights for eligible MatMul/Gemm nodes; Q/K/V/O self-attention projections, normalization, logits, activations and KV cache remain FP32
  • max_total_len: 4096; tested max_new_tokens: 1024

The encoder is kept FP16 because the compatible INT8 encoder from a separate 512-context export substantially reduced Japanese recognition quality in a controlled comparison. On the same FLEURS Japanese sample, the mixed decoder with the FP16 encoder measured 8.2% character error rate (CER), compared with 5.5% for the all-FP16 source and 22.7% when using that separate INT8 encoder. This is one 22.62-second sample, not a broad accuracy guarantee.

Files and usage

manifest.json gives byte sizes and SHA-256 checksums for every model and tokenizer file. Keep each ONNX external-data file beside its graph: encoder.onnx.data beside encoder.onnx, and decoder.int8.onnx.data beside decoder.int8.onnx.

import sherpa_onnx

recognizer = sherpa_onnx.OfflineRecognizer.from_qwen3_asr(
    conv_frontend="conv_frontend.onnx",
    encoder="encoder.onnx",
    decoder="decoder.int8.onnx",
    tokenizer="tokenizer",
    provider="cpu",
    num_threads=4,
    max_total_len=4096,
    max_new_tokens=1024,
)
stream = recognizer.create_stream()
stream.accept_waveform(16000, audio_float32_mono)
recognizer.decode_stream(stream)
print(stream.result.text)

Optional per-stream Qwen3-ASR context:

stream.set_option("hotwords", "F5,BIG-IP,Kubernetes,OpenShift")

The system prompt, hotwords, audio tokens and generated output share the context budget. Long hotword lists can consume the available prompt space. sherpa-onnx reports when the prompt exceeds the configured cap or when generation reaches its token limit.

CPU and context behavior

The validated Japanese run used 8 CPU threads on a Windows x64 host. For the 22.62-second FLEURS sample, decode took 14.52 seconds (RTF 0.642). Process RSS peaked at about 5.57 GiB. Your speed and memory use depend on CPU, sherpa-onnx build, thread count, audio duration and concurrent streams.

The decoder has 28 layers, 8 KV heads and 128 dimensions per head. Its FP32 key/value cache uses about 896 MiB for one 4096-position stream. The cache is part of the exported decoder graph; lowering sherpa-onnx's runtime max_total_len limits usable context but does not shrink that fixed allocation. Increase the setting only up to the graph's 4096-token limit.

License and attribution

The Qwen base model and pinned ONNX source are published under Apache-2.0. LICENSE contains the Apache-2.0 text from the pinned official Qwen3-ASR source, and NOTICE records component provenance. This package does not include sherpa-onnx runtime binaries; install and license that runtime separately.

The public FLEURS Japanese test sample used for local validation is not included. FLEURS is distributed under CC-BY-4.0; see the Japanese test data and dataset card.

Reproducing the package

PowerShell workflows and immutable source revisions are in scripts/. From this directory:

.\scripts\setup_environment.ps1
.\scripts\export_qwen3_asr.ps1
.\scripts\quantize.ps1
.\scripts\package_release.ps1

The upload workflow requires a completed local validation record and checks that the target Hugging Face repository does not already exist. The download workflow fetches the public files over HTTPS, verifies every manifest checksum, and runs a sherpa-onnx CPU smoke recognition.

Identity and Version

Repository
shigedonsan/qwen3-asr-1.7b-sherpa-onnx-int8-4096
Publisher
Shige Dondon
Task
Speech recognition
Modality
Audio
Library
sherpa-onnx
Parameters
Not stated by the source
Languages
cpu
Revision
d1ad983c72c952e71f2e6cb8706d73e475e18022
First published
2026-09-25
Last updated
2026-09-25

Files and Weights

13 files, 4.7 GB in total. The weights are 3 files totalling 55.5 MB in onnx.

Weights3 files · 55.5 MB
Configuration1 file · 2.7 KB
Tokenizer3 files · 4.5 MB
Documentation3 files · 18.2 KB
Other2 files · 4.6 GB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
conv_frontend.onnxWeights48.1 MB 3cb27a9fe94d
decoder.int8.onnxWeights4.0 MB 58fda82f94e9
encoder.onnxWeights3.4 MB 8e850856e26a
manifest.jsonConfiguration2.7 KB —
LICENSEDocumentation11.5 KB —
NOTICEDocumentation1.7 KB —
README.mdDocumentation4.9 KB —
decoder.int8.onnx.dataOther4.0 GB 7d59cc2e6b8b
encoder.onnx.dataOther610.9 MB 95a007f1af92
.gitattributesRepository1.6 KB —
tokenizer/merges.txtTokenizer1.7 MB —
tokenizer/tokenizer_config.jsonTokenizer12.5 KB —
tokenizer/vocab.jsonTokenizer2.8 MB —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
55.5 MB
Download from Shige Dondon

Released by Shige Dondon through its official repository on Hugging Face. Read the license.

Memory Requirements

PrecisionWeights in memory
As published55.5 MB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About qwen3-asr-1.7b-sherpa-onnx-int8-4096

Can I use qwen3-asr-1.7b-sherpa-onnx-int8-4096 commercially?

Yes. qwen3-asr-1.7b-sherpa-onnx-int8-4096 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

Similar Models

Model · Speech recognition

wav2vec2-large-xlsr-53-japanese

Jonatas Grosman

Fine-tuned facebook/wav2vec2-large-xlsr-53 on Japanese using the train and validation splits of Common Voice 6.1, CSS10 and JSUT. When using this model, make sure that your speech input is sampled at 16kHz. This model has been fine-tuned thanks to the GPU credits generously given by the OVHcloud:) The script used for training can be found here: https://github.com/jonatasgrosman/wav2vec2-sprint The model can be used directly (without a language model) as follows... Using the HuggingSound library: The model can be evaluated as follows on the Japanese test data of Common Voice. In the table below I report the Word Error Rate (WER) and the Character Error Rate (CER) of the model. I ran the…

Open weights apache-2.0 transformers

Model · Speech recognition

whisperkit-coreml

Argmax

WhisperKit is part of Argmax OSS, an On-device Speech AI SDK for Apple Silicon: https://github.com/argmaxinc/argmax-oss-swift Check out the WhisperKit paper and presentation from ICML 2025: https://icml.cc/virtual/2025/47854 For real-time transcription with speakers and custom vocabulary, check out Argmax Pro SDK: https://www.argmaxinc.com/blog/argmax-sdk-2

Open weights mit whisperkit

Model · Speech recognition

speaker-diarization-3.1

Pyannote

Using this open-source model in production? Consider switching to pyannoteAI for better and faster options. This pipeline is the same as pyannote/speaker-diarization-3.0 except it removes the problematic use of onnxruntime. Both speaker segmentation and embedding now run in pure PyTorch. This should ease deployment and possibly speed up inference. It requires pyannote.audio version 3.1 or higher. It ingests mono audio sampled at 16kHz and outputs speaker diarization as an Annotation instance: - stereo or multi-channel audio files are automatically downmixed to mono by averaging the channels. - audio files sampled at a different rate are resampled to 16kHz automatically upon loading. 1.…

Access requested at publisher mit pyannote-audio

Model · Speech recognition

speaker-diarization-community-1

Pyannote

This pipeline ingests mono audio sampled at 16kHz and outputs speaker diarization. - stereo or multi-channel audio files are automatically downmixed to mono by averaging the channels. - audio files sampled at a different rate are resampled to 16kHz automatically upon loading. The main improvements brought by Community-1 are: - improved speaker assignment and counting - simpler reconciliation with transcription timestamps with exclusive speaker diarization - easy offline use (i.e. without internet connection) - (optionally) hosted on pyannoteAI cloud 1. pip install pyannote.audio 3. Create access token at hf.co/settings/tokens. Out of the box, Community-1 is much better than…

Access requested at publisher cc-by-4.0 pyannote-audio

Model · Speech recognition

faster-whisper-small

Systran

This repository contains the conversion of openai/whisper-small to the CTranslate2 model format. This model can be used in CTranslate2 or projects based on CTranslate2 such as faster-whisper. The original model was converted with the following command: Note that the model weights are saved in FP16. This type can be changed when the model is loaded using the computetype option in CTranslate2. For more information about the original model, see its model card.

Open weights mit ctranslate2

Fine-tuned facebook/wav2vec2-large-xlsr-53 on Portuguese using the train and validation splits of Common Voice 6.1. When using this model, make sure that your speech input is sampled at 16kHz. This model has been fine-tuned thanks to the GPU credits generously given by the OVHcloud:) The script used for training can be found here: https://github.com/jonatasgrosman/wav2vec2-sprint The model can be used directly (without a language model) as follows... Using the HuggingSound library: 1. To evaluate on mozilla-foundation/commonvoice60 with split test 2. To evaluate on speech-recognition-community-v2/devdata If you want to cite this model you can use this

Open weights apache-2.0 transformers