🤖 zero-shot-classification

bart-large-mnli

facebook/bart-large-mnli

Get AI Model →
3.1M
Downloads
❤️
1.6K
Likes
🏷️
16
Tags
📦
transformers
Library
Model Details
Full Model IDfacebook/bart-large-mnli
Pipeline / Taskzero-shot-classification
Librarytransformers
Downloads (all-time)3.1M
Likes1.6K
Last Modified9/5/2023
Author / Orgfacebook
PrivateNo — public
⚡ Quick Usage (Python)

Using the 🤗 Transformers library. Install with pip install transformers

from transformers import pipeline

# Load the model
pipe = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerspytorchjaxrustsafetensorsbarttext-classificationzero-shot-classificationdataset:multi_nliarxiv:1910.13461arxiv:1909.00161license:mitendpoints_compatibledeploy:sagemakerdeploy:azureregion:us
More zero-shot-classification Models
See all →
mDeBERTa-v3-base-xnli-multilingual-nli-2mil7

MoritzLaurer/mDeBERTa-v3-base-xnli-multilingual-nli-2mil7

826.8K❤️ 384
Get AI Model →
distilbert-base-multilingual-cased-sentiments-student

lxyuan/distilbert-base-multilingual-cased-sentiments-student

744.0K❤️ 316
Get AI Model →
DeBERTa-v3-base-mnli-fever-anli

MoritzLaurer/DeBERTa-v3-base-mnli-fever-anli

492.5K❤️ 225
Get AI Model →
🚀 Use This Model

Access model files, inference API, and full documentation on Hugging Face.

Open on Hugging Face →Browse Model Files ↗← Browse All Models
🤖 Task: zero-shot-classification

This model is designed for the zero-shot-classification task. Explore more models for this use case.

All zero-shot-classification Models →
📊 Popularity
Downloads3.1M
❤️ Community Likes1.6K
🛠️ Requirements
  • Install: pip install transformers
  • Python 3.8+ recommended for Transformers.
  • GPU (CUDA) speeds up inference significantly.
  • Use model.half() for fp16 on limited VRAM.
👋 Need help with code?