Ankitajadhav commited on
Commit
edb15a4
·
verified ·
1 Parent(s): 916e9ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -8,11 +8,11 @@ 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/OpenBioLLM-Llama3-8B-Q5_K_M.gguf",
16
  n_ctx=2048,
17
  n_gpu_layers=50, # Adjust based on your VRAM
18
  )
 
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
  n_ctx=2048,
17
  n_gpu_layers=50, # Adjust based on your VRAM
18
  )