Fine-tuning Zero-shot models
I am usingfacebook/bart-large-mnlifor my text classification task. The labels used during inference would be a subset of a list of labels. So, i want to fine-tune the model on a custom dataset with ~1000 examples.I understand that@joeddavhas explained it in thiscomment. But I am facing difficulties in implementing this. Can anyone please share the snippet that they used or direct me to any source that has implemented the fine-tuning
2022-03-07T00:39:04Z
What part are you having trouble with?
2022-03-08T04:14:30Z
@anwarikadon’t understand how to set ‘entailment’ or ‘contradiction’ as a target.
2022-03-08T14:06:08Z
So to understand you have 1000 examples that are not properly labelled? If they are properly labeled you could just fineTune it. There are some examples in the Transformers github repo
2023-02-07T19:32:03Z
Could anyone please share some links to this examples?, I haven’t found them yet. Thanks for your help.