Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -15,7 +15,7 @@ description = f"Chat with <a href=\"https://huggingface.co/{model_id}\">{model_n
|
|
15 |
|
16 |
# Initialize the LLM
|
17 |
llm = Llama(model_path="model.gguf",
|
18 |
-
n_ctx=
|
19 |
n_threads=2,
|
20 |
chat_format=chat_template)
|
21 |
|
@@ -45,10 +45,7 @@ gr.ChatInterface(
|
|
45 |
additional_inputs=[gr.Textbox("Kamu adalah Mia, asisten AI yang pintar dan ceria.")],
|
46 |
additional_inputs_accordion="📝 System prompt",
|
47 |
examples=[
|
48 |
-
["
|
49 |
-
["
|
50 |
-
["selesaikan persamaan berikut 4x+3=11"],
|
51 |
-
["Apa referensi dalam memilih sepatu lari?"],
|
52 |
-
["Apa pendapatmu tentang Mass Rapid Transport (MRT)"]
|
53 |
]
|
54 |
).queue().launch(server_name="0.0.0.0")
|
|
|
15 |
|
16 |
# Initialize the LLM
|
17 |
llm = Llama(model_path="model.gguf",
|
18 |
+
n_ctx=4096,
|
19 |
n_threads=2,
|
20 |
chat_format=chat_template)
|
21 |
|
|
|
45 |
additional_inputs=[gr.Textbox("Kamu adalah Mia, asisten AI yang pintar dan ceria.")],
|
46 |
additional_inputs_accordion="📝 System prompt",
|
47 |
examples=[
|
48 |
+
["tell me a joke about donut"],
|
49 |
+
["solve this equation, 2x-5+7=18"],
|
|
|
|
|
|
|
50 |
]
|
51 |
).queue().launch(server_name="0.0.0.0")
|