Index out of range in transformer summarization

It is similar as my situation. But not same.
I didn’t use model from transformers. I used pipeline from transformers instead of model.

1 Like