sagar008 commited on
Commit
93a0659
·
verified ·
1 Parent(s): a085452

Update summarizer.py

Browse files
Files changed (1) hide show
  1. summarizer.py +2 -2
summarizer.py CHANGED
@@ -81,8 +81,8 @@ class DocumentSummarizer:
81
 
82
  final_summaries = self.legal_pipeline(
83
  refined_chunks,
84
- max_length=128,
85
- min_length=24,
86
  do_sample=False,
87
  num_beams=1,
88
  truncation=True
 
81
 
82
  final_summaries = self.legal_pipeline(
83
  refined_chunks,
84
+ max_length=250,
85
+ min_length=48,
86
  do_sample=False,
87
  num_beams=1,
88
  truncation=True