longformer_best_model

This model is a fine-tuned version of allenai/longformer-base-4096 on an unknown dataset. It achieves the following results on the evaluation set:

  • Loss: 0.6012
  • Accuracy: 0.8372
  • Precision: 0.8443
  • Recall: 0.8193
  • F1: 0.8316

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: 2e-05
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMW_TORCH 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 Validation Loss Accuracy Precision Recall F1
0.4507 1.0 22233 0.4954 0.7706 0.7553 0.7875 0.7711
0.4513 2.0 44466 0.4579 0.7932 0.7783 0.8090 0.7933
0.4075 3.0 66699 0.4450 0.8066 0.7823 0.8392 0.8097
0.4149 4.0 88932 0.4322 0.8176 0.8154 0.8120 0.8137
0.2742 5.0 111165 0.4450 0.8210 0.8265 0.8039 0.8150
0.3334 6.0 133398 0.4725 0.8262 0.8254 0.8190 0.8222
0.2323 7.0 155631 0.5031 0.8293 0.8434 0.8008 0.8215
0.2097 8.0 177864 0.5324 0.8314 0.8378 0.8138 0.8256
0.1882 9.0 200097 0.5783 0.8357 0.8363 0.8269 0.8316
0.1289 10.0 222330 0.6012 0.8372 0.8443 0.8193 0.8316

Framework versions

  • Transformers 4.46.3
  • Pytorch 2.5.1+cu124
  • Datasets 3.1.0
  • Tokenizers 0.20.3
Downloads last month
5
Safetensors
Model size
148M params
Tensor type
F32
·
Inference Providers NEW
This model is not currently available via any of the supported Inference Providers.

Model tree for jeongseokoh/longformer_best_model

Finetuned
(98)
this model