CoolFace
Modelpublic

wiorz/legal_bert_small_defined_summarized

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

legalbertsmalldefinedsummarized

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

  • Loss: 1.4178
  • Accuracy: 0.87
  • Precision: 0.6
  • Recall: 0.2143
  • F1: 0.3158
  • D-index: 1.5771

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

Training results

Training LossEpochStepValidation LossAccuracyPrecisionRecallF1D-index
No log1.02000.40080.860.00.00.01.4803
No log2.04000.38710.860.00.00.01.4803
0.51793.06000.42930.870.6250.17860.27781.5635
0.51794.08000.67020.870.6250.17860.27781.5635
0.38165.010000.73880.8650.54550.21430.30771.5706
0.38166.012001.04220.860.50.17860.26321.5504
0.38167.014001.08040.8750.71430.17860.28571.5700
0.05678.016001.14900.8750.63640.250.35901.5970
0.05679.018001.31900.8650.55560.17860.27031.5570
0.012510.020001.42200.8350.39130.32140.35291.5718
0.012511.022001.35670.8550.47060.28570.35561.5845
0.012512.024001.33490.8750.71430.17860.28571.5700
0.002113.026001.34940.870.57140.28570.38101.6038
0.002114.028001.37470.870.60.21430.31581.5771
0.015.030001.38900.870.60.21430.31581.5771
0.016.032001.40690.8750.66670.21430.32431.5835
0.017.034001.41850.8750.66670.21430.32431.5835
0.018.036001.39450.8650.53850.250.34151.5840
0.019.038001.39210.870.60.21430.31581.5771
0.003720.040001.41780.870.60.21430.31581.5771

Framework versions

  • Transformers 4.28.0
  • Pytorch 2.0.1+cu118
  • Datasets 2.12.0
  • Tokenizers 0.13.3