cahya commited on
Commit
6d13d04
1 Parent(s): ba1d699

update max length

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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) + 100,
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,