Zero-Shot Classification
Transformers
Safetensors
English
modernbert
text-classification
instruct
natural-language-inference
nli
Instructions to use tasksource/ModernBERT-large-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tasksource/ModernBERT-large-nli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="tasksource/ModernBERT-large-nli")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tasksource/ModernBERT-large-nli") model = AutoModelForSequenceClassification.from_pretrained("tasksource/ModernBERT-large-nli", device_map="auto") - Inference
- Notebooks
- Google Colab
- Kaggle
Commit History
-
Add onnx files
sondalex825019b
-
Update README.md
Verified signatureca476cb -
Update README.md
Verified signature7df9c7c -
Update README.md
Verified signatureffc6bf7 -
Update README.md
Verified signature71ab185 -
Update README.md
Verified signature1a32037 -
Upload tokenizer
Verified signature0901781 -
Upload ModernBertForSequenceClassification
Verified signature8b05176 -
initial commit
Verified signaturee4d59a9