Commit Graph

12 Commits

Author SHA1 Message Date
雾聪
91231a03f5 add jieba for ct-transformer 2023-10-16 14:47:17 +08:00
Yabin Li
61ed60695a
coauthor:duj12, add itn;add timestamp、hotword to 2pass; (#966)
* Add ITN,include openfst/gflags in onnxruntime/third_party.

* 2pass server support Hotword and Timestamp. The start_time of each segment need to be fix.

* add global time start and end of each frame(both online and offline), support two-pass timestamp(both segment and token level).

* update websocket cmake.

* 2pass server support itn, hw and tp.

* Add local build and run. Add timestamp in 2pass server, update cmakelist.

* fix filemode bug in h5, avoid 2pass wss server close before final.

* offline server add itn.

* offline server add ITN.

* update hotword model dir.

* Add Acknowledgement to WeTextProcessing(https://github.com/wenet-e2e/WeTextProcessing)

* adapted to original FunASR.

* adapted to itn timestamp hotword

* merge from main (#949)

* fix empty timestamp list inference

* punc large

* fix decoding_ind none bug

* fix decoding_ind none bug

* docs

* setup

* change eng punc in offline model

* update contextual export

* update proc for oov in hotword onnx inference

* add python http code (#940)

* funasr-onnx 0.2.2

* funasr-onnx 0.2.3

* bug fix in timestamp inference

* fix bug in timestamp inference

* Update preprocessor.py

---------

Co-authored-by: shixian.shi <shixian.shi@alibaba-inc.com>
Co-authored-by: 游雁 <zhifu.gzf@alibaba-inc.com>
Co-authored-by: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Co-authored-by: mengzhe.cmz <mengzhe.cmz@alibaba-inc.com>
Co-authored-by: Xian Shi <40013335+R1ckShi@users.noreply.github.com>
Co-authored-by: chenmengzheAAA <123789350+chenmengzheAAA@users.noreply.github.com>
Co-authored-by: 夜雨飘零 <yeyupiaoling@foxmail.com>

* update docs

* update deploy_tools

---------

Co-authored-by: dujing <dujing@xmov.ai>
Co-authored-by: Jean Du <37294470+duj12@users.noreply.github.com>
Co-authored-by: shixian.shi <shixian.shi@alibaba-inc.com>
Co-authored-by: 游雁 <zhifu.gzf@alibaba-inc.com>
Co-authored-by: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
Co-authored-by: mengzhe.cmz <mengzhe.cmz@alibaba-inc.com>
Co-authored-by: Xian Shi <40013335+R1ckShi@users.noreply.github.com>
Co-authored-by: chenmengzheAAA <123789350+chenmengzheAAA@users.noreply.github.com>
Co-authored-by: 夜雨飘零 <yeyupiaoling@foxmail.com>
2023-09-19 10:09:58 +08:00
Yabin Li
e0fa63765b
Dev hw (#878)
* merge from hw (#872)

* hotwords

* Contextual Paraformer onnx export

* update

* update

* quant inference

* add clas hotword support

* update websocket-server

* update websocket-server

* add catch for hotword

* update websocket-server

* update paraformer

* update websocket-server

* add wait for funasr-wss-client

* fix core by adding clean_thread

* fix wav_name

* update funasr-wss-client

* update websocket-server

* Update SDK_tutorial_online_zh.md

---------

Co-authored-by: shixian.shi <shixian.shi@alibaba-inc.com>

* Update websocket_protocol_zh.md

* Update websocket_protocol.md

* Update SDK_tutorial_zh.md

* Update SDK_tutorial.md

* Update SDK_advanced_guide_online_zh.md

* Update SDK_advanced_guide_online.md

* Update SDK_advanced_guide_offline_zh.md

* Update SDK_advanced_guide_offline_zh.md

* Update SDK_advanced_guide_offline.md

* Update SDK_advanced_guide_offline.md

* Update docker_offline_cpu_zh_lists

* update docs

* update

---------

Co-authored-by: shixian.shi <shixian.shi@alibaba-inc.com>
2023-08-21 10:37:42 +08:00
Yabin Li
b454a1054f
update online runtime, including vad-online, paraformer-online, punc-online,2pass (#815)
* init

* update

* add LoadConfigFromYaml

* update

* update

* update

* del time stat

* update

* update

* update

* update

* update

* update

* update

* add cpp websocket online 2pass srv

* [feature] multithread grpc server

* update

* update

* update

* [feature] support 2pass grpc cpp server and python client, can change mode to use offline, online or 2pass decoding

* update

* update

* update

* update

* add paraformer online onnx model export

* add paraformer online onnx model export

* add paraformer online onnx model export

* add paraformer online onnxruntime

* add paraformer online onnxruntime

* add paraformer online onnxruntime

* fix export paraformer online onnx model bug

* for client closed earlier and core dump

* support GRPC two pass decoding (#813)

* [refator] optimize grpc server pipeline and instruction

* [refator] rm useless file

* [refator] optimize grpc client pipeline and instruction

* [debug] hanlde coredump when client ternimated

* [refator] rm useless log

* [refator] modify grpc cmake

* Create run_server_2pass.sh

* Update SDK_tutorial_online_zh.md

* Update SDK_tutorial_online.md

* Update SDK_advanced_guide_online.md

* Update SDK_advanced_guide_online_zh.md

* Update SDK_tutorial_online_zh.md

* Update SDK_tutorial_online.md

* update

---------

Co-authored-by: zhaoming <zhaomingwork@qq.com>
Co-authored-by: boji123 <boji123@aliyun.com>
Co-authored-by: haoneng.lhn <haoneng.lhn@alibaba-inc.com>
2023-08-08 11:17:43 +08:00
雾聪
914de11b8b add funasr-onnx-online-punc 2023-06-28 10:40:07 +08:00
lyblsgo
0983550a22 add funasr namespace 2023-05-08 20:31:39 +08:00
lyblsgo
11f0ed89af fix wavhead reader; modify punc input to int32; add vad/punc/offline-stream apis; modify option parser 2023-05-08 10:56:18 +08:00
lyblsgo
a539392ad4 fix paraformer server for new apis 2023-04-27 15:17:24 +08:00
lyblsgo
3c4227466e add logs 2023-04-26 16:48:23 +08:00
lyblsgo
1d205d340f add option parser; add copyright; 2023-04-25 20:17:12 +08:00
lyblsgo
b6d0ab4bfb fix GreedySearch 2023-04-24 15:42:10 +08:00
lyblsgo
6406616c2d rename filenames 2023-04-24 13:04:08 +08:00