CoolFace
Modelpublic

rendchevi/longformer-base-4096-pr

sourceHugging Faceapache-2.0updated 10mo agoView on Hugging Face
0likes15downloads
Model Card

<!-- This model card has been generated automatically according to the information the Trainer had access to. You should probably proofread and complete it, then remove this comment. -->

longformer-base-4096-pr

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

  • —Loss: 0.8896
  • —F1 Macro: 0.6189
  • —Precision: 0.6241
  • —Recall: 0.6289
  • —Accuracy: 0.7711

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
  • —trainbatchsize: 16
  • —evalbatchsize: 32
  • —seed: 42
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —lrschedulerwarmup_ratio: 0.1
  • —num_epochs: 20
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossF1 MacroPrecisionRecallAccuracy
No log1.02402.11010.32050.44400.37490.2669
No log2.04800.82680.57660.58560.60230.7399
1.89393.07200.81480.60600.60990.62940.7513
1.89394.09600.74590.62750.62660.63660.7680
0.92025.012000.80790.61220.62390.62620.7633
0.92026.014400.88960.61890.62410.62890.7711

Framework versions

  • —Transformers 4.57.1
  • —Pytorch 2.8.0+cu128
  • —Datasets 4.4.1
  • —Tokenizers 0.22.1