transformers safetensors gpt2 text-generation generated_from_trainer base_model:gpt2 license:mit autotrain_compatible endpoints_compatible text-generation-inference region:us
---
license: mit
base_model: gpt2
tags:
- generated_from_trainer
model-index:
- name: mm2024-M-20240303T113807
  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. -->

# mm2024-M-20240303T113807

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.1896

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

### Training results

| Training Loss | Epoch | Step   | Validation Loss |
|:-------------:|:-----:|:------:|:---------------:|
| 0.6908        | 0.24  | 15000  | 0.7593          |
| 0.3989        | 0.48  | 30000  | 0.5563          |
| 0.2775        | 0.72  | 45000  | 0.4334          |
| 0.2027        | 0.96  | 60000  | 0.3548          |
| 0.1499        | 1.2   | 75000  | 0.2993          |
| 0.1201        | 1.44  | 90000  | 0.2733          |
| 0.1025        | 1.68  | 105000 | 0.2520          |
| 0.0914        | 1.92  | 120000 | 0.2354          |
| 0.0828        | 2.16  | 135000 | 0.2283          |
| 0.0775        | 2.4   | 150000 | 0.2185          |
| 0.0736        | 2.64  | 165000 | 0.2097          |
| 0.0698        | 2.88  | 180000 | 0.2045          |
| 0.0661        | 3.12  | 195000 | 0.2003          |
| 0.064         | 3.36  | 210000 | 0.1994          |
| 0.0622        | 3.6   | 225000 | 0.1974          |
| 0.0606        | 3.84  | 240000 | 0.1944          |
| 0.0579        | 4.08  | 255000 | 0.1913          |
| 0.0567        | 4.32  | 270000 | 0.1910          |
| 0.0558        | 4.56  | 285000 | 0.1910          |
| 0.055         | 4.8   | 300000 | 0.1896          |


### Framework versions

- Transformers 4.38.2
- Pytorch 2.2.1+cu121
- Datasets 2.18.0
- Tokenizers 0.15.2
