Spaces:
Sleeping
Sleeping
Commit ·
6c70efd
1
Parent(s): 9cc1eea
Update app.py
Browse files
app.py
CHANGED
|
@@ -18,12 +18,12 @@ Chat Function
|
|
| 18 |
"""
|
| 19 |
def chat(message,
|
| 20 |
chatbot,
|
| 21 |
-
model= llama_13b
|
| 22 |
system_prompt = "",
|
| 23 |
temperature = 0.9,
|
| 24 |
max_new_tokens = 256,
|
| 25 |
top_p = 0.6,
|
| 26 |
-
repetition_penalty = 1.0
|
| 27 |
):
|
| 28 |
|
| 29 |
# Write the system prompt
|
|
|
|
| 18 |
"""
|
| 19 |
def chat(message,
|
| 20 |
chatbot,
|
| 21 |
+
model= llama_13b,
|
| 22 |
system_prompt = "",
|
| 23 |
temperature = 0.9,
|
| 24 |
max_new_tokens = 256,
|
| 25 |
top_p = 0.6,
|
| 26 |
+
repetition_penalty = 1.0
|
| 27 |
):
|
| 28 |
|
| 29 |
# Write the system prompt
|