CoolFace
Modelpublic

paulo037/longformer-schema-linking

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes5downloads
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-schema-linking

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.1273
  • Accuracy: 0.9652
  • F1: 0.9354
  • Precision: 0.9325
  • Recall: 0.9383

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: 32
  • evalbatchsize: 64
  • seed: 42
  • optimizer: Use OptimizerNames.ADAMWTORCH with betas=(0.9,0.999) and epsilon=1e-08 and optimizerargs=No additional optimizer arguments
  • lrschedulertype: linear
  • lrschedulerwarmup_steps: 200
  • num_epochs: 2

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.49730.22514000.26960.93030.85520.96880.7654
0.28650.45028000.18390.95020.90200.95830.8519
0.22340.675312000.10780.96350.93370.91180.9568
0.18290.900416000.11480.96350.93250.92680.9383
0.15061.125520000.13390.97010.94480.93900.9506
0.13151.350624000.10940.96520.93620.92220.9506
0.12081.575728000.13120.96350.93170.93750.9259
0.10711.800832000.12730.96520.93540.93250.9383

Framework versions

  • Transformers 4.47.1
  • Pytorch 2.5.1+cu121
  • Datasets 3.2.0
  • Tokenizers 0.21.0