Spaces:
Runtime error
Runtime error
Ankitajadhav
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -8,11 +8,11 @@ from sentence_transformers import SentenceTransformer
|
|
8 |
|
9 |
# Initialize the Llama model
|
10 |
llm = Llama(
|
11 |
-
|
12 |
-
|
13 |
-
|
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 |
)
|
|
|
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 |
)
|