Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
@@ -8,7 +8,7 @@ model_id = 'xuqinyang/chatxu-turbo-ggml-Q5_K_M'
|
|
8 |
from huggingface_hub import snapshot_download,hf_hub_download
|
9 |
#旧
|
10 |
#snapshot_download(model_id, local_dir="./",revision="7f71a8abefa7b2eede3f74ce0564abe5fbe6874a")
|
11 |
-
snapshot_download(model_id, local_dir="./"
|
12 |
hf_hub_download(repo_id="baichuan-inc/Baichuan-13B-Chat",local_dir="./", filename="tokenizer.model")
|
13 |
from llama_cpp import Llama
|
14 |
llm = Llama(model_path="./ggml-model-q5_k_m.gguf", n_ctx=4096,seed=-1)
|
|
|
8 |
from huggingface_hub import snapshot_download,hf_hub_download
|
9 |
#旧
|
10 |
#snapshot_download(model_id, local_dir="./",revision="7f71a8abefa7b2eede3f74ce0564abe5fbe6874a")
|
11 |
+
snapshot_download(model_id, local_dir="./")
|
12 |
hf_hub_download(repo_id="baichuan-inc/Baichuan-13B-Chat",local_dir="./", filename="tokenizer.model")
|
13 |
from llama_cpp import Llama
|
14 |
llm = Llama(model_path="./ggml-model-q5_k_m.gguf", n_ctx=4096,seed=-1)
|