Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,7 +19,7 @@ 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.
|
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")
|
|
|
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.Q4_K_M.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")
|