Spaces:
Running
Running
add csukuangfj/sherpa-onnx-streaming-zipformer-ar_en_id_ja_ru_th_vi_zh-2025-02-10">zipformer-ar_en_id_ja_ru_th_vi_zh model
Browse files- app/asr_worker.py +11 -0
- app/static/index.html +1 -0
app/asr_worker.py
CHANGED
@@ -160,6 +160,17 @@ STREAMING_ZIPFORMER_MODELS = {
|
|
160 |
"modeling_unit":"bpe",
|
161 |
"bpe_model": None,
|
162 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
163 |
}
|
164 |
|
165 |
# Audio resampling utility
|
|
|
160 |
"modeling_unit":"bpe",
|
161 |
"bpe_model": None,
|
162 |
},
|
163 |
+
"csukuangfj/sherpa-onnx-streaming-zipformer-ar_en_id_ja_ru_th_vi_zh-2025-02-10": {
|
164 |
+
"tokens": "tokens.txt",
|
165 |
+
"encoder_fp32": "encoder-epoch-75-avg-11-chunk-16-left-128.int8.onnx",
|
166 |
+
"encoder_int8": None,
|
167 |
+
"decoder_fp32": "decoder-epoch-75-avg-11-chunk-16-left-128.onnx",
|
168 |
+
"decoder_int8": None,
|
169 |
+
"joiner_fp32": "joiner-epoch-75-avg-11-chunk-16-left-128.int8.onnx",
|
170 |
+
"joiner_int8": None,
|
171 |
+
"modeling_unit":"cjkchar+bpe",
|
172 |
+
"bpe_model": "bpe.model",
|
173 |
+
},
|
174 |
}
|
175 |
|
176 |
# Audio resampling utility
|
app/static/index.html
CHANGED
@@ -147,6 +147,7 @@
|
|
147 |
<option value="shaojieli/sherpa-onnx-streaming-zipformer-fr-2023-04-14">zipformer-fr</option>
|
148 |
<option value="csukuangfj/sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23">zipformer-zh-14M</option>
|
149 |
<option value="csukuangfj/sherpa-onnx-streaming-zipformer-en-20M-2023-02-17">zipformer-en-20M</option>
|
|
|
150 |
</select>
|
151 |
|
152 |
<label for="precisionSelect">Precision:</label>
|
|
|
147 |
<option value="shaojieli/sherpa-onnx-streaming-zipformer-fr-2023-04-14">zipformer-fr</option>
|
148 |
<option value="csukuangfj/sherpa-onnx-streaming-zipformer-zh-14M-2023-02-23">zipformer-zh-14M</option>
|
149 |
<option value="csukuangfj/sherpa-onnx-streaming-zipformer-en-20M-2023-02-17">zipformer-en-20M</option>
|
150 |
+
<option value="csukuangfj/sherpa-onnx-streaming-zipformer-ar_en_id_ja_ru_th_vi_zh-2025-02-10">zipformer-ar_en_id_ja_ru_th_vi_zh</option>
|
151 |
</select>
|
152 |
|
153 |
<label for="precisionSelect">Precision:</label>
|