🤖 zero-shot-classification

ModernBERT-base-nli

tasksource/ModernBERT-base-nli

Get AI Model →
⬇
48.3K
Downloads
❤️
37
Likes
🏷️
18
Tags
📦
transformers
Library
Model Details
Full Model IDtasksource/ModernBERT-base-nli
Pipeline / Taskzero-shot-classification
Librarytransformers
Downloads (all-time)48.3K
Likes37
Last Modified1/6/2025
Author / Orgtasksource
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="tasksource/ModernBERT-base-nli")

# Run inference
result = pipe("Your input here")
print(result)
🏷️ Tags
transformerssafetensorsmodernberttext-classificationinstructnatural-language-inferencenlimnlizero-shot-classificationendataset:nyu-mll/gluedataset:facebook/anlibase_model:answerdotai/ModernBERT-basebase_model:finetune:answerdotai/ModernBERT-baselicense:apache-2.0endpoints_compatibledeploy:azureregion:us
More zero-shot-classification Models
See all →
bart-large-mnli

facebook/bart-large-mnli

⬇ 2.3M❤️ 1.6K
Get AI Model →
mDeBERTa-v3-base-xnli-multilingual-nli-2mil7

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

⬇ 837.5K❤️ 406
Get AI Model →
distilbert-base-multilingual-cased-sentiments-student

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

⬇ 564.8K❤️ 316
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
⬇ Downloads48.3K
❤️ Community Likes37
🛠️ 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?