Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ model_name = "anima-phi-neptune-mistral-7b.Q4_K_M.gguf"
|
|
13 |
hf_hub_download(repo_id="Severian/ANIMA-Phi-Neptune-Mistral-7B-gguf", filename=model_name, local_dir=model_path, local_dir_use_symlinks=True)
|
14 |
|
15 |
print("Start the model init process")
|
16 |
-
model = model = GPT4All(model_name, model_path, allow_download = True, device="
|
17 |
print("Finish the model init process")
|
18 |
|
19 |
model.config["promptTemplate"] = "[INST] {0} [/INST]"
|
|
|
13 |
hf_hub_download(repo_id="Severian/ANIMA-Phi-Neptune-Mistral-7B-gguf", filename=model_name, local_dir=model_path, local_dir_use_symlinks=True)
|
14 |
|
15 |
print("Start the model init process")
|
16 |
+
model = model = GPT4All(model_name, model_path, allow_download = True, device="cpu")
|
17 |
print("Finish the model init process")
|
18 |
|
19 |
model.config["promptTemplate"] = "[INST] {0} [/INST]"
|