🤖 zero-shot-classification

nli-distilroberta-base

cross-encoder/nli-distilroberta-base

Get AI Model →
20.6K
Downloads
❤️
27
Likes
🏷️
18
Tags
📦
sentence-transformers
Library
Model Details
Full Model IDcross-encoder/nli-distilroberta-base
Pipeline / Taskzero-shot-classification
Librarysentence-transformers
Downloads (all-time)20.6K
Likes27
Last Modified4/11/2025
Author / Orgcross-encoder
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="cross-encoder/nli-distilroberta-base")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
sentence-transformerspytorchjaxonnxsafetensorsopenvinorobertatext-classificationtransformerszero-shot-classificationendataset:nyu-mll/multi_nlidataset:stanfordnlp/snlibase_model:distilbert/distilroberta-basebase_model:quantized:distilbert/distilroberta-baselicense:apache-2.0deploy:azureregion:us
More zero-shot-classification Models
See all →
bart-large-mnli

facebook/bart-large-mnli

3.3M❤️ 1.6K
Get AI Model →
distilbert-base-multilingual-cased-sentiments-student

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

676.5K❤️ 314
Get AI Model →
nli-deberta-v3-base

cross-encoder/nli-deberta-v3-base

365.9K❤️ 46
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
Downloads20.6K
❤️ Community Likes27
🛠️ Requirements
  • Install: pip install sentence-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?