How to use from the
Use from the
Transformers library
# Use a pipeline as a high-level helper
from transformers import pipeline

pipe = pipeline("text-classification", model="Maliru/ModernBERT-base-dnd")
# Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification

tokenizer = AutoTokenizer.from_pretrained("Maliru/ModernBERT-base-dnd")
model = AutoModelForSequenceClassification.from_pretrained("Maliru/ModernBERT-base-dnd")
Quick Links

Model Trained Using AutoTrain

  • Problem type: Text Classification

Validation Metrics

loss: 0.3741573393344879

f1: 0.8607718612603811

precision: 0.8555474629764506

recall: 0.8660604571147702

auc: 0.913952683363586

accuracy: 0.8293668612483162

Downloads last month
-
Safetensors
Model size
0.1B params
Tensor type
F32
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for Maliru/ModernBERT-base-dnd

Finetuned
(1274)
this model