From 9aa3a4d0226943e5b3d0fee54f697164ec90cfa2 Mon Sep 17 00:00:00 2001
From: 北念 <lzr265946@alibaba-inc.com>
Date: 星期二, 31 十月 2023 19:52:55 +0800
Subject: [PATCH] add paraformer-16k-en finetune pipeline
---
funasr/runtime/onnxruntime/include/model.h | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/funasr/runtime/onnxruntime/include/model.h b/funasr/runtime/onnxruntime/include/model.h
index 53a7927..7f1e0ac 100644
--- a/funasr/runtime/onnxruntime/include/model.h
+++ b/funasr/runtime/onnxruntime/include/model.h
@@ -17,7 +17,8 @@
virtual std::string Rescoring() = 0;
virtual void InitHwCompiler(const std::string &hw_model, int thread_num){};
virtual void InitSegDict(const std::string &seg_dict_model){};
- virtual std::vector<std::vector<float>> CompileHotwordEmbedding(std::string &hotwords){};
+ virtual std::vector<std::vector<float>> CompileHotwordEmbedding(std::string &hotwords){return std::vector<std::vector<float>>();};
+ virtual std::string GetLang(){return "";};
};
Model *CreateModel(std::map<std::string, std::string>& model_path, int thread_num=1, ASR_TYPE type=ASR_OFFLINE);
--
Gitblit v1.9.1