# Improving Zero-shot accuracy

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimproving-zero-shot-accuracy%2F16295%3E%5C
**Category:** Intermediate\
**Created:** [March 31, 2022, 6:18am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimproving-zero-shot-accuracy%2F16295 "2022-03-31T06:18:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ShieldHero](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/shieldhero/32/4451_2.png) [@ShieldHero](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FShieldHero)%5C
**Post date:** [March 31, 2022, 6:18am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fimproving-zero-shot-accuracy%2F16295%2F1 "2022-03-31T06:18:13Z")

</div>

I used “facebook/bart-large-mnli” model for zero-shot classification.  
I have a dataset of 3k entries and 27 labels. I split it 80:20 for train/ test. I fine-tuned the model on this dataset.

The NLI model performed very well in the test data, giving me a 95% accuracy. But when I used this fine-tuned model for Zero shot classification, the accuracy dropped to 80%. Is there any way I can increase the ‘classification accuracy’?

NOTE: One way is to probably change the labels. I want to know if there is any other way to do this.

PS: I use HuggingFace Trainer to train the model.
