Parallelizing Zero Shot classification

#1
by sakshamgulati - opened

Hi All,
I want to parallelize my zero shot classification.
while i can always vectorize my pandas operations or use RAY for multicore usage, I was wondering if the pipeline functionality has a method where i can specify parallel processing
zero_shot_classifier = pipeline("zero-shot-classification",device=0)

Sign up or log in to comment