解决wget下载chatglm微调用数据集AdGen失败问题

在下载清华大学chatglm所使用的广告数据集AdGen时,采用以下指令,下载失败。

>wget -O AdGen.tar.gz https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1

zsh: no matches found: https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1

原因是链接中包含"?"符号,给链接加上双引号后,问题解决。

>wget -O AdGen.tar.gz  "https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1"

--2023-07-17 15:49:03--  https://cloud.tsinghua.edu.cn/f/b3f119a008264b1cabd1/?dl=1
Resolving cloud.tsinghua.edu.cn (cloud.tsinghua.edu.cn)... 2402:f000:1:406:166:111:6:101, 166.111.6.101
Connecting to cloud.tsinghua.edu.cn (cloud.tsinghua.edu.cn)|2402:f000:1:406:166:111:6:101|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://cloud.tsinghua.edu.cn/seafhttp/files/fa244512-afe5-4d56-8fea-8ce3b6001507/AdvertiseGen.tar.gz [following]
--2023-07-17 15:49:03--  https://cloud.tsinghua.edu.cn/seafhttp/files/fa244512-afe5-4d56-8fea-8ce3b6001507/AdvertiseGen.tar.gz
Reusing existing connection to [cloud.tsinghua.edu.cn]:443.
HTTP request sent, awaiting response... 200 OK
Length: 17069994 (16M) [application/octet-stream]
Saving to: 'AdGen.tar.gz'


AdGen.tar.gz                             100%[=================================================================================>]  16.28M  25.9MB/s    in 0.6s    

2023-07-17 15:49:04 (25.9 MB/s) - 'AdGen.tar.gz' saved [17069994/17069994]

这样下载了AdGen.tar.gz到本地,使用以下指令解压:

tar -zxvf file.tar.gz -C /path/to/destination/

下载完成!

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值