Spaces:
Runtime error
Runtime error
fix(Llama): increase window context to 1024
Browse files
app.py
CHANGED
@@ -9,7 +9,7 @@ from llama_cpp import Llama
|
|
9 |
from huggingface_hub import hf_hub_download
|
10 |
|
11 |
hf_hub_download(repo_id="TheBloke/dolphin-2_6-phi-2-GGUF", filename="dolphin-2_6-phi-2.Q5_K_S.gguf", local_dir=".")
|
12 |
-
llm = Llama(model_path="./dolphin-2_6-phi-2.Q5_K_S.gguf", n_ctx=
|
13 |
|
14 |
ins = '''<|im_start|>user
|
15 |
{question}<|im_end|>
|
|
|
9 |
from huggingface_hub import hf_hub_download
|
10 |
|
11 |
hf_hub_download(repo_id="TheBloke/dolphin-2_6-phi-2-GGUF", filename="dolphin-2_6-phi-2.Q5_K_S.gguf", local_dir=".")
|
12 |
+
llm = Llama(model_path="./dolphin-2_6-phi-2.Q5_K_S.gguf", n_ctx=1024)
|
13 |
|
14 |
ins = '''<|im_start|>user
|
15 |
{question}<|im_end|>
|