cochi1706 commited on
Commit
1d398ee
·
1 Parent(s): f70ab9c

Increase max_length parameter in text generation to 520 for enhanced output capacity in chatbot application.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,7 +22,7 @@ text_generator = pipeline(
22
  model=model,
23
  tokenizer=tokenizer,
24
  device=device,
25
- max_length=100,
26
  do_sample=True,
27
  temperature=0.7
28
  )
 
22
  model=model,
23
  tokenizer=tokenizer,
24
  device=device,
25
+ max_length=520,
26
  do_sample=True,
27
  temperature=0.7
28
  )