--- license: mit base_model: gpt2 tags: - generated_from_trainer model-index: - name: TinyStoriesProject results: [] --- # TinyStoriesProject 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: 1.2720 ## 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: 0.0005 - train_batch_size: 32 - eval_batch_size: 32 - seed: 42 - gradient_accumulation_steps: 8 - total_train_batch_size: 256 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: cosine - lr_scheduler_warmup_steps: 100 - num_epochs: 1 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 3.0951 | 0.06 | 500 | 1.9998 | | 1.8826 | 0.13 | 1000 | 1.7193 | | 1.7001 | 0.19 | 1500 | 1.6084 | | 1.6066 | 0.25 | 2000 | 1.5351 | | 1.5464 | 0.32 | 2500 | 1.4854 | | 1.5006 | 0.38 | 3000 | 1.4462 | | 1.4655 | 0.44 | 3500 | 1.4129 | | 1.4302 | 0.51 | 4000 | 1.3839 | | 1.4034 | 0.57 | 4500 | 1.3579 | | 1.3781 | 0.63 | 5000 | 1.3341 | | 1.3552 | 0.7 | 5500 | 1.3132 | | 1.3342 | 0.76 | 6000 | 1.2972 | | 1.3201 | 0.82 | 6500 | 1.2837 | | 1.3096 | 0.89 | 7000 | 1.2756 | | 1.3031 | 0.95 | 7500 | 1.2720 | ### Framework versions - Transformers 4.35.2 - Pytorch 2.1.0+cu118 - Datasets 2.15.0 - Tokenizers 0.15.0