# How to scale Zero Shot Pipeline in large datasets?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-scale-zero-shot-pipeline-in-large-datasets%2F9513%3E%5C
**Category:** 🤗Transformers\
**Created:** [August 27, 2021, 2:02am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-scale-zero-shot-pipeline-in-large-datasets%2F9513 "2021-08-27T02:02:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![celsofranssa](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/celsofranssa/32/27854_2.png) [@celsofranssa](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fcelsofranssa)%5C
**Post date:** [August 27, 2021, 2:02am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhow-to-scale-zero-shot-pipeline-in-large-datasets%2F9513%2F1 "2021-08-27T02:02:11Z")

</div>

What approach someone can use to scale [ZeroShotClassificationPipeline](https://huggingface.co/transformers/main_classes/pipelines.html#zeroshotclassificationpipeline) to large datasets like [ag\_news](https://huggingface.co/datasets/ag_news)?
