Ankitajadhav commited on
Commit
537c013
·
verified ·
1 Parent(s): 4859742

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -8,12 +8,12 @@ from sentence_transformers import SentenceTransformer
8
 
9
  # Initialize the Llama model
10
  llm = Llama(
11
- # model_path=hf_hub_download(
12
- # repo_id="microsoft/Phi-3-mini-4k-instruct-gguf",
13
- # filename="Phi-3-mini-4k-instruct-q4.gguf",
14
- # ),
15
  # model_path = "./models/Phi-3-mini-4k-instruct-gguf",
16
- model_path = "NicholasJohn/OpenBioLLM-Llama3-8B-Q5_K_M.gguf",
17
  n_ctx=2048,
18
  n_gpu_layers=50, # Adjust based on your VRAM
19
  )
 
8
 
9
  # Initialize the Llama model
10
  llm = Llama(
11
+ model_path=hf_hub_download(
12
+ repo_id="microsoft/Phi-3-mini-4k-instruct-gguf",
13
+ filename="Phi-3-mini-4k-instruct-q4.gguf",
14
+ ),
15
  # model_path = "./models/Phi-3-mini-4k-instruct-gguf",
16
+ # model_path = "NicholasJohn/OpenBioLLM-Llama3-8B-Q5_K_M.gguf",
17
  n_ctx=2048,
18
  n_gpu_layers=50, # Adjust based on your VRAM
19
  )