Team Ai
Modelpublic

colelavigne/t5-docstring-generator

sourceHugging Faceapache-2.0updated 11mo 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. -->

t5-docstring-generator

This model is a fine-tuned version of t5-small on an unknown dataset. It achieves the following results on the evaluation set:

  • —Loss: 0.0429
  • —Rouge1: 70.6689
  • —Rouge2: 69.5116
  • —Rougel: 70.6656
  • —Rougelsum: 70.7763

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: 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: 3
  • —mixedprecisiontraining: Native AMP

Training results

Training LossEpochStepValidation LossRouge1Rouge2RougelRougelsum
No log1.03130.060170.249769.015370.195470.3598
0.2052.06260.045670.614669.449470.606470.7264
0.2053.09390.042970.668969.511670.665670.7763

Framework versions

  • —Transformers 4.57.1
  • —Pytorch 2.8.0+cu126
  • —Datasets 4.0.0
  • —Tokenizers 0.22.1