Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -20,8 +20,8 @@ base_temp = 0.2 # base temperature for models
|
|
20 |
# QUESTION GLOBAL PARAMETERS
|
21 |
question_temp = 0.7 # question generation temperature
|
22 |
question_max_tokens = 256 # question generation max tokens
|
23 |
-
question_treshold =
|
24 |
-
reject_rank =
|
25 |
|
26 |
# ANSWER GLOBAL PARAMETERS
|
27 |
answer_temp = 0.5 # base answering temperature
|
|
|
20 |
# QUESTION GLOBAL PARAMETERS
|
21 |
question_temp = 0.7 # question generation temperature
|
22 |
question_max_tokens = 256 # question generation max tokens
|
23 |
+
question_treshold = 3.5 # min average rank for questions to be accepted
|
24 |
+
reject_rank = 2 # all question ranks must be above
|
25 |
|
26 |
# ANSWER GLOBAL PARAMETERS
|
27 |
answer_temp = 0.5 # base answering temperature
|