atwine commited on
Commit
efa1fe6
·
1 Parent(s): 10afe4b

Create download_model.py

Browse files
Files changed (1) hide show
  1. download_model.py +6 -0
download_model.py ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ from huggingface_hub import snapshot_download
2
+
3
+ def download_model()
4
+ model_id="atwine/Llama-2-7b-chat-q8-gguf"
5
+ snapshot_download(repo_id=model_id, local_dir="Llama-2-7b-chat-q8-gguf",
6
+ local_dir_use_symlinks=False, revision="main")