How to change the batch size in a pipeline?


Sorry for the simple question but I was wondering how can I change the batch size when I load a pipeline for sentiment classification.

I use classifier = pipeline('sentiment-analysis') but the list of sentences I feed the classifier is too big to be processed in one batch.