From 021311c76bc2e737701bf49910feeb9a867a3c0d Mon Sep 17 00:00:00 2001 From: huangyuxin Date: Fri, 3 Dec 2021 08:42:48 +0000 Subject: [PATCH] add transformer to cli infer --- paddlespeech/cli/asr/infer.py | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/paddlespeech/cli/asr/infer.py b/paddlespeech/cli/asr/infer.py index 48772997a..5ea3e59a8 100644 --- a/paddlespeech/cli/asr/infer.py +++ b/paddlespeech/cli/asr/infer.py @@ -46,6 +46,16 @@ pretrained_models = { 'conf/conformer.yaml', 'ckpt_path': 'exp/conformer/checkpoints/wenetspeech', + }, + "transformer_zh_16k": { + 'url': + 'https://paddlespeech.bj.bcebos.com/s2t/aishell/asr1/transformer.model.tar.gz', + 'md5': + '4e8b63800c71040b9390b150e2a5d4c4', + 'cfg_path': + 'conf/transformer.yaml', + 'ckpt_path': + 'exp/transformer/checkpoints/avg_20', } }