CoolFace
Modelpublic

LibrAI/longformer-harmful-ro

sourceHugging Faceapache-2.0updated 3y agoView on Hugging Face
2likes1.3kdownloads
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-harmful-ro

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.0102
  • Accuracy: 0.996
  • Precision: 0.998
  • Recall: 0.955
  • F1: 0.975

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

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1
No log1.0890.09720.9780.9890.750.828
No log2.01780.03370.9860.9930.8410.902
No log3.02670.01020.9960.9980.9550.975

Framework versions

  • Transformers 4.31.0
  • Pytorch 2.0.1+cu118
  • Datasets 2.14.0
  • Tokenizers 0.13.3