davanstrien/arxiv-new-datasets
Viewer β’ Updated β’ 3k β’ 35 β’ 5
How to use davanstrien/ModernBERT-base-is-new-arxiv-dataset with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="davanstrien/ModernBERT-base-is-new-arxiv-dataset") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("davanstrien/ModernBERT-base-is-new-arxiv-dataset")
model = AutoModelForSequenceClassification.from_pretrained("davanstrien/ModernBERT-base-is-new-arxiv-dataset", device_map="auto")This model is a fine-tuned version of answerdotai/ModernBERT-base on the davanstrien/arxiv-new-datasets 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 | Accuracy | F1 |
|---|---|---|---|---|---|
| 0.5181 | 1.0 | 300 | 0.4495 | 0.8333 | 0.8051 |
| 0.3804 | 2.0 | 600 | 0.3134 | 0.93 | 0.9268 |
| 0.3083 | 3.0 | 900 | 0.3407 | 0.9233 | 0.9192 |
| 0.2449 | 4.0 | 1200 | 0.3304 | 0.9367 | 0.9370 |
| 0.219 | 5.0 | 1500 | 0.3293 | 0.94 | 0.9377 |
| 0.2095 | 6.0 | 1800 | 0.3735 | 0.9283 | 0.9294 |
| 0.205 | 7.0 | 2100 | 0.3220 | 0.945 | 0.9439 |
| 0.2029 | 8.0 | 2400 | 0.3404 | 0.9367 | 0.9338 |
| 0.2 | 9.0 | 2700 | 0.3431 | 0.9333 | 0.9330 |
| 0.1989 | 10.0 | 3000 | 0.3286 | 0.9383 | 0.9377 |
| 0.1996 | 11.0 | 3300 | 0.3339 | 0.9383 | 0.9365 |
| 0.1986 | 12.0 | 3600 | 0.3295 | 0.9433 | 0.9419 |
Base model
answerdotai/ModernBERT-base