support u2pp cli and server, optimiz code of u2pp decode, test=asr

pull/2489/head
tianhao zhang 3 years ago
parent 5bbe6e9897
commit 5b5167b586

@ -69,7 +69,7 @@ asr_dynamic_pretrained_models = {
}, },
}, },
"conformer_u2pp_wenetspeech-zh-16k": { "conformer_u2pp_wenetspeech-zh-16k": {
'1.0': { '1.1': {
'url': 'url':
'https://paddlespeech.bj.bcebos.com/s2t/wenetspeech/asr1/asr1_chunk_conformer_u2pp_wenetspeech_ckpt_1.1.1.model.tar.gz', 'https://paddlespeech.bj.bcebos.com/s2t/wenetspeech/asr1/asr1_chunk_conformer_u2pp_wenetspeech_ckpt_1.1.1.model.tar.gz',
'md5': 'md5':
@ -89,7 +89,7 @@ asr_dynamic_pretrained_models = {
}, },
}, },
"conformer_u2pp_online_wenetspeech-zh-16k": { "conformer_u2pp_online_wenetspeech-zh-16k": {
'1.0': { '1.1': {
'url': 'url':
'https://paddlespeech.bj.bcebos.com/s2t/wenetspeech/asr1/asr1_chunk_conformer_u2pp_wenetspeech_ckpt_1.1.2.model.tar.gz', 'https://paddlespeech.bj.bcebos.com/s2t/wenetspeech/asr1/asr1_chunk_conformer_u2pp_wenetspeech_ckpt_1.1.2.model.tar.gz',
'md5': 'md5':

@ -30,7 +30,7 @@ asr_online:
decode_method: decode_method:
num_decoding_left_chunks: -1 num_decoding_left_chunks: -1
force_yes: True force_yes: True
device: gpu # cpu or gpu:id device: cpu # cpu or gpu:id
continuous_decoding: True # enable continue decoding when endpoint detected continuous_decoding: True # enable continue decoding when endpoint detected
am_predictor_conf: am_predictor_conf:

Loading…
Cancel
Save