Commit Graph

47 Commits

Author SHA1 Message Date
zhifu gao
3b0526e7be
update with main (#1783)
* add cmakelist

* add paraformer-torch

* add debug for funasr-onnx-offline

* fix redefinition of jieba StdExtension.hpp

* add loading torch models

* update funasr-onnx-offline

* add SwitchArg for wss-server

* add SwitchArg for funasr-onnx-offline

* update cmakelist

* update funasr-onnx-offline-rtf

* add define condition

* add gpu define for offlne-stream

* update com define

* update offline-stream

* update cmakelist

* update func CompileHotwordEmbedding

* add timestamp for paraformer-torch

* add C10_USE_GLOG for paraformer-torch

* update paraformer-torch

* fix func FunASRWfstDecoderInit

* update model.h

* fix func FunASRWfstDecoderInit

* fix tpass_stream

* update paraformer-torch

* add bladedisc for funasr-onnx-offline

* update comdefine

* update funasr-wss-server

* add log for torch

* fix GetValue BLADEDISC

* fix log

* update cmakelist

* update warmup to 10

* update funasrruntime

* add batch_size for wss-server

* add batch for bins

* add batch for offline-stream

* add batch for paraformer

* add batch for offline-stream

* fix func SetBatchSize

* add SetBatchSize for model

* add SetBatchSize for model

* fix func Forward

* fix padding

* update funasrruntime

* add dec reset for batch

* set batch default value

* add argv for CutSplit

* sort frame_queue

* sorted msgs

* fix FunOfflineInfer

* add dynamic batch for fetch

* fix FetchDynamic

* update run_server.sh

* update run_server.sh

* cpp http post server support (#1739)

* add cpp http server

* add some comment

* remove some comments

* del debug infos

* restore run_server.sh

* adapt to new model struct

* 修复了onnxruntime在macos下编译失败的错误 (#1748)

* Add files via upload

增加macos的编译支持

* Add files via upload

增加macos支持

* Add files via upload

target_link_directories(funasr PUBLIC ${ONNXRUNTIME_DIR}/lib)
target_link_directories(funasr PUBLIC ${FFMPEG_DIR}/lib)
添加 if(APPLE) 限制

---------

Co-authored-by: Yabin Li <wucong.lyb@alibaba-inc.com>

* Delete docs/images/wechat.png

* Add files via upload

* fixed the issues about seaco-onnx timestamp

* fix bug (#1764)

当语音识别结果包含 `http` 时,标点符号预测会把它会被当成 url

* fix empty asr result (#1765)

解码结果为空的语音片段,text 用空字符串

* docs

* docs

* docs

* docs

* docs

* keep empty speech result (#1772)

* docs

* docs

* update wechat QRcode

* Add python funasr api support for websocket srv (#1777)

* add python funasr_api supoort

* change little to README.md

* add core tools stream

* modified a little

* fix bug for timeout

* support for buffer decode

* add ffmpeg decode for buffer

* auto frontend

* auto frontend

---------

Co-authored-by: 雾聪 <wucong.lyb@alibaba-inc.com>
Co-authored-by: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Co-authored-by: szsteven008 <97944818+szsteven008@users.noreply.github.com>
Co-authored-by: Ephemeroptera <605686962@qq.com>
Co-authored-by: 彭震东 <zhendong.peng@qq.com>
Co-authored-by: Shi Xian <40013335+R1ckShi@users.noreply.github.com>
Co-authored-by: 维石 <shixian.shi@alibaba-inc.com>
2024-06-04 11:21:36 +08:00
Yabin Li
00cfc36b9a
c++ runtime adapt to 1.0 (#1724)
* adapt vad runtime to 1.0

* add json

* change yml name

* add func LoadVocabFromJson

* add token file for InitAsr

* add token path for OfflineStream

* add funcOpenYaml

* add token file for InitPunc

* add token file for stream

* update punc-model

* update funasr-wss-server
2024-05-13 16:52:41 +08:00
Yabin Li
be871ad6d0
Update CMakeLists.txt 2024-03-07 12:31:51 +08:00
雾聪
8f9a6ba15b update download tools 2024-01-26 10:04:59 +08:00
雾聪
646eda72e3 update clients for 2pass 2024-01-26 10:04:19 +08:00
雾聪
652627e6df update ERROR msg 2024-01-23 15:50:20 +08:00
雾聪
8ec8c071dc rm LoadWav2Char for clients 2024-01-23 15:49:40 +08:00
雾聪
a11eff3c61 update CMakeLists 2024-01-23 15:48:05 +08:00
雾聪
37f078ef5f add buffer for nullptr res 2024-01-15 20:32:01 +08:00
雾聪
ff36c82adc replace NULL for websocket/bin/ 2024-01-15 16:37:11 +08:00
雾聪
2acef4bdae json stamp_sents for websocket-server 2024-01-08 16:51:42 +08:00
雾聪
6be2975020 json stamp_sents 2024-01-08 16:51:27 +08:00
雾聪
e2caedd65c fix bug of FUNASR_RESULT = null 2024-01-01 13:17:59 +08:00
雾聪
3f366d6ed4 update funasr-wss-client 2023-12-30 21:47:49 +08:00
雾聪
6f48509e8d update funasr-wss-client 2023-12-27 12:55:12 +08:00
Yabin Li
b8825902d9
support ngram and fst hotword for 2pass-offline (#1205) 2023-12-26 10:51:00 +08:00
雾聪
d3c9690568 remove the wavfile parsing for clients 2023-12-19 20:15:08 +08:00
雾聪
f72914003a add sentence timestamp 2023-12-18 17:33:24 +08:00
雾聪
0627b354c5 SetConsoleOutputCP for win 2023-12-18 09:55:03 +08:00
Yabin Li
a0108271ad
Update readme.md 2023-12-18 09:41:36 +08:00
Yabin Li
9f536f5812
Update readme_zh.md 2023-12-18 09:40:51 +08:00
雾聪
c7cde30ab1 update funasr-wss-client 2023-12-15 17:02:32 +08:00
雾聪
009f4fed79 update funasr-wss-client 2023-12-15 10:30:26 +08:00
雾聪
de87e1d180 adapted pcm to 8k 2023-12-13 13:57:59 +08:00
雾聪
3c83d64c84 fst: support eng hotword 2023-12-12 11:11:02 +08:00
雾聪
d4b6770d03 update funasr-wss-server-2pass 2023-12-04 11:18:04 +08:00
雾聪
ef07c0d48f update model-revision by model name 2023-12-04 11:15:05 +08:00
雾聪
6626b89013 update funasr-wss-server 2023-12-01 10:03:41 +08:00
雾聪
467186eec4 fix bug of websocket lock blocking 2023-11-30 19:08:38 +08:00
雾聪
9fa2b2128d rm log.h for wins-websocket 2023-11-30 11:15:47 +08:00
雾聪
d7f4fe61ff Revert "update CMakeLists.txt"
This reverts commit 54bcd1f674.
2023-11-30 10:43:52 +08:00
雾聪
54bcd1f674 update CMakeLists.txt 2023-11-30 09:49:15 +08:00
雾聪
6bbeacb916 update cmd version 2023-11-29 10:02:36 +08:00
雾聪
29ce4c1526 update ssl 2023-11-16 14:54:03 +08:00
雾聪
ffd085581a update docs 2023-11-16 13:58:33 +08:00
雾聪
5297a2dc4b Merge branch 'main' of https://github.com/alibaba-damo-academy/FunASR into main 2023-11-16 11:12:45 +08:00
雾聪
74cf8b65b2 fix the issue of hotwords_embedding potentially being a null pointer 2023-11-16 11:12:20 +08:00
cdevelop
eff2570faf
解决windwos 加载lm模型失败 (#1093)
* fix vc compatibility

* fix windwos load lm model failed
2023-11-15 19:46:00 +08:00
雾聪
9dcd514dc7 modify openfst CMakeLists 2023-11-15 14:13:32 +08:00
cdevelop
397f4d4b7a
fix vc compatibility (#1091) 2023-11-15 10:39:08 +08:00
雾聪
6d6c6e3c79 update docs; update run_server.sh; fix initlm 2023-11-14 19:22:17 +08:00
雾聪
c0bfc7c6fe update docs 2023-11-13 19:56:43 +08:00
雾聪
923689bb07 update docs 2023-11-13 17:43:08 +08:00
cdevelop
be7ddfc4cd
runtime windows build (#1082)
* onnxruntime windows build

* runtime websocket windows build

* Upgrade glog
2023-11-13 16:15:05 +08:00
雾聪
3a45253eb5 fixing server crash caused by JSON parsing error 2023-11-10 13:43:27 +08:00
雾聪
71f3d70dd7 update docs 2023-11-07 19:35:37 +08:00
Yabin Li
702ec03ad8
Dev new (#1065)
* add hotword for deploy_tools

* Support wfst decoder and contextual biasing (#1039)

* Support wfst decoder and contextual biasing

* Turn on fstbin compilation

---------

Co-authored-by: gongbo.gb <gongbo.gb@alibaba-inc.com>

* mv funasr/runtime runtime

* Fix crash caused by OOV in hotwords list

* funasr infer

* funasr infer

* funasr infer

* funasr infer

* funasr infer

* fix some bugs about fst hotword; support wfst for websocket server and clients; mv runtime out of funasr; modify relative docs

* del onnxruntime/include/gflags

* update tensor.h

* update run_server.sh

* update deploy tools

* update deploy tools

* update websocket-server

* update funasr-wss-server

* Remove self loop propagation

* Update websocket_protocol_zh.md

* Update websocket_protocol_zh.md

* update hotword protocol

* author zhaomingwork: change hotwords for h5 and java

* update hotword protocol

* catch exception for json_fst_hws

* update hotword on message

* update onnx benchmark for ngram&hotword

* update docs

* update funasr-wss-serve

* add NONE for LM_DIR

* update docs

* update run_server.sh

* add whats-new

* modify whats-new

* update whats-new

* update whats-new

* Support decoder option for beam searching

* update benchmark_onnx_cpp

* Support decoder option for websocket

* fix bug of CompileHotwordEmbedding

* update html client

* update docs

---------

Co-authored-by: gongbo.gb <35997837+aibulamusi@users.noreply.github.com>
Co-authored-by: gongbo.gb <gongbo.gb@alibaba-inc.com>
Co-authored-by: 游雁 <zhifu.gzf@alibaba-inc.com>
2023-11-07 18:34:29 +08:00