transformers pytorch gpt2 text-generation summarization generated_from_trainer license:mit autotrain_compatible text-generation-inference endpoints_compatible region:us
---
license: mit
tags:
- summarization
- generated_from_trainer
model-index:
- name: gpt2-finetuned-cnn-summarization-v2
  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. -->

# gpt2-finetuned-cnn-summarization-v2

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: 2.1684

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

### Training results

| Training Loss | Epoch | Step  | Validation Loss |
|:-------------:|:-----:|:-----:|:---------------:|
| 2.1919        | 1.0   | 5742  | 2.1597          |
| 2.0192        | 2.0   | 11484 | 2.1627          |
| 1.9587        | 3.0   | 17226 | 2.1684          |


### Framework versions

- Transformers 4.24.0
- Pytorch 1.12.1+cu113
- Datasets 2.7.1
- Tokenizers 0.13.2
