-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #258 from xinghai-sun/publish_models
Publish urls for Aishell model and Chinese language model.
- Loading branch information
Showing
3 changed files
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |