xavierbarbier commited on
Commit
a357fa7
·
verified ·
1 Parent(s): efad6bb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -3
app.py CHANGED
@@ -16,9 +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
- hf_hub_download(repo_id="TheBloke/Mistral-7B-Instruct-v0.1-GGUF", filename=model_name, local_dir=model_path, local_dir_use_symlinks=False)
21
-
 
22
  print("Start the model init process")
23
  model = model = GPT4All(model_name, model_path, allow_download = False, device="cpu")
24
  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 = "TheBloke/phi-2-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")