transformers tf gpt2 text-generation generated_from_keras_callback license:mit autotrain_compatible endpoints_compatible text-generation-inference region:us
---
license: mit
tags:
- generated_from_keras_callback
model-index:
- name: trReviews-ds
  results: []
---

<!-- This model card has been generated automatically according to the information Keras had access to. You should
probably proofread and complete it, then remove this comment. -->

# trReviews-ds

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:
- Train Loss: 5.5311
- Validation Loss: 5.5022
- Epoch: 5

## 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:
- optimizer: {'inner_optimizer': {'class_name': 'AdamWeightDecay', 'config': {'name': 'AdamWeightDecay', 'learning_rate': {'class_name': 'WarmUp', 'config': {'initial_learning_rate': 5e-05, 'decay_schedule_fn': {'class_name': 'PolynomialDecay', 'config': {'initial_learning_rate': 5e-05, 'decay_steps': 10239, 'end_learning_rate': 0.0, 'power': 1.0, 'cycle': False, 'name': None}, '__passive_serialization__': True}, 'warmup_steps': 1000, 'power': 1.0, 'name': None}}, 'decay': 0.0, 'beta_1': 0.9, 'beta_2': 0.999, 'epsilon': 1e-08, 'amsgrad': False, 'weight_decay_rate': 0.01}}, 'dynamic': True, 'initial_scale': 32768.0, 'dynamic_growth_steps': 2000}
- training_precision: mixed_float16

### Training results

| Train Loss | Validation Loss | Epoch |
|:----------:|:---------------:|:-----:|
| 6.3087     | 5.5022          | 0     |
| 5.5310     | 5.5022          | 1     |
| 5.5308     | 5.5022          | 2     |
| 5.5310     | 5.5022          | 3     |
| 5.5312     | 5.5022          | 4     |
| 5.5311     | 5.5022          | 5     |


### Framework versions

- Transformers 4.25.0.dev0
- TensorFlow 2.10.0
- Datasets 2.7.1.dev0
- Tokenizers 0.12.1
