transformers pytorch tensorboard gpt2 text-generation generated_from_trainer base_model:distilgpt2 license:apache-2.0 autotrain_compatible endpoints_compatible text-generation-inference region:us
---
license: apache-2.0
base_model: distilgpt2
tags:
- generated_from_trainer
model-index:
- name: distilgpt2_finetuneWithEli5
  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_finetuneWithEli5

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

## 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: 8
- eval_batch_size: 8
- seed: 42
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- num_epochs: 4

### Training results

| Training Loss | Epoch | Step   | Validation Loss |
|:-------------:|:-----:|:------:|:---------------:|
| 3.588         | 1.0   | 47205  | 3.6163          |
| 3.5156        | 2.0   | 94410  | 3.5849          |
| 3.4875        | 3.0   | 141615 | 3.5699          |
| 3.4634        | 4.0   | 188820 | 3.5646          |


### Framework versions

- Transformers 4.31.0
- Pytorch 2.0.1+cu117
- Datasets 2.14.4
- Tokenizers 0.13.3
