avisena commited on
Commit
6301a53
·
verified ·
1 Parent(s): bb622db

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -1
README.md CHANGED
@@ -72,7 +72,7 @@ summary_ids = model.generate(
72
  do_sample=True
73
  )
74
 
75
- summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True, truncation='do_not_truncate')
76
 
77
  print(f"Generated Summary: {summary}")
78
  ```
 
72
  do_sample=True
73
  )
74
 
75
+ summary = tokenizer.decode(summary_ids[0], skip_special_tokens=True, max_length=1024, truncation='do_not_truncate')
76
 
77
  print(f"Generated Summary: {summary}")
78
  ```