metadata
license: mit
base_model: gpt2
tags:
- generated_from_trainer
model-index:
- name: gpt2-finetuned
results: []
gpt2-finetuned
This model is a fine-tuned version of gpt2 on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.5616
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: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_steps: 500
- num_epochs: 3
Training results
Training Loss | Epoch | Step | Validation Loss |
---|---|---|---|
1.1522 | 0.4 | 500 | 0.6342 |
0.6443 | 0.8 | 1000 | 0.6011 |
0.6042 | 1.2 | 1500 | 0.5842 |
0.586 | 1.59 | 2000 | 0.5752 |
0.5653 | 1.99 | 2500 | 0.5677 |
0.5534 | 2.39 | 3000 | 0.5653 |
0.5511 | 2.79 | 3500 | 0.5616 |
Framework versions
- Transformers 4.35.2
- Pytorch 2.1.1+cu121
- Datasets 2.15.0
- Tokenizers 0.15.0