I just wanted to test the facebook/bart-largemnli
model but it doesn’t work and I don’t know how to fix it.
The code:
from transformers import pipeline
classifier = pipeline(“zero-shot-classification”, model=“facebook/bart-large-mnli”)
The error message:
ValueError : Could not load model facebook/bart-large-mnli with any of the following classes: (<class ‘transformers.models.auto.modeling_tf_auto.TFAutoModelForSequenceClassification’>,)
classifier = pipeline(task="sentiment-analysis", model="roberta-large-mnli")
Works for example.
What can I do? I already cleaned the disk space.
Thank you a lot!