can you not use the BartModel and BartTokenizer directly and use the truncation=True to get over this?
if you don’t intend to truncate then you may be interested in this discussion here Summarization on long documents 61
Thanks