Instructions to use facebook/bart-large-mnli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/bart-large-mnli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("facebook/bart-large-mnli") model = AutoModelForSequenceClassification.from_pretrained("facebook/bart-large-mnli") - Inference
- Notebooks
- Google Colab
- Kaggle
Why does the inference api return "error":"overloaded"
#20
by Delwin - opened
The inference api has not been working for a few days. It returns "error":"overloaded" when making a request. Why does this happen? How to resolve this?
I see the same overloaded. On the web page and from script. Anyone?
Same here....any reason for this?
I believe these were due to temporary outages. Could you try again and let us know if it continues failing?