Skip to content

Commit

Permalink
Merge pull request #258 from xinghai-sun/publish_models
Browse files Browse the repository at this point in the history
Publish urls for Aishell model and Chinese language model.
  • Loading branch information
xinghai-sun authored Sep 15, 2017
2 parents 726c010 + 87834e1 commit 453b300
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
19 changes: 19 additions & 0 deletions deep_speech_2/models/aishell/download_model.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#! /usr/bin/bash

source ../../utils/utility.sh

URL='http://cloud.dlnel.org/filepub/?uuid=6c83b9d8-3255-4adf-9726-0fe0be3d0274'
MD5=28521a58552885a81cf92a1e9b133a71
TARGET=./aishell_model.tar.gz


echo "Download Aishell model ..."
download $URL $MD5 $TARGET
if [ $? -ne 0 ]; then
echo "Fail to download Aishell model!"
exit 1
fi
tar -zxvf $TARGET


exit 0
1 change: 0 additions & 1 deletion deep_speech_2/models/librispeech/download_model.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

source ../../utils/utility.sh

# TODO: add urls
URL='http://cloud.dlnel.org/filepub/?uuid=17404caf-cf19-492f-9707-1fad07c19aae'
MD5=ea5024a457a91179472f6dfee60e053d
TARGET=./librispeech_model.tar.gz
Expand Down
18 changes: 18 additions & 0 deletions deep_speech_2/models/lm/download_lm_ch.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
#! /usr/bin/bash

source ../../utils/utility.sh

URL=http://cloud.dlnel.org/filepub/?uuid=d21861e4-4ed6-45bb-ad8e-ae417a43195e
MD5="29e02312deb2e59b3c8686c7966d4fe3"
TARGET=./zh_giga.no_cna_cmn.prune01244.klm


echo "Download language model ..."
download $URL $MD5 $TARGET
if [ $? -ne 0 ]; then
echo "Fail to download the language model!"
exit 1
fi


exit 0

0 comments on commit 453b300

Please sign in to comment.