Spaces:
Build error
Build error
shamik
commited on
Commit
·
ab64862
1
Parent(s):
bae9d99
Modified the application file.
Browse files
README.md
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
---
|
| 2 |
-
title: ⚡️
|
| 3 |
emoji: 💬 📢
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: red
|
|
|
|
| 1 |
---
|
| 2 |
+
title: ⚡️ Personalised Assistant ⚡️
|
| 3 |
emoji: 💬 📢
|
| 4 |
colorFrom: gray
|
| 5 |
colorTo: red
|
app.py
CHANGED
|
@@ -15,7 +15,7 @@ def format_prompt(message, history):
|
|
| 15 |
return prompt
|
| 16 |
|
| 17 |
def generate(
|
| 18 |
-
prompt, history, temperature=0.
|
| 19 |
):
|
| 20 |
temperature = float(temperature)
|
| 21 |
if temperature < 1e-2:
|
|
|
|
| 15 |
return prompt
|
| 16 |
|
| 17 |
def generate(
|
| 18 |
+
prompt, history, temperature=0.2, max_new_tokens=256, top_p=0.8, repetition_penalty=1.0,
|
| 19 |
):
|
| 20 |
temperature = float(temperature)
|
| 21 |
if temperature < 1e-2:
|