downloads.sh 688 字节
Newer Older
0
0YuanZhang0 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#!/bin/bash

# download baseline model file to ./model_baseline/
if [ -d ./model_baseline/ ]
then
    echo "./model_baseline/ directory already existed, ignore download"
else
    wget --no-check-certificate https://baidu-nlp.bj.bcebos.com/lexical_analysis-2.0.0.tar.gz
    tar xvf lexical_analysis-2.0.0.tar.gz
    /bin/rm lexical_analysis-2.0.0.tar.gz
fi

# download dataset file to ./data/
if [ -d ./data/ ]
then
    echo "./data/ directory already existed, ignore download"
else
    wget --no-check-certificate https://baidu-nlp.bj.bcebos.com/lexical_analysis-dataset-2.0.0.tar.gz
    tar xvf lexical_analysis-dataset-2.0.0.tar.gz
    /bin/rm lexical_analysis-dataset-2.0.0.tar.gz
fi