CoolFace
Modelpublic

aiyaanqaiser/legal_summarizer

sourceHugging Facemitupdated 1y agoView on Hugging Face
0likes4downloads
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. -->

legalbartlarge_cnn

This model is a fine-tuned version of facebook/bart-large-cnn on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 2.2520
  • —Rouge1: 0.489
  • —Rouge2: 0.2433
  • —Rougel: 0.3262
  • —Rougelsum: 0.3267
  • —Gen Len: 137.2973

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

Training results

Training LossEpochStepValidation LossRouge1Rouge2RougelRougelsumGen Len
No log1.03522.31270.48310.23720.31950.3198136.5541
2.48982.07042.26270.48830.24320.32570.326136.9211
2.35833.010562.25200.4890.24330.32620.3267137.2973

Framework versions

  • —PEFT 0.11.1
  • —Transformers 4.41.2
  • —Pytorch 2.3.0+cu121
  • —Datasets 2.20.0
  • —Tokenizers 0.19.1