metadata
license: mit
base_model: gpt2
tags:
- Code Generation
- Text Generation
- generated_from_trainer
metrics:
- rouge
- bleu
model-index:
- name: gpt2-finetuned-cXg-nl-to-code
results: []
gpt2-finetuned-cXg-nl-to-code
This model is a fine-tuned version of gpt2 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 6.4614
- Rouge1: 0.0220
- Rouge2: 0.0014
- Rougel: 0.0148
- Bleu: 0.3339
- Meteor: 0.0862
- Codebleu: 0.2699
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: 4
- eval_batch_size: 4
- seed: 42
- 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