Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -16,10 +16,10 @@ Mistral does not support system prompt symbol (such as ```<<SYS>>```) now, input
|
|
16 |
"""
|
17 |
|
18 |
model_path = "models"
|
19 |
-
model_name = "mistral-7b-instruct-v0.1.Q4_K_M.gguf"
|
20 |
-
|
21 |
-
hf_hub_download(repo_id="TheBloke/Mistral-7B-Instruct-v0.1-GGUF", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
|
22 |
-
|
23 |
print("Start the model init process")
|
24 |
model = model = GPT4All(model_name, model_path, allow_download = False, device="cpu")
|
25 |
print("Finish the model init process")
|
|
|
16 |
"""
|
17 |
|
18 |
model_path = "models"
|
19 |
+
#model_name = "mistral-7b-instruct-v0.1.Q4_K_M.gguf"
|
20 |
+
model_name = "phi-2.Q5_K_M.gguf"
|
21 |
+
#hf_hub_download(repo_id="TheBloke/Mistral-7B-Instruct-v0.1-GGUF", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
|
22 |
+
hf_hub_download(repo_id="TheBloke/phi-2-GGUF", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
|
23 |
print("Start the model init process")
|
24 |
model = model = GPT4All(model_name, model_path, allow_download = False, device="cpu")
|
25 |
print("Finish the model init process")
|