CoolFace
Modelpublic

QuentinKemperino/ECHR_test_2_task_B

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

ECHRtest2taskB

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.2092
  • —Macro-f1: 0.5250
  • —Micro-f1: 0.6190

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.21190.445000.29450.26370.4453
0.17020.8910000.27340.32460.4843
0.17361.3315000.26330.37250.5133
0.15711.7820000.25490.39420.5417
0.14762.2225000.23480.41870.5649
0.15992.6730000.24270.42860.5606
0.14813.1135000.22100.46640.5780
0.14123.5640000.25420.43620.5617
0.15054.045000.22490.47280.5863
0.14254.4450000.23110.45760.5845
0.14614.8955000.22610.45900.5832
0.14515.3360000.22480.47380.5901
0.12815.7865000.23170.46410.5896
0.13546.2270000.23660.46390.5946
0.12046.6775000.23110.48750.5877
0.12297.1180000.20830.48150.6020
0.13687.5685000.21700.52130.6021
0.12888.090000.21360.53360.6176
0.12758.4495000.21800.52040.6082
0.12328.89100000.21470.53340.6083
0.13199.33105000.21210.53120.6186
0.12679.78110000.20920.52500.6190

Framework versions

  • —Transformers 4.20.1
  • —Pytorch 1.11.0+cu113
  • —Datasets 2.3.2
  • —Tokenizers 0.12.1