Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,7 +18,7 @@ from llama_index.llms.huggingface import (
|
|
| 18 |
system_propmpt = "You are a friendly Chatbot."
|
| 19 |
|
| 20 |
# "facebook/blenderbot-400M-distill", facebook/blenderbot-400M-distill , BAAI/bge-small-en-v1.5
|
| 21 |
-
Settings.llm = HuggingFaceLLM(model_name="
|
| 22 |
device_map="auto",
|
| 23 |
system_prompt = system_propmpt,
|
| 24 |
context_window=4096,
|
|
|
|
| 18 |
system_propmpt = "You are a friendly Chatbot."
|
| 19 |
|
| 20 |
# "facebook/blenderbot-400M-distill", facebook/blenderbot-400M-distill , BAAI/bge-small-en-v1.5
|
| 21 |
+
Settings.llm = HuggingFaceLLM(model_name="HuggingFaceH4/zephyr-7b-gemma-sft-v0.1",
|
| 22 |
device_map="auto",
|
| 23 |
system_prompt = system_propmpt,
|
| 24 |
context_window=4096,
|