CT-Transformer标点-中文-通用-实时-onnx
为FunASR软件包,中文实时听写服务使用的标点预测模型
  • 模型资讯
  • 模型资料

Controllable Time-delay Transformer模型介绍

Highlights

模型为CT-Transformer的onnx量化导出版本,可以直接用来做生产部署,一键部署教程(点击此处

ModelScope-FunASR

FunASR提供可便捷本地或者云端服务器部署的实时语音听写服务,内核为FunASR已开源的runtime-SDK。 FunASR集成了达摩院语音实验室在Modelscope社区开源的语音端点检测(VAD)、Paraformer-large非流式语音识别(ASR)、Paraformer-large流式语音识别(ASR)、标点预测(PUNC) 等相关能力。软件包既可以实时地进行语音转文字,而且能够在说话句尾用高精度的转写文字修正输出,输出文字带有标点,支持高并发多路请求

最新动态
| 环境安装
| 介绍文档
| 服务部署
| 模型库
| 联系我们

快速上手

服务端启动

下载部署工具funasr-runtime-deploy-online-cpu-zh.sh

curl -O https://raw.githubusercontent.com/alibaba-damo-academy/FunASR/main/funasr/runtime/deploy_tools/funasr-runtime-deploy-online-cpu-zh.sh;
# 如遇到网络问题,中国大陆用户,可以用个下面的命令:
# curl -O https://isv-data.oss-cn-hangzhou.aliyuncs.com/ics/MaaS/ASR/shell/funasr-runtime-deploy-online-cpu-zh.sh;

执行部署工具,在提示处输入回车键即可完成服务端安装与部署。目前便捷部署工具暂时仅支持Linux环境,其他环境部署参考开发指南(点击此处

sudo bash funasr-runtime-deploy-online-cpu-zh.sh install --workspace ./funasr-runtime-resources

客户端测试与使用

运行上面安装指令后,会在./funasr-runtime-resources(默认安装目录)中下载客户端测试工具目录samples(下载点击此处),
支持python、c++、java、c#与html网页版本客户端,我们以Python语言客户端为例,以麦克风输入,进行说明,其他版本客户端请参考文档(点击此处

python3 wss_client_asr.py --host "127.0.0.1" --port 10095 --mode "2pass"

更详细用法介绍(点击此处

相关论文以及引用信息

@inproceedings{chen2020controllable,
  title={Controllable Time-Delay Transformer for Real-Time Punctuation Prediction and Disfluency Detection},
  author={Chen, Qian and Chen, Mengzhe and Li, Bo and Wang, Wen},
  booktitle={ICASSP 2020-2020 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP)},
  pages={8069--8073},
  year={2020},
  organization={IEEE}
}