--- license: mit tags: - generated_from_trainer model-index: - name: gpt2-shakespeare results: [] --- # gpt2-shakespeare 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: 2.0345 ## 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: 32 - eval_batch_size: 64 - 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 | |:-------------:|:-----:|:----:|:---------------:| | 3.0017 | 0.53 | 500 | 2.3115 | | 2.5821 | 1.05 | 1000 | 2.1626 | | 2.4551 | 1.58 | 1500 | 2.0962 | | 2.4095 | 2.1 | 2000 | 2.0540 | | 2.3576 | 2.63 | 2500 | 2.0345 | ### Framework versions - Transformers 4.26.1 - Pytorch 1.13.1+cu116 - Datasets 2.9.0 - Tokenizers 0.13.2