Spaces:
Runtime error
Runtime error
MariiaRazno
commited on
Commit
•
82a1932
1
Parent(s):
b0ee3fd
update model parameters
Browse files
app.py
CHANGED
@@ -14,7 +14,10 @@ def GPT_answer(prompt):
|
|
14 |
prompt=prompt,
|
15 |
temperature=0.3,
|
16 |
max_tokens=500,
|
17 |
-
|
|
|
|
|
|
|
18 |
)
|
19 |
response = completion.choices[0].text
|
20 |
return response
|
|
|
14 |
prompt=prompt,
|
15 |
temperature=0.3,
|
16 |
max_tokens=500,
|
17 |
+
top_p=1,
|
18 |
+
best_of=10,
|
19 |
+
frequency_penalty=1,
|
20 |
+
presence_penalty=1
|
21 |
)
|
22 |
response = completion.choices[0].text
|
23 |
return response
|