DunnBC22's picture
update model card README.md
348c6c0
|
raw
history blame
No virus
1.89 kB
metadata
license: apache-2.0
tags:
  - generated_from_trainer
metrics:
  - rouge
model-index:
  - name: codet5-small-Generate_Docstrings_for_Python-Condensed
    results: []

codet5-small-Generate_Docstrings_for_Python-Condensed

This model is a fine-tuned version of Salesforce/codet5-small on the None dataset. It achieves the following results on the evaluation set:

  • Loss: 2.1444
  • Rouge1: 0.3828
  • Rouge2: 0.2214
  • Rougel: 0.3583
  • Rougelsum: 0.3661
  • Gen Len: 12.6656

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
  • train_batch_size: 16
  • eval_batch_size: 16
  • seed: 42
  • optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
  • lr_scheduler_type: linear
  • num_epochs: 4

Training results

Training Loss Epoch Step Validation Loss Rouge1 Rouge2 Rougel Rougelsum Gen Len
2.9064 1.0 965 2.3096 0.3695 0.2098 0.3464 0.3529 11.7285
2.4836 2.0 1930 2.2051 0.38 0.2176 0.3554 0.3635 12.9401
2.3669 3.0 2895 2.1548 0.3842 0.2219 0.3595 0.3674 13.0029
2.3254 4.0 3860 2.1444 0.3828 0.2214 0.3583 0.3661 12.6656

Framework versions

  • Transformers 4.26.1
  • Pytorch 1.12.1
  • Datasets 2.9.0
  • Tokenizers 0.12.1