xavierbarbier commited on
Commit
4b12d16
·
verified ·
1 Parent(s): 9e4aa1e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- 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")
 
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")