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
- Xet hash:
- 889da73d41e3b9298d9ae9e973ee41bcffbd187075626bb45a196d0afd1ef9d5
- Size of remote file:
- 890 MB
- SHA256:
- c1d623314815a175f146364160e026c27528b832b31cfe0f3f26d89cf1507030
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.