downloads.sh 679 字节
Newer Older
0
0YuanZhang0 已提交
1 2 3 4 5 6 7
#!/bin/bash

# download baseline model file to ./model_baseline/
if [ -d ./model_baseline/ ]
then
    echo "./model_baseline/ directory already existed, ignore download"
else
0
0YuanZhang0 已提交
8 9 10
    wget --no-check-certificate https://baidu-nlp.bj.bcebos.com/sequence_tagging_dy.tar.gz
    tar xvf sequence_tagging_dy.tar.gz
    /bin/rm sequence_tagging_dy.tar.gz
0
0YuanZhang0 已提交
11 12 13 14 15 16 17 18 19 20 21 22
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