Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -72,7 +72,10 @@ publication_vectorstore = langchain_community.vectorstores.FAISS.load_local(
|
|
72 |
# task="text-generation", model="Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4", device="cuda"
|
73 |
# )
|
74 |
llm = llama_cpp.Llama.from_pretrained(
|
75 |
-
repo_id="bartowski/Qwen2.5-7B-Instruct-GGUF",
|
|
|
|
|
|
|
76 |
)
|
77 |
|
78 |
|
|
|
72 |
# task="text-generation", model="Qwen/Qwen2.5-7B-Instruct-GPTQ-Int4", device="cuda"
|
73 |
# )
|
74 |
llm = llama_cpp.Llama.from_pretrained(
|
75 |
+
repo_id="bartowski/Qwen2.5-7B-Instruct-GGUF",
|
76 |
+
filename="Qwen2.5-7B-Instruct-Q4_K_M.gguf",
|
77 |
+
n_gpu_layers=-1,
|
78 |
+
n_ctx=2048,
|
79 |
)
|
80 |
|
81 |
|