ccm commited on
Commit
ffec0a0
·
verified ·
1 Parent(s): da29c39

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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", filename="Qwen2.5-7B-Instruct-Q4_K_M.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