metadata
license: mit
base_model: gpt2-medium
tags:
- generated_from_trainer
model-index:
- name: gpt2-medium-finetuned-contract-gen
results: []
gpt2-medium-finetuned-contract-gen
This model is a fine-tuned version of gpt2-medium on an unknown dataset. It achieves the following results on the evaluation set:
- Loss: 0.3127
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: cosine_with_restarts
- lr_scheduler_warmup_steps: 241
- num_epochs: 4
Training results
Training Loss | Epoch | Step | Validation Loss |
---|---|---|---|
0.4744 | 0.21 | 1000 | 0.4736 |
0.467 | 0.41 | 2000 | 0.4146 |
0.4089 | 0.62 | 3000 | 0.3852 |
0.4018 | 0.83 | 4000 | 0.3688 |
0.3475 | 1.04 | 5000 | 0.3523 |
0.2751 | 1.24 | 6000 | 0.3434 |
0.2966 | 1.45 | 7000 | 0.3334 |
0.292 | 1.66 | 8000 | 0.3230 |
0.2899 | 1.87 | 9000 | 0.3200 |
0.2508 | 2.07 | 10000 | 0.3164 |
0.28 | 2.28 | 11000 | 0.3127 |
Framework versions
- Transformers 4.31.0
- Pytorch 2.0.1+cu118
- Datasets 2.14.2
- Tokenizers 0.13.3