pytorch gpt2 text-generation transformers generated_from_trainer license:apache-2.0 model-index
---
license: apache-2.0
tags:
- generated_from_trainer
model-index:
- name: distilgpt2-finetuned-wikitext2-agu
  results: []
---

<!-- This model card has been generated automatically according to the information the Trainer had access to. You
should probably proofread and complete it, then remove this comment. -->

# distilgpt2-finetuned-wikitext2-agu

This model is a fine-tuned version of [distilgpt2](https://huggingface.co/distilgpt2) on the None dataset.
It achieves the following results on the evaluation set:
- Loss: 3.3055

## 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: 2e-05
- train_batch_size: 32
- eval_batch_size: 32
- 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 |
|:-------------:|:-----:|:------:|:---------------:|
| 3.7357        | 1.0   | 13655  | 3.6781          |
| 3.5721        | 2.0   | 27310  | 3.5302          |
| 3.4961        | 3.0   | 40965  | 3.4658          |
| 3.4406        | 4.0   | 54620  | 3.4242          |
| 3.4043        | 5.0   | 68275  | 3.3943          |
| 3.3789        | 6.0   | 81930  | 3.3726          |
| 3.3576        | 7.0   | 95585  | 3.3538          |
| 3.3389        | 8.0   | 109240 | 3.3389          |
| 3.3151        | 9.0   | 122895 | 3.3270          |
| 3.314         | 5.0   | 136545 | 3.3226          |
| 3.3044        | 6.0   | 163854 | 3.3124          |
| 3.2931        | 7.0   | 191163 | 3.3078          |
| 3.2874        | 8.0   | 218472 | 3.3055          |


### Framework versions

- Transformers 4.18.0
- Pytorch 1.9.0+cu111
- Datasets 2.4.0
- Tokenizers 0.12.1
