Increase maximum word count
This commit is contained in:
parent
758998d17e
commit
3010b24685
2
bot.py
2
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)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue