Spaces:
Sleeping
Sleeping
Commit
·
1d90bff
1
Parent(s):
16805e7
presence_penalty
Browse files
app.py
CHANGED
@@ -28,6 +28,7 @@ def respond(
|
|
28 |
max_tokens=60,
|
29 |
stream=True,
|
30 |
temperature=0.7,
|
|
|
31 |
top_p=0.85,
|
32 |
):
|
33 |
token = message.choices[0].delta.content
|
|
|
28 |
max_tokens=60,
|
29 |
stream=True,
|
30 |
temperature=0.7,
|
31 |
+
presence_penalty=1.5,
|
32 |
top_p=0.85,
|
33 |
):
|
34 |
token = message.choices[0].delta.content
|