nyu-mll/glue
Viewer • Updated • 1.49M • 421k • 510
How to use Jsevisal/ModernBERT_qnli with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="Jsevisal/ModernBERT_qnli") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("Jsevisal/ModernBERT_qnli")
model = AutoModelForSequenceClassification.from_pretrained("Jsevisal/ModernBERT_qnli")This model is a fine-tuned version of answerdotai/ModernBERT-base on GLUE/QNLI dataset. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy Score |
|---|---|---|---|---|
| 0.2794 | 1.0 | 3274 | 0.1853 | 0.9268 |
| 0.1024 | 2.0 | 6548 | 0.2094 | 0.9325 |
Base model
answerdotai/ModernBERT-base