Zero-Shot Classification
Transformers
PyTorch
JAX
bart
text-classification
distilbart
distilbart-mnli
Instructions to use valhalla/distilbart-mnli-12-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use valhalla/distilbart-mnli-12-1 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="valhalla/distilbart-mnli-12-1")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("valhalla/distilbart-mnli-12-1") model = AutoModelForSequenceClassification.from_pretrained("valhalla/distilbart-mnli-12-1") - Inference
- Notebooks
- Google Colab
- Kaggle
Adding `safetensors` variant of this model
#4 opened over 1 year ago
by
SFconvertbot
Question related to License
#3 opened over 2 years ago
by
UtsavTranscend
Adding `safetensors` variant of this model
#2 opened over 2 years ago
by
SFconvertbot