Zero-Shot Classification
Transformers
Safetensors
English
modernbert
text-classification
instruct
natural-language-inference
nli
mnli
Instructions to use tasksource/ModernBERT-base-nli with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use tasksource/ModernBERT-base-nli with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("zero-shot-classification", model="tasksource/ModernBERT-base-nli")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("tasksource/ModernBERT-base-nli") model = AutoModelForSequenceClassification.from_pretrained("tasksource/ModernBERT-base-nli") - Inference
- Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -20,7 +20,7 @@ tags:
|
|
| 20 |
ModernBERT multi-task fine-tuned on tasksource NLI tasks, including MNLI, ANLI, SICK, WANLI, doc-nli, LingNLI, FOLIO, FOL-NLI, LogicNLI, Label-NLI and all datasets in the below table).
|
| 21 |
This is the equivalent of an "instruct" version.
|
| 22 |
|
| 23 |
-
Test accuracy at 100k training steps.
|
| 24 |
|
| 25 |
| test_name | test_accuracy |
|
| 26 |
|:-------------------------------------|----------------:|
|
|
|
|
| 20 |
ModernBERT multi-task fine-tuned on tasksource NLI tasks, including MNLI, ANLI, SICK, WANLI, doc-nli, LingNLI, FOLIO, FOL-NLI, LogicNLI, Label-NLI and all datasets in the below table).
|
| 21 |
This is the equivalent of an "instruct" version.
|
| 22 |
|
| 23 |
+
Test accuracy at 100k training steps. 215k steps version coming december 24th.
|
| 24 |
|
| 25 |
| test_name | test_accuracy |
|
| 26 |
|:-------------------------------------|----------------:|
|