Spaces:
Sleeping
Sleeping
Update private_gpt/components/llm/llm_component.py
Browse files
private_gpt/components/llm/llm_component.py
CHANGED
@@ -29,8 +29,9 @@ class LLMComponent:
|
|
29 |
prompt_style = prompt_style_cls(
|
30 |
default_system_prompt=settings.local.default_system_prompt
|
31 |
)
|
|
|
32 |
self.llm = LlamaCPP(
|
33 |
-
|
34 |
temperature=0.1,
|
35 |
max_new_tokens=settings.llm.max_new_tokens,
|
36 |
context_window=3900,
|
|
|
29 |
prompt_style = prompt_style_cls(
|
30 |
default_system_prompt=settings.local.default_system_prompt
|
31 |
)
|
32 |
+
model_url= "https://huggingface.co/TheBloke/Mistral-7B-Instruct-v0.1-GGUF/resolve/main/mistral-7b-instruct-v0.1.Q4_K_M.gguf?download=true"
|
33 |
self.llm = LlamaCPP(
|
34 |
+
model_url=model_url,
|
35 |
temperature=0.1,
|
36 |
max_new_tokens=settings.llm.max_new_tokens,
|
37 |
context_window=3900,
|