hf-mirror-cli
hf-mirror-cli copied to clipboard
hf-mirror-cli 使用国内镜像,无需配置开箱即用,快速下载hugingface上的模型
```CMD (sakura13) G:\hf-mirror-cli.exe SakuraLLM/Sakura-14B-Qwen2beta-v0.10pre0 --token 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 --username huggingfaceUsers None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities...
无法断点续传
发现hf-mirror下载模型, 很多时候都会被断开, 用迅雷等其它下载工具也是一样. 但这个工具我试了, 继续下载不了, 每次都是重新下载 
非常好的工具,感谢作者!帮了大忙。今天用python的hf_hub_download或cli工具下载都会卡住没反应,也不反馈超时退出程序。不知这种情况该如何处理。 微信群二维码失效了,不知是否能更新一下?非常感谢。
试了很多种方法,都不能下载大模型,这个命令能下载,点赞!! 另外,在项目文件夹中运行,下载到了C:/.cache里,是否能指定下载到项目中?
cmd: hf-mirror-cli georghess/pandaset --token hf_xxx --username xxx error log: --->start-开始检查环境和网络 --->检查当前环境是否安装了git和git-lfs --->当前huggingface模型的下载地址为xxx ----->end-环境检查完毕正常 --->开始拉起下载模型数据并发任务 --->开始 clone repo from https://hf-mirror.com/georghess/pandaset downloading with username:xxx,token:hf_xxx ['https:', 'hf-mirror.com'] --->开始 clone repo from https://xxx:[email protected]/georghess/pandaset Traceback...
download_model函数多加了一个模型文件名的参数model_name可以去指定下载对应单文件的下载 命令行下载的时候也加上--model-name参数指定对应的模型文件去下载