Github开源生信云平台 DEMO
这是 正常现象,不是下载错了,而是你这条命令把整个仓库都拉下来了 👇
hf download microsoft/Phi-3-mini-4k-instruct-gguf
这个仓库里不止一个模型文件,而是包含多种量化版本,比如:
Phi-3-mini-4k-instruct-q4.gguf
Phi-3-mini-4k-instruct-fp16.gguf
👉 加起来大概就是你看到的 10GB+
Hugging Face 的 hf download 默认行为是:
hf download
❗下载 repo 里的 所有文件(snapshot)
而不是只下载你看到的那个 2.2GB 文件。
如果你只想要 2.2GB 的 Q4 模型:
hf download microsoft/Phi-3-mini-4k-instruct-gguf \ Phi-3-mini-4k-instruct-q4.gguf
hf download microsoft/Phi-3-mini-4k-instruct-gguf \ Phi-3-mini-4k-instruct-q4.gguf \ --local-dir ./models/phi3
Warning: You are sending unauthenticated requests...
意思是你没登录,会有:
解决:
hf auth login
去 https://huggingface.co/settings/tokens 拿 token
如果你是配合:
👉 一般用 Q4_K_M 就够了(性能 / 质量平衡)
Q4_K_M
如果你想,我可以帮你对比: