Skip to content

Commit 178cee0

Browse files
authored
Update Qwen3 ASR models (#3476)
1 parent b86cc45 commit 178cee0

16 files changed

Lines changed: 40 additions & 80 deletions

.github/scripts/test-dart.sh

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,9 @@ echo '----------Cohere Transcribe----------'
1010
./run-cohere-transcribe.sh
1111
rm -rf sherpa-onnx-*
1212

13-
if [[ "$SKIP_QWEN3" != "true" ]]; then
14-
echo '----------Qwen3 ASR----------'
15-
./run-qwen3-asr.sh
16-
rm -rf sherpa-onnx-*
17-
fi
13+
echo '----------Qwen3 ASR----------'
14+
./run-qwen3-asr.sh
15+
rm -rf sherpa-onnx-*
1816

1917
echo '----------Moonshine v2----------'
2018
./run-moonshine-v2.sh

.github/scripts/test-dot-net.sh

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,21 +11,19 @@ rm -rf sherpa-onnx-cohere-transcribe-*
1111

1212
cd ..
1313

14-
if [[ "$SKIP_QWEN3" != "true" ]]; then
15-
cd ./vad-non-streaming-qwen3-asr
16-
./run-ten-vad.sh
17-
rm -fv *.onnx
14+
cd ./vad-non-streaming-qwen3-asr
15+
./run-ten-vad.sh
16+
rm -fv *.onnx
1817

19-
./run.sh
20-
rm -fv *.onnx
18+
./run.sh
19+
rm -fv *.onnx
2120

22-
cd ../non-streaming-qwen3-asr-decode-files
23-
./run.sh
24-
ls -lh
25-
rm -rf sherpa-onnx-qwen3-*
21+
cd ../non-streaming-qwen3-asr-decode-files
22+
./run.sh
23+
ls -lh
24+
rm -rf sherpa-onnx-qwen3-*
2625

27-
cd ..
28-
fi
26+
cd ..
2927

3028
cd ./source-separation-spleeter
3129
./run.sh

.github/scripts/test-nodejs-addon-npm.sh

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,15 @@ node ./test_asr_non_streaming_cohere_transcribe_async.js
2020

2121
rm -rf sherpa-onnx-cohere-transcribe-14-lang-int8-2026-04-01
2222

23-
if [[ "$SKIP_QWEN3" != "true" ]]; then
24-
echo "----------Qwen3 ASR----------"
25-
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
26-
tar xvf sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
27-
rm sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
23+
echo "----------Qwen3 ASR----------"
24+
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
25+
tar xvf sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
26+
rm sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
2827

29-
node ./test_asr_non_streaming_qwen3_asr.js
30-
node ./test_asr_non_streaming_qwen3_asr_async.js
28+
node ./test_asr_non_streaming_qwen3_asr.js
29+
node ./test_asr_non_streaming_qwen3_asr_async.js
3130

32-
rm -rf sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25
33-
fi
31+
rm -rf sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25
3432

3533
echo "----------Moonshine v2----------"
3634
curl -SL -O https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-moonshine-tiny-en-quantized-2026-02-27.tar.bz2

.github/scripts/test-python.sh

Lines changed: 15 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,22 @@ rm sherpa-onnx-cohere-transcribe-14-lang-int8-2026-04-01.tar.bz2
1616
python3 ./python-api-examples/offline-cohere-transcribe-decode-files.py
1717
rm -rf sherpa-onnx-cohere-transcribe-14-lang-int8-2026-04-01
1818

19-
if [[ "$SKIP_QWEN3" != "true" ]]; then
20-
log "test Qwen3 ASR"
21-
22-
wget -q https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
23-
tar xvf sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
24-
rm sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
25-
26-
python3 ./python-api-examples/offline-qwen3-asr-decode-files.py \
27-
--conv-frontend=./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/conv_frontend.onnx \
28-
--encoder=./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/encoder.int8.onnx \
29-
--decoder=./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/decoder.int8.onnx \
30-
--tokenizer=./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/tokenizer \
31-
--max-new-tokens=128 \
32-
--num-threads=2 \
33-
./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/test_wavs/raokouling.wav
19+
log "test Qwen3 ASR"
20+
21+
wget -q https://github.com/k2-fsa/sherpa-onnx/releases/download/asr-models/sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
22+
tar xvf sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
23+
rm sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25.tar.bz2
24+
25+
python3 ./python-api-examples/offline-qwen3-asr-decode-files.py \
26+
--conv-frontend=./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/conv_frontend.onnx \
27+
--encoder=./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/encoder.int8.onnx \
28+
--decoder=./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/decoder.int8.onnx \
29+
--tokenizer=./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/tokenizer \
30+
--max-new-tokens=128 \
31+
--num-threads=2 \
32+
./sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25/test_wavs/raokouling.wav
3433

35-
rm -rf sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25
36-
fi
34+
rm -rf sherpa-onnx-qwen3-asr-0.6B-int8-2026-03-25
3735

3836
log "test Supertonic TTS"
3937

.github/scripts/test-rust.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,8 @@ trap 'bash ../.github/scripts/show-rust-binary-info.sh --all || true' EXIT
99
./run-cohere-transcribe.sh
1010
rm -rf sherpa-onnx-cohere-transcribe-*
1111

12-
if [[ "$SKIP_QWEN3" != "true" ]]; then
13-
./run-qwen3-asr.sh
14-
rm -rf sherpa-onnx-qwen3-*
15-
fi
12+
./run-qwen3-asr.sh
13+
rm -rf sherpa-onnx-qwen3-*
1614

1715
./run-audio-tagging-zipformer.sh
1816
rm -rf sherpa-onnx-zipformer-small-audio-tagging-2024-04-15

.github/workflows/run-python-test.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,6 @@ jobs:
191191
export LD_LIBRARY_PATH=$p:$LD_LIBRARY_PATH
192192
echo "LD_LIBRARY_PATH: $LD_LIBRARY_PATH"
193193
194-
if [[ ${{ matrix.os }} == ubuntu-24.04 ]]; then
195-
export SKIP_QWEN3=true
196-
fi
197194
.github/scripts/test-python.sh
198195
.github/scripts/test-speaker-recognition-python.sh
199196

.github/workflows/test-dart-package.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,4 @@ jobs:
104104
- name: Run tests
105105
shell: bash
106106
run: |
107-
if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
108-
export SKIP_QWEN3=true
109-
fi
110107
.github/scripts/test-dart.sh

.github/workflows/test-dart.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,4 @@ jobs:
135135
136136
cp scripts/dart/sherpa-onnx-pubspec.yaml flutter/sherpa_onnx/pubspec.yaml
137137
138-
if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
139-
export SKIP_QWEN3=true
140-
fi
141138
.github/scripts/test-dart.sh

.github/workflows/test-dot-net-nuget.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,9 +92,6 @@ jobs:
9292
- name: Run tests
9393
shell: bash
9494
run: |
95-
if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
96-
export SKIP_QWEN3=true
97-
fi
9895
.github/scripts/test-dot-net.sh
9996
10097
- uses: actions/upload-artifact@v4

.github/workflows/test-dot-net.yaml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ jobs:
204204
dotnet nuget locals all --clear
205205
df -h
206206
207-
if [[ ${{ matrix.os }} == ubuntu-latest ]]; then
208-
export SKIP_QWEN3=true
209-
fi
210207
.github/scripts/test-dot-net.sh
211208
212209
- uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)