Spaces:
Runtime error
Runtime error
Commit
·
c433997
1
Parent(s):
8472e6b
Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,7 @@ from huggingface_hub import hf_hub_download
|
|
5 |
CONST_REPO_ID = "AshtonIsNotHere/CodeLlama_7B_nlp_pp"
|
6 |
CONST_FILENAME = "CodeLlama_7B_nlp_pp_q8_0.gguf"
|
7 |
|
8 |
-
|
9 |
|
10 |
# These phrases/tokens indicate the start of a pass. For demonstration purposes, it's
|
11 |
# safe to assume that these should not be encountered in the output and represent a hallucination.
|
|
|
5 |
CONST_REPO_ID = "AshtonIsNotHere/CodeLlama_7B_nlp_pp"
|
6 |
CONST_FILENAME = "CodeLlama_7B_nlp_pp_q8_0.gguf"
|
7 |
|
8 |
+
model = Llama(model_path=hf_hub_download(repo_id=CONST_REPO_ID, filename=CONST_FILENAME))
|
9 |
|
10 |
# These phrases/tokens indicate the start of a pass. For demonstration purposes, it's
|
11 |
# safe to assume that these should not be encountered in the output and represent a hallucination.
|