Update app.py
Browse files
app.py
CHANGED
@@ -75,9 +75,8 @@ def generate_response(system_instruction, user_input):
|
|
75 |
|
76 |
# Define generation configuration
|
77 |
meta_config = {
|
78 |
-
"do_sample":
|
79 |
-
"temperature": 0.
|
80 |
-
"top_p": 0.9,
|
81 |
"max_new_tokens": 256,
|
82 |
"repetition_penalty": 1.2,
|
83 |
"use_cache": True
|
|
|
75 |
|
76 |
# Define generation configuration
|
77 |
meta_config = {
|
78 |
+
"do_sample": False,
|
79 |
+
"temperature": 0.0,
|
|
|
80 |
"max_new_tokens": 256,
|
81 |
"repetition_penalty": 1.2,
|
82 |
"use_cache": True
|