File size: 255 Bytes
efa1fe6
 
 
 
 
 
1
2
3
4
5
6
from huggingface_hub import snapshot_download

def download_model()
    model_id="atwine/Llama-2-7b-chat-q8-gguf"
    snapshot_download(repo_id=model_id, local_dir="Llama-2-7b-chat-q8-gguf",
                  local_dir_use_symlinks=False, revision="main")