argilla/synthetic-domain-text-classification
Viewer • Updated • 1k • 154 • 5
How to use argilla/ModernBERT-domain-classifier with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="argilla/ModernBERT-domain-classifier") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("argilla/ModernBERT-domain-classifier")
model = AutoModelForSequenceClassification.from_pretrained("argilla/ModernBERT-domain-classifier")This model is a fine-tuned version of answerdotai/ModernBERT-base on an unknown dataset. It achieves the following results on the evaluation set:
More information needed
More information needed
More information needed
The following hyperparameters were used during training:
| Training Loss | Epoch | Step | Validation Loss | F1 |
|---|---|---|---|---|
| No log | 1.0 | 29 | 0.7298 | 0.7744 |
| No log | 2.0 | 58 | 0.4369 | 0.8311 |
| No log | 3.0 | 87 | 0.6091 | 0.8399 |
| 0.7663 | 4.0 | 116 | 0.4352 | 0.8798 |
| 0.7663 | 5.0 | 145 | 0.3927 | 0.8914 |
Base model
answerdotai/ModernBERT-base