最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

python - How to upload local LLM to private JFrog huggingface-ml repository? - Stack Overflow

programmeradmin4浏览0评论

I want to upload a local LLM to a private Jfrog "huggingface-ml" repository.

First I have installed the HF python client:

python3 -m pip install "huggingface_hub[cli]"

With this client in place, I have created a simple download script to get unsloth/Phi-4-mini-instruct-GGUF:

from huggingface_hub import snapshot_download

# Define model repository ID
model_id = "unsloth/Phi-4-mini-instruct-GGUF"

# Define local directory to store the model
local_dir = "./phi3_mini_instruct"

# Download the model
print(f"
发布评论

评论列表(0)

  1. 暂无评论