CoolFace
Modelpublic

AriyanH22/framing_classification_longformer_50

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes10downloads
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. -->

framingclassificationlongformer_50

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.3739
  • Accuracy: 0.9332
  • F1: 0.9608
  • Precision: 0.9394
  • Recall: 0.9832

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: 50

Training results

Training LossEpochStepValidation LossAccuracyF1PrecisionRecall
0.80781.051520.84130.83230.90850.83231.0
0.79982.0103040.82790.83230.90850.83231.0
0.90313.0154560.92040.83230.90850.83231.0
0.78054.0206080.82590.83230.90850.83231.0
0.87755.0257600.80780.83230.90850.83231.0
0.72486.0309120.75870.83230.90850.83231.0
0.82827.0360640.77370.83230.90850.83231.0
0.7748.0412160.82830.83230.90850.83231.0
0.8029.0463680.79680.83230.90850.83231.0
0.845810.0515200.85910.83230.90850.83231.0
0.792311.0566720.85260.83230.90850.83231.0
0.843512.0618240.80760.83230.90850.83231.0
0.823913.0669760.81520.83230.90850.83231.0
0.775114.0721280.82800.83230.90850.83231.0
0.798415.0772800.83580.83230.90850.83231.0
0.835916.0824320.84710.83230.90850.83231.0
0.983117.0875840.80890.83230.90850.83231.0
0.905118.0927360.80940.83230.90850.83231.0
0.933719.0978880.82960.83230.90850.83231.0
0.956520.01030400.80210.83230.90850.83231.0
0.849421.01081920.84050.83230.90850.83231.0
0.82222.01133440.84810.83230.90850.83231.0
0.85623.01184960.81940.83230.90850.83231.0
0.889224.01236480.83940.83230.90850.83231.0
0.781625.01288000.70350.86490.92450.86390.9944
0.634926.01339520.64520.87730.93090.87640.9925
0.687227.01391040.64400.88200.93310.88330.9888
0.745228.01442560.55780.83230.90850.83231.0
0.642529.01494080.47120.83230.90850.83231.0
0.670530.01545600.64470.88660.93570.88650.9907
0.574831.01597120.40630.92390.95530.93400.9776
0.654332.01648640.47530.90990.94820.90920.9907
0.537633.01700160.47820.90990.94820.90920.9907
0.689534.01751680.43830.91770.95240.91850.9888
0.586735.01803200.49700.91300.94970.91520.9869
0.709236.01854720.47190.91770.95210.92290.9832
0.656137.01906240.47630.91460.95080.91390.9907
0.569338.01957760.39470.93010.95910.93450.9851
0.432139.02009280.46320.91610.95030.93820.9627
0.515640.02060800.40120.93010.95930.92990.9907
0.527941.02112320.45580.92240.95500.92190.9907
0.548942.02163840.44380.91930.95320.92010.9888
0.558643.02215360.44690.91770.95260.91570.9925
0.57544.02266880.43100.92700.95690.94050.9739
0.458945.02318400.41170.93010.95910.93450.9851
0.401246.02369920.45010.92390.95530.93560.9757
0.539547.02421440.39890.93170.960.93620.9851
0.500948.02472960.37390.93320.96080.93940.9832
0.535649.02524480.38050.93480.96170.93950.9851
0.572950.02576000.38330.93480.96170.93950.9851

Framework versions

  • Transformers 4.32.0.dev0
  • Pytorch 2.0.1
  • Datasets 2.14.4
  • Tokenizers 0.13.3