Questions tagged [zeroshot-classification]

3 questions
1
vote
1 answer

How does Huggingface's zero-shot classification work in production/webapp, do I need to train the model first?

I have already used huggingface's zero-shot classification: I used "facebook/bart-large-mnli" model as reported here (https://huggingface.co/tasks/zero-shot-classification). The accuracy is quite good for my task. My question is about…
0
votes
0 answers

Define synonyms in the tokeniser for Huggingface models

I was hoping I could define synonyms for huggingface models. So for a minimal example if we have some prompts where respondents says a sentence about what fastfood they like: from transformers import pipeline pipe =…
0
votes
0 answers

Training datasets for CLIP backbone models

I would like to know about the datasets that OpenAI used to train its CLIP (Contrastive Language-Image Pre-Training) framework so I can select the one that resembles the most to my project dataset. I've been searching the info, but I only can find…