CoolFace
Modelpublic

zbigi/bart-base-summarization-medical_on_cnn-48

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes11downloads
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. -->

bart-base-summarization-medicaloncnn-48

This model is a fine-tuned version of facebook/bart-base on the None dataset. It achieves the following results on the evaluation set:

  • —Loss: 3.3893
  • —Rouge1: 0.2525
  • —Rouge2: 0.0944
  • —Rougel: 0.2
  • —Rougelsum: 0.2242
  • —Gen Len: 18.451

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

Training results

Training LossEpochStepValidation LossRouge1Rouge2RougelRougelsumGen Len
2.69011.012503.38690.25160.08840.19640.221819.066
2.60352.025003.37510.25160.09260.19750.223118.716
2.5643.037503.38180.25030.09260.19740.222118.501
2.52654.050003.38820.25050.09270.19790.221918.482
2.52075.062503.38810.25320.09460.20050.224718.394
2.53566.075003.38930.25250.09440.20.224218.451

Framework versions

  • —PEFT 0.12.0
  • —Transformers 4.42.4
  • —Pytorch 2.3.1+cu121
  • —Datasets 2.20.0
  • —Tokenizers 0.19.1