Add C/CXX/JavaScript API for NeMo Canary models (#2357)
This PR introduces support for NeMo Canary models across C, C++, and JavaScript APIs by adding new Canary configuration structures, updating bindings, extending examples, and enhancing CI workflows. - Add OfflineCanaryModelConfig to all language bindings (C, C++, JS, ETS). - Implement SetConfig methods and NAPI wrappers for updating recognizer config at runtime. - Update examples and CI scripts to demonstrate and test NeMo Canary model usage.
This commit is contained in:
@@ -54,7 +54,7 @@ int32_t main() {
|
||||
"DEV_T0000000000.wav";
|
||||
const char *model_filename =
|
||||
"sherpa-onnx-streaming-zipformer-ctc-multi-zh-hans-2023-12-13/"
|
||||
"ctc-epoch-20-avg-1-chunk-16-left-128.int8.onnx";
|
||||
"ctc-epoch-20-avg-1-chunk-16-left-128.onnx";
|
||||
const char *tokens_filename =
|
||||
"sherpa-onnx-streaming-zipformer-ctc-multi-zh-hans-2023-12-13/tokens.txt";
|
||||
const char *provider = "cpu";
|
||||
|
||||
Reference in New Issue
Block a user