Text Classification
Transformers
English
nli
natural-language-inference
modernbert
sentence-similarity
abstention
selective-prediction
Instructions to use jmccardle/modernbert-nli-heads with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use jmccardle/modernbert-nli-heads with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="jmccardle/modernbert-nli-heads")# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("jmccardle/modernbert-nli-heads", dtype="auto") - Notebooks
- Google Colab
- Kaggle
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!