Skip to content

huggingface-go

Compare
Choose a tag to compare
@xieincz xieincz released this 09 Mar 12:19
· 4 commits to main since this release
1717992

支持镜像站,支持下载main以外的branch,支持只下载某个文件夹。

本次更新的版本使用了另一种代理链接,如果之前创建过自己的代理链接,请按照这个博客中的步骤创建新版的代理链接。

https://xieincz.github.io/post/huggingface-go-jia-su-xia-zai-huggingface-de-mo-xing-he-shu-ju-ji/

镜像站、下载main以外的branch、只下载某个文件夹,这3个功能可以参考下面这个例子:

.\huggingface_go_windows_amd64.exe -u https://hf-mirror.com/Finnish-NLP/t5-large-nl36-finnish/tree/bad1e6634b186f11fb36418e85b7b53549dbd0af/checkpoint_10000/state.param_states.decoder.decoder_norm.scale.v

https://hf-mirror.com/Finnish-NLP/t5-large-nl36-finnish/tree/bad1e6634b186f11fb36418e85b7b53549dbd0af/checkpoint_10000/state.param_states.decoder.decoder_norm.scale.v 这个链接其实就是你在网页中打开到对应的文件夹后,浏览器的地址栏显示的链接

例子2:

.\huggingface_go_windows_amd64.exe -u https://hf-mirror.com/Finnish-NLP/t5-large-nl36-finnish/tree/main