bart lage mnli yahoo answers Model Description This model takes facebook/bart large mnli and fine tunes it on Yahoo Answers topic classification. It can be used to predict whether a topic label can be assigned to a given sequence, whether or not the label has been seen before. You can play with an interactive demo of this zero shot technique with this model, as well as the non finetuned facebook/bart large mnli, here. Intended Usage This model was fine tuned on topic classification and will perform best at zero shot topic classification. Use hypothesis template="This text is about {}." as this is the template used during fine tuning. For settings other than topic classification, you can use any model pre trained on MNLI such as facebook/bart large mnli or roberta large mnli with the same code as written below. With the zero shot classification pipeline The model can be used with the zero shot classification pipeline like so: With manual PyTorch Training The model is a pre trained MNLI classifier further fine tuned on Yahoo Answers topic classification in the manner originally described in Yin et al. 2019 and this blog post. That is, each sequence is fed to the pre trained NLI model…
We use cookies for essential functionality and analytics. You can accept or reject analytics cookies.Cookie policy