CoolFace
Modelpublic

harshrtr07/legal-bert-cuad-risk-analyzer

sourceHugging Facecc-by-sa-4.0updated 2mo agoView on Hugging Face
0likes12downloads
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. -->

legal-bert-cuad-risk-analyzer

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: 3.3410
  • —F1: 0.0106

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: 2e-05
  • —trainbatchsize: 8
  • —evalbatchsize: 8
  • —seed: 42
  • —gradientaccumulationsteps: 2
  • —totaltrainbatch_size: 16
  • —optimizer: Use OptimizerNames.ADAMWTORCHFUSED with betas=(0.9,0.999) and epsilon=1e-08 and optimizer_args=No additional optimizer arguments
  • —lrschedulertype: linear
  • —num_epochs: 15

Training results

Training LossEpochStepValidation LossF1
No log1.03363.38800.0048
6.84082.06723.39210.0072
6.70623.010083.37800.0090
6.70624.013443.35910.0084
6.57195.016803.36210.0061
6.50016.020163.38280.0059
6.50017.023523.39700.0066
6.39048.026883.41400.0048
6.30429.030243.44170.0039
6.304210.033603.46310.0025
6.197811.036963.47380.0028
6.185212.040323.50270.0013
6.185213.043683.51940.0
6.108214.047043.52890.0012
6.071115.050403.53380.0011

Framework versions

  • —Transformers 5.13.1
  • —Pytorch 2.11.0+cu128
  • —Datasets 4.0.0
  • —Tokenizers 0.22.2