download_unimo_base_mnli_en.sh 310 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
data_name=unimo_mnli_base_en
data_tar=${data_name}.tar.gz
bos_url=https://unimo.bj.bcebos.com/model/$data_tar

rm -rf $data_name
wget --no-check-certificate -q $bos_url
if [[ $? -ne 0 ]]; then
    echo "url link: $bos_url"
    echo "download data failed"
    exit 1
fi
tar zxf $data_tar
rm -f $data_tar
exit 0