Skip to content

Commit

Permalink
明确Dockerfile中所使用的asr模型的版本,使得和cmd-asr.py中保持一致
Browse files Browse the repository at this point in the history
  • Loading branch information
breakstring committed Feb 3, 2024
1 parent d76a67d commit 4c78f66
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Docker/download.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Download moda ASR related models
from modelscope import snapshot_download
model_dir = snapshot_download('damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch')
model_dir = snapshot_download('damo/speech_fsmn_vad_zh-cn-16k-common-pytorch')
model_dir = snapshot_download('damo/punc_ct-transformer_zh-cn-common-vocab272727-pytorch')


model_dir = snapshot_download('damo/speech_paraformer-large_asr_nat-zh-cn-16k-common-vocab8404-pytorch',revision="v2.0.4")
model_dir = snapshot_download('damo/speech_fsmn_vad_zh-cn-16k-common-pytorch',revision="v2.0.4")
model_dir = snapshot_download('damo/punc_ct-transformer_zh-cn-common-vocab272727-pytorch',revision="v2.0.4")

0 comments on commit 4c78f66

Please sign in to comment.