Spaces:
Runtime error
Runtime error
Commit
·
d484afa
1
Parent(s):
9ad6c07
Trying higher freq and presence penalties in the hopes of avoiding repetitive continuations
Browse files
app.py
CHANGED
@@ -31,8 +31,8 @@ def elaborate(
|
|
31 |
prompt=str_beginning,
|
32 |
temperature=0.5,
|
33 |
max_tokens=4000 - int(len(str_beginning) / 4),
|
34 |
-
frequency_penalty=0.
|
35 |
-
presence_penalty=0.
|
36 |
n=N_COMPLETIONS_WHEN_ELABORATING,
|
37 |
)["choices"]
|
38 |
|
|
|
31 |
prompt=str_beginning,
|
32 |
temperature=0.5,
|
33 |
max_tokens=4000 - int(len(str_beginning) / 4),
|
34 |
+
frequency_penalty=0.8,
|
35 |
+
presence_penalty=0.6,
|
36 |
n=N_COMPLETIONS_WHEN_ELABORATING,
|
37 |
)["choices"]
|
38 |
|