tea-phan-y
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -78,8 +78,8 @@ def generate_response(user_query, relevant_segment):
|
|
78 |
max_tokens=5000,
|
79 |
temperature=0.2,
|
80 |
top_p=1,
|
81 |
-
frequency_penalty=0,
|
82 |
-
presence_penalty=0
|
83 |
)
|
84 |
|
85 |
# Extract the response text
|
|
|
78 |
max_tokens=5000,
|
79 |
temperature=0.2,
|
80 |
top_p=1,
|
81 |
+
frequency_penalty=0.5,
|
82 |
+
presence_penalty=0.5
|
83 |
)
|
84 |
|
85 |
# Extract the response text
|