generated_from_trainer base_model:gpt2-xl license:mit region:us
---
license: mit
base_model: gpt2-xl
tags:
- generated_from_trainer
model-index:
- name: custom
  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. -->

# custom

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

## 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: 0.001
- train_batch_size: 32
- eval_batch_size: 48
- seed: 42
- gradient_accumulation_steps: 2
- total_train_batch_size: 64
- optimizer: Adam with betas=(0.9,0.999) and epsilon=1e-08
- lr_scheduler_type: linear
- lr_scheduler_warmup_ratio: 0.05
- num_epochs: 3.0

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 1.5844        | 0.68  | 200  | 1.4102          |
| 1.4081        | 1.37  | 400  | 1.3670          |
| 1.3422        | 2.05  | 600  | 1.3424          |
| 1.2711        | 2.73  | 800  | 1.3310          |


### Framework versions

- Transformers 4.32.1
- Pytorch 2.0.1+cu118
- Datasets 2.14.4
- Tokenizers 0.13.3
