CoolFace
Modelpublic

marmolpen3/lexglue-unfair-tos

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

lexglue-unfair-tos

This model is a fine-tuned version of bert-base-uncased on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0314
  • —Macro-f1: 0.7675
  • —Micro-f1: 0.9531

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: 3e-05
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 1
  • —optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • —lrschedulertype: linear
  • —num_epochs: 20.0
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossMacro-f1Micro-f1
0.09941.06920.04430.41000.9246
0.04532.013840.02810.58230.9384
0.02053.020760.02530.76390.9474
0.01334.027680.02650.75210.9462
0.00925.034600.02800.74300.9401
0.00626.041520.02780.76110.9488
0.00497.048440.02920.74920.9431
0.00328.055360.03140.76750.9531
0.00259.062280.03160.75490.9498
0.002210.069200.03470.74040.9481
0.001611.076120.03330.76280.9514

Framework versions

  • —Transformers 4.44.2
  • —Pytorch 2.1.2+cu121
  • —Datasets 3.0.2
  • —Tokenizers 0.19.1