当前位置:   article > 正文

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

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
  • 1
  • 2
  • 3

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

>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]
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17

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

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

下载完成!

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/251738
推荐阅读
相关标签
  

闽ICP备14008679号