matiashoyl's picture
Model save
ef85430 verified
metadata
library_name: transformers
license: apache-2.0
base_model: answerdotai/ModernBERT-base
tags:
  - generated_from_trainer
metrics:
  - accuracy
  - f1
model-index:
  - name: modernbert-user-52913
    results: []

modernbert-user-52913

This model is a fine-tuned version of answerdotai/ModernBERT-base on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 0.7142
  • Accuracy: 0.8182
  • F1: 0.7876

Model description

More information needed

Intended uses & limitations

More information needed

Training and evaluation data

More information needed

Training procedure

Training hyperparameters

The following hyperparameters were used during training:

  • learning_rate: 5e-05
  • train_batch_size: 4
  • eval_batch_size: 4
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH_FUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • lr_scheduler_type: linear
  • num_epochs: 10

Training results

Training Loss Epoch Step Accuracy F1 Validation Loss
0.6645 1.0 109 0.8091 0.7237 0.5220
0.6789 2.0 218 0.8091 0.7237 0.6656
0.5325 3.0 327 0.8091 0.7237 0.5110
0.4356 4.0 436 0.8091 0.7394 0.5661
0.548 5.0 545 0.8182 0.7583 0.6260
0.5922 6.0 654 0.8182 0.7583 0.5418
0.4884 7.0 763 0.8182 0.7794 0.7126
0.4096 8.0 872 0.8 0.7741 0.6273
0.5084 9.0 981 0.8182 0.7876 0.7142
0.3081 10.0 1090 0.8 0.7808 0.7097

Framework versions

  • Transformers 4.48.0.dev0
  • Pytorch 2.6.0
  • Datasets 3.3.1
  • Tokenizers 0.21.0