--- 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](https://huggingface.co/gpt2) on an unknown dataset. It achieves the following results on the evaluation set: - Loss: 0.4615 ## 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.0016 | 0.2 | 500 | 0.5535 | | 0.5665 | 0.4 | 1000 | 0.5245 | | 0.545 | 0.6 | 1500 | 0.5085 | | 0.528 | 0.8 | 2000 | 0.4968 | | 0.5181 | 1.0 | 2500 | 0.4889 | | 0.4931 | 1.2 | 3000 | 0.4844 | | 0.4961 | 1.39 | 3500 | 0.4779 | | 0.4886 | 1.59 | 4000 | 0.4754 | | 0.4815 | 1.79 | 4500 | 0.4704 | | 0.4794 | 1.99 | 5000 | 0.4687 | | 0.4672 | 2.19 | 5500 | 0.4665 | | 0.4642 | 2.39 | 6000 | 0.4650 | | 0.4628 | 2.59 | 6500 | 0.4637 | | 0.462 | 2.79 | 7000 | 0.4625 | | 0.4595 | 2.99 | 7500 | 0.4615 | ### Framework versions - Transformers 4.35.2 - Pytorch 2.1.1+cu121 - Datasets 2.15.0 - Tokenizers 0.15.0