Closed hugoabonizio closed 2 years ago
With this parameter we can use different batch sizes, as already possible with other rerankers (e.g. MonoT5), example:
reranker = SentenceTransformersReranker( pretrained_model_name_or_path='cross-encoder/ms-marco-MiniLM-L-6-v2', batch_size=50, )
@lintool, could you please CR this PR?
With this parameter we can use different batch sizes, as already possible with other rerankers (e.g. MonoT5), example: