transformers safetensors gpt2 text-generation autotrain_compatible text-generation-inference endpoints_compatible 4-bit bitsandbytes region:us
---
{}
---
Quantization made by Richard Erkhov.

[Github](https://github.com/RichardErkhov)

[Discord](https://discord.gg/pvy7H8DZMG)

[Request more models](https://github.com/RichardErkhov/quant_request)


gpt2-multi-news - bnb 4bits
- Model creator: https://huggingface.co/Ssarion/
- Original model: https://huggingface.co/Ssarion/gpt2-multi-news/




Original model description:
---
license: mit
tags:
- summarization
- generated_from_trainer
datasets:
- multi_news
base_model: gpt2
model-index:
- name: gpt2-multi-news
  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-multi-news

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

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

### Training results

| Training Loss | Epoch | Step | Validation Loss |
|:-------------:|:-----:|:----:|:---------------:|
| 2.7978        | 1.0   | 1250 | 2.6300          |


### Framework versions

- Transformers 4.28.0
- Pytorch 2.0.0+cu117
- Datasets 2.12.0
- Tokenizers 0.13.3


