Cran-May commited on
Commit
d47a4cc
1 Parent(s): 25d73a5

Update model.py

Browse files
Files changed (1) hide show
  1. model.py +1 -1
model.py CHANGED
@@ -7,7 +7,7 @@ model_id = 'theohlong/baichuan2_13b-GGML'
7
 
8
  from huggingface_hub import snapshot_download,hf_hub_download
9
 
10
- snapshot_download(model_id, local_dir="./", revesion="f416539ad77964d20452f38eaa7a18abf0672eb8b2e58773af3c20039a9d93f1")
11
  hf_hub_download(repo_id="baichuan-inc/Baichuan-13B-Chat-4bits",local_dir="./", filename="tokenizer.model")
12
  from llama_cpp import Llama
13
  llm = Llama(model_path="./ggml-model-q4_1.bin", n_ctx=4096,seed=-1)
 
7
 
8
  from huggingface_hub import snapshot_download,hf_hub_download
9
 
10
+ snapshot_download(model_id, local_dir="./", revision="f416539ad77964d20452f38eaa7a18abf0672eb8b2e58773af3c20039a9d93f1")
11
  hf_hub_download(repo_id="baichuan-inc/Baichuan-13B-Chat-4bits",local_dir="./", filename="tokenizer.model")
12
  from llama_cpp import Llama
13
  llm = Llama(model_path="./ggml-model-q4_1.bin", n_ctx=4096,seed=-1)