Spaces:
Runtime error
Runtime error
Update model.py
Browse files
model.py
CHANGED
@@ -8,7 +8,7 @@ model_id = 'xuqinyang/baichuan-13b-chat-ggml-int4'
|
|
8 |
|
9 |
from huggingface_hub import snapshot_download
|
10 |
|
11 |
-
snapshot_download(model_id, local_dir="
|
12 |
from llama_cpp import Llama
|
13 |
self.llm = Llama(model_path="./ggml-model-q4_0.bin", n_ctx=4096,seed=-1,n_threads=4)
|
14 |
|
|
|
8 |
|
9 |
from huggingface_hub import snapshot_download
|
10 |
|
11 |
+
snapshot_download(model_id, local_dir="./")
|
12 |
from llama_cpp import Llama
|
13 |
self.llm = Llama(model_path="./ggml-model-q4_0.bin", n_ctx=4096,seed=-1,n_threads=4)
|
14 |
|