kritsadaK commited on
Commit
607863d
·
verified ·
1 Parent(s): 7f44d83

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +1 -0
README.md CHANGED
@@ -33,6 +33,7 @@ base_model:
33
  ```python
34
  from transformers import pipeline
35
 
 
36
  summarizer = pipeline("summarization", model="kritsadaK/bart-financial-summarization")
37
  text = "Your financial document text here..."
38
  summary = summarizer(text, max_length=256, min_length=50, do_sample=False)
 
33
  ```python
34
  from transformers import pipeline
35
 
36
+ max_input_length = 1024
37
  summarizer = pipeline("summarization", model="kritsadaK/bart-financial-summarization")
38
  text = "Your financial document text here..."
39
  summary = summarizer(text, max_length=256, min_length=50, do_sample=False)