metadata
license: apache-2.0
base_model: Salesforce/codet5-base
tags:
- code-generation
- generated_from_trainer
metrics:
- rouge
- bleu
model-index:
- name: codeT5-finetuned-cXg-nl-to-code
results: []
codeT5-finetuned-cXg-nl-to-code
This model is a fine-tuned version of Salesforce/codet5-base on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.4358
- Rouge1: 0.3457
- Rouge2: 0.1202
- Rougel: 0.3148
- Bleu: 12.8425
- Meteor: 0.3899
- Codebleu: 0.1722
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
- train_batch_size: 6
- eval_batch_size: 12
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 12
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 3
- mixed_precision_training: Native AMP
Training results
Framework versions
- Transformers 4.42.4
- Pytorch 2.3.1+cu121
- Datasets 2.20.0
- Tokenizers 0.19.1