Zero-Shot Classification
Transformers
PyTorch
JAX
bart
text-classification
distilbart
distilbart-mnli
Instructions to use valhalla/distilbart-mnli-12-3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use valhalla/distilbart-mnli-12-3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="valhalla/distilbart-mnli-12-3")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("valhalla/distilbart-mnli-12-3") model = AutoModelForSequenceClassification.from_pretrained("valhalla/distilbart-mnli-12-3", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 6dea8571454038b2a603c13922c813a610622f948133d5b5a4a25a8369b0192e
- Size of remote file:
- 1.02 GB
- SHA256:
- 28712a32828482849e92109e3374b5430c871eea6cebfcd44633cb994148f9e7
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.