Add Kotlin and Java API for Dolphin CTC models (#2086)
This commit is contained in:
4
.github/workflows/apk-asr-2pass.yaml
vendored
4
.github/workflows/apk-asr-2pass.yaml
vendored
@@ -23,8 +23,8 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
total: ["4"]
|
||||
index: ["0", "1", "2", "3"]
|
||||
total: ["16"]
|
||||
index: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
4
.github/workflows/apk-vad-asr.yaml
vendored
4
.github/workflows/apk-vad-asr.yaml
vendored
@@ -23,8 +23,8 @@ jobs:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
os: [ubuntu-latest]
|
||||
total: ["10"]
|
||||
index: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]
|
||||
total: ["18"]
|
||||
index: ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15", "16", "17"]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
13
.github/workflows/run-java-test.yaml
vendored
13
.github/workflows/run-java-test.yaml
vendored
@@ -105,6 +105,16 @@ jobs:
|
||||
make -j4
|
||||
ls -lh lib
|
||||
|
||||
- name: Run java test (VAD + Non-streaming Dolphin CTC)
|
||||
shell: bash
|
||||
run: |
|
||||
cd ./java-api-examples
|
||||
./run-vad-non-streaming-dolphin-ctc.sh
|
||||
rm *.onnx
|
||||
ls -lh *.wav
|
||||
rm *.wav
|
||||
rm -rf sherpa-onnx-dolphin-*
|
||||
|
||||
- name: Run speech enhancement (GTCRN)
|
||||
shell: bash
|
||||
run: |
|
||||
@@ -135,6 +145,9 @@ jobs:
|
||||
run: |
|
||||
cd ./java-api-examples
|
||||
|
||||
./run-non-streaming-decode-file-dolphin-ctc.sh
|
||||
rm -rf sherpa-onnx-dolphin-*
|
||||
|
||||
./run-non-streaming-decode-file-moonshine.sh
|
||||
rm -rf sherpa-onnx-moonshine-*
|
||||
|
||||
|
||||
Reference in New Issue
Block a user