--- license: mit tags: - generated_from_trainer model-index: - name: gpt2_finetuned_SparC_Hugging_face results: [] --- # gpt2_finetuned_SparC_Hugging_face 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.9575 ## 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: 1e-05 - train_batch_size: 8 - eval_batch_size: 4 - seed: 42 - gradient_accumulation_steps: 4 - total_train_batch_size: 32 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 6 - mixed_precision_training: Native AMP ### Training results | Training Loss | Epoch | Step | Validation Loss | |:-------------:|:-----:|:----:|:---------------:| | 0.9133 | 1.0 | 95 | 0.9611 | | 0.9644 | 2.0 | 190 | 0.9500 | | 0.8763 | 3.0 | 285 | 0.9580 | | 0.8368 | 4.0 | 380 | 0.9509 | | 0.8647 | 5.0 | 475 | 0.9518 | | 0.865 | 6.0 | 570 | 0.9575 | ### Framework versions - Transformers 4.28.1 - Pytorch 2.0.0+cu118 - Datasets 2.11.0 - Tokenizers 0.13.3