Classifier Baseline
Collection
Classifier trained on the original dataset. • 3 items • Updated
How to use PracticalWork/ModernBERT-large-classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="PracticalWork/ModernBERT-large-classifier") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("PracticalWork/ModernBERT-large-classifier")
model = AutoModelForSequenceClassification.from_pretrained("PracticalWork/ModernBERT-large-classifier")This model is a fine-tuned version of answerdotai/ModernBERT-large on an unknown dataset. It achieves the following results on the evaluation set:
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | Accuracy | F1 |
|---|---|---|---|---|---|
| No log | 0 | 0 | 0.7754 | 0.4796 | 0.5011 |
| No log | 0.6006 | 188 | 0.3604 | 0.8633 | 0.7299 |
| No log | 1.2013 | 376 | 0.2724 | 0.8897 | 0.7844 |
| 0.2959 | 1.8019 | 564 | 0.2549 | 0.9073 | 0.8343 |
| 0.2959 | 2.4026 | 752 | 0.3005 | 0.9033 | 0.8274 |