CoolFace
Modelpublic

QuentinKemperino/ECHR_test_2

sourceHugging Facecc-by-sa-4.0updated 4y agoView on Hugging Face
1likes43downloads
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. -->

ECHRtest2 Task A

This model is a fine-tuned version of nlpaueb/legal-bert-base-uncased on the lex_glue dataset. It achieves the following results on the evaluation set:

  • Loss: 0.1998
  • Macro-f1: 0.5295
  • Micro-f1: 0.6157

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

Training results

Training LossEpochStepValidation LossMacro-f1Micro-f1
0.21420.445000.28870.23910.4263
0.1720.8910000.26720.29080.4628
0.17371.3315000.26120.36570.5102
0.15811.7820000.24120.39580.5468
0.15092.2225000.22640.39500.5552
0.16062.6730000.23420.40060.5511
0.14913.1135000.21760.45580.5622
0.13923.5640000.24540.41280.5596
0.154.045000.21130.46840.5874
0.14614.4450000.21790.46310.5815
0.14574.8955000.21510.48050.5949
0.14435.3360000.21550.51230.5917
0.12795.7865000.21310.49150.5998
0.13776.2270000.22440.47050.5944
0.12426.6775000.21500.50890.5918
0.12227.1180000.20450.48010.5981
0.13727.5685000.20740.53170.5962
0.12898.090000.20350.53230.6126
0.12958.4495000.20580.52130.6073
0.1238.89100000.20270.54860.6135
0.13359.33105000.19840.54420.6249
0.12589.78110000.19980.52950.6157

Framework versions

  • Transformers 4.19.2
  • Pytorch 1.11.0+cu113
  • Datasets 2.2.2
  • Tokenizers 0.12.1