aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bot.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.py b/bot.py
index 52e29a8..fef5a81 100644
--- a/bot.py
+++ b/bot.py
@@ -54,7 +54,7 @@ if args.input is None:
print(args.input)
inputs = tokenizer.encode(args.input, return_tensors="pt")
output = tokenizer.decode(model.generate(
- inputs, do_sample=True, max_length=100, top_p=0.9)[0])
+ inputs, do_sample=True, max_length=150, top_p=0.9)[0])
print(output)