Spaces:
Runtime error
Runtime error
update max length
Browse files
app.py
CHANGED
@@ -14,7 +14,7 @@ def get_answer(user_input, decoding_method, num_beams, top_k, top_p, temperature
|
|
14 |
"model_name": "bloomz-1b1-instruct",
|
15 |
"text": user_input,
|
16 |
"min_length": len(user_input) + 10,
|
17 |
-
"max_length": len(user_input) +
|
18 |
"decoding_method": decoding_method,
|
19 |
"num_beams": num_beams,
|
20 |
"top_k": top_k,
|
|
|
14 |
"model_name": "bloomz-1b1-instruct",
|
15 |
"text": user_input,
|
16 |
"min_length": len(user_input) + 10,
|
17 |
+
"max_length": len(user_input) + 200,
|
18 |
"decoding_method": decoding_method,
|
19 |
"num_beams": num_beams,
|
20 |
"top_k": top_k,
|