--- base_model: gpt2 library_name: peft license: mit metrics: - accuracy tags: - generated_from_trainer model-index: - name: GPT-2-LORA-peft results: [] --- # GPT-2-LORA-peft 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.9035 - Accuracy: 0.2451 ## 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: 10 - eval_batch_size: 10 - seed: 42 - optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08 - lr_scheduler_type: linear - num_epochs: 8 ### Training results | Training Loss | Epoch | Step | Validation Loss | Accuracy | |:-------------:|:-----:|:----:|:---------------:|:--------:| | No log | 1.0 | 71 | 2.1070 | 0.2059 | | No log | 2.0 | 142 | 1.9541 | 0.2353 | | No log | 3.0 | 213 | 1.9301 | 0.2451 | | No log | 4.0 | 284 | 1.9179 | 0.2451 | | No log | 5.0 | 355 | 1.9116 | 0.2451 | | No log | 6.0 | 426 | 1.9067 | 0.2402 | | No log | 7.0 | 497 | 1.9041 | 0.2402 | | 2.1037 | 8.0 | 568 | 1.9035 | 0.2451 | ### Framework versions - PEFT 0.12.0 - Transformers 4.44.0 - Pytorch 2.4.0+cu124 - Datasets 2.21.0 - Tokenizers 0.19.1