CoolFace
Modelpublic

JakeClark/longformer-base-4096-finetuned-smartcontract

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-base-4096-finetuned-smartcontract

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.1021
  • F1: 0.9526
  • Roc Auc: 0.9662
  • Accuracy: 0.7676

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: 1
  • evalbatchsize: 1
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lrschedulertype: linear
  • num_epochs: 5

Training results

Training LossEpochStepValidation LossF1Roc AucAccuracy
0.17521.0143830.16950.89650.92090.5820
0.14542.0287660.14530.92210.94330.6598
0.09893.0431490.12650.93510.95230.7082
0.09084.0575320.10910.94700.96120.7476
0.05955.0719150.10210.95260.96620.7676

Framework versions

  • Transformers 4.44.0
  • Pytorch 2.4.0
  • Datasets 2.21.0
  • Tokenizers 0.19.1