未验证 提交 a0265466 编写于 作者: Z Zhao Yuting 提交者: GitHub

Update pretrained_models.py

Add a new model for faster text process
上级 a17baad5
......@@ -529,7 +529,7 @@ text_dynamic_pretrained_models = {
'ckpt/model_state.pdparams',
'vocab_file':
'punc_vocab.txt',
},
}
},
"ernie_linear_p3_wudao-punc-zh": {
'1.0': {
......@@ -543,10 +543,26 @@ text_dynamic_pretrained_models = {
'ckpt/model_state.pdparams',
'vocab_file':
'punc_vocab.txt',
}
},
},
"ernie_linear_p3_wudao_fast-punc-zh": {
'1.0':{
'url':
'https://paddlespeech.bj.bcebos.com/text/ernie_linear_p3_wudao_fast-punc-zh.tar.gz',
'md5':
'c93f9594119541a5dbd763381a751d08',
'cfg_path':
'ckpt/model_config.json',
'ckpt_path':
'ckpt/model_state.pdparams',
'vocab_file':
'punc_vocab.txt',
}
}
}
# ---------------------------------
# -------------- TTS --------------
# ---------------------------------
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册